Hi,
For my FS I have designed the steps below:
1. Maintain customer for all the recipients of sample copies.
2. Maintain a Z table where user will maintain customers manually on the basis of publisher, quanntity etc.
3. Material ( book) will be picked from MARA table for,specific publisher and the materials which have flag ( MARA table-z field), system will check if the pub date= 1-31 of the current month, then system will search the access tables ( A tables) for a specific condition type ( ZPR0) representing selling price and check if the, condition value maintained in A tables for specific field combination is less than 50 .
4. FM: BaPI will be called for a specific order type. order type will be maintained in set
5. Once the above conditions will be satisfied , sales orders will be created.
After that a pseudo code will be written.
Simple!
Regards
Chandra