Currently i'm working on Planned Order Creation IDOC wherein i need to create a posting prorgam by using a standard BAPI BAPI..... BAPI_PLANNEDORDER_CREATE. can anyone send me code for this requirement. The posting program shud contain the logic for populating control records, data records and status records into their respective internal tables. As i'm new to IDOC. please help. points will b rewarded to the correct answers.