Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

BAPI Clarification..

Hi All,

I am novice to BAPI.

I wud like to create SO from BAPI_SALESORDER_CREATEFROMDAT2.

AS from documentation i come to know minimum we have to supply 'order header data (via ORDER_HEADER_IN structure)'and partner data (via the ORDER_PARTNERS table) as input parameters.

But i didnot find order_partners (this is mandatory for me to supply)in this FM.

and moreover i have to supply Creditcard info..i find some where we can supply it thru BAPICCARD structure..But where/how to supply these to BAPI_SALESORDER_CREATEFROMDAT2.

Thanks in advance.

Rgds,

Raja.

Tags:
replied

hi raja,

you already know that you have to use ORDNER_PARTNERS but don't "find" it?

this is in the table section as you can input different partners for the different roles. therefore it has to be a table.

the credit-card information also can be entered in the table section using ORDER_CCARD which is declarated as you already found like BAPICCARD.

so if i got your question right - just go to the funtion module and to tab-strip tables. there you are.

br,

matthias

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question