12-19-2011 3:17 AM
Hi,
I have developed a Z program for ME21N by using BAPI( BAPI_PO_CREATE1). When I executive it always shows
"Please enter items first. No instance of object type PurchaseOrder has been created. External reference: Document contains no items".
Would you suggest how can I solve this problem
Best Regards
Mahabub
12-19-2011 4:44 AM
Hi mahaboob,
Before creating Z program , first execute Function module itself in se37 by passing required parameters with help of functional consultant and if any errors occurs , functional consultant can easily idetifies and resolves it. After successfully execution, develop the Zprogram.
Place the parameters what you are passing , so that i can help you if you need.
Regards,
Ravi
12-19-2011 3:31 AM
i think you are creating POs without items or you havent mapped item table to BAPI...
regards
Prabhu
12-19-2011 3:49 AM
It means that you are creating PO without specifiying the Items, PO must contain atleast one items. You Check your POITEM table. whether contains data or not ?
12-19-2011 4:44 AM
Hi mahaboob,
Before creating Z program , first execute Function module itself in se37 by passing required parameters with help of functional consultant and if any errors occurs , functional consultant can easily idetifies and resolves it. After successfully execution, develop the Zprogram.
Place the parameters what you are passing , so that i can help you if you need.
Regards,
Ravi
12-27-2011 5:57 AM
Hi Ravi,
Thanks for your valuable suggestion. I have overcome this problem.
Regards
Mahabub