Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

SD_SALESDOCUMENT_CREATE

former_member445996
Participant
0 Likes
462

Hi All,

I am trying to create a Sales Contract using FM SD_SALESDOCUMENT_CREATE. I have the following questions:

1). Do I need to specify the Line Item Numbers? If I don't need to then how does SAP know which line items in SALES_ITEMS_INX and SALES_SCHEDULES_IN tables are referring to the items in SALES_ITEMS_IN?

2). How do I add the pricing conditions? I see the table SALES_CONDITIONS_IN but what fields do I need to fill in?

Do I need to fill in the Step number, Condition Count, Condition Type, and Condition Value fields?

Any suggestions will be greatly appreciated.

Regards.

1 REPLY 1
Read only

Former Member
0 Likes
401

1. You do need to populate ITM_NUMBER to associate schedules with line items.

2. This depends on your pricing configuration to some degree. I would start with condition type and rate.