Dear Experts ,
I am creating custom FM to create SO . Taking the reference from standard function module 'BAPI_SALESORDER_CREATEFROMDAT2' .
In import of 'BAPI_SALESORDER_CREATEFROMDAT2' , 'ORDER_HEADER_IN' contain 125 fields but i need only 5 fields. For that i created a structure and giving as import to my custom FM . In the source code of my custom FM i am calling 'BAPI_SALESORDER_CREATEFROMDAT2' and there i am giving custom structure as input to 'ORDER_HEADER_IN' . Then it is going to dump. Let me use your suggestions to solve this problem.
Thank you.