on 07-23-2009 6:17 AM
Hi,
I'm currently working on a program to create POs using BAPI_PO_CREATE. I have sucessfully created a PO calling this BAPI but unfortunately I'm having a problem getting the Output i.e. PO Number generated and the messages being returned.
Can anyone guide me on how to solve this? I have included Bapi_Po_Create_Input->Output->Return in the context and bind it
to a table. I also included Bapi_Po_Create_Input->Return->Purchaseorder and bind it to a TextView.
A button called Create executes the BAPI and it goes to a separate view with the above elements to display the return values but it doesn't work.
Thanks,
Mark
Hi mark,
U bind "Expppurchaseorder" attribute that will return purchase order number.
This attribute is available in output node.
Regards,
Sunaina Reddy T
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Check the BAPI, I Guess if the PO is successfully created then nothing will be returned in return node, the return node will be returning values when there will be some errors in creating PO like incorrect input parameters etc.,
Otherwise as suggested in the above post you can bind text field to the PONUMBER in the next view.
Regards
Raghu
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Markk
Check this link
http://www.sapdb.info/using-bapi-function-module/
This link gives BAPI_PO_Create as an example. This step by step guide teaches you as to how to create a Purchase order using BAPIu2019s through programming.
Hope link will help you
Regards
Ruturaj
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.