on 05-31-2007 2:05 PM
Hi all.
I'm programing a batch imput to execute the ME21N for create a service PO.
It fills all fields standard (header, items, services, account asignment), but it doesnt recognize header customer fields, and this customer fields are mandatory.
What can be happend?
Regards.
Gregory.
Hello,
It is always advisable to make use of BAPI's for the creation of purchase orders.
And generally avoid the usage of BDC's for enjoy transactions.
Regards,
Sowmya.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I agree with previous posts, BAPI are better.
But did you try to use the non-enjoy transaction ME21.
Regards
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
Better to use the BAPI for PO creation
BAPI_PO_CREATE1
Reward points if useful
Regards
Anji
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi thx both, for the answer.
I already try with BAPI_PO_CREATE1 and I cant create the PO after 5 days of trying, my problem with this bapi is that i dont find the relationship between the tables poitem, poaccount, poservices and posrvaccessvalues, beacause of that i decide to try with the batch input.
Regards.
Gregory.
Hi Gregory,
Do not forget to fill poitemx, poaccountx and poservicex ... tables.
Also, if you do not know what to put in the tables for the BAPI, you can try to create a document with m21n, check what SAP fills EKBE,EKPO,EKET,EKKN .... tables, this will probably an idea ..
Batch input is not a good solution for enjoy transactions such as ME21N.
It would be easier to help if you could send us the "RETURN" table from the BAPI.
Thx for ur answers.
Saribas, of course I'm filling the tables that u say. I already create a doc by the transaction and see what are into the tables then i did try to reproduce this into my program and doesnt work. The return has the following:
W - Error transferring ExtensionIn data for enhancement CI_EKKODB
E - No instance of object type PurchaseOrder has been created. External reference:
E - Purchase order still contains faulty items
W - Start of validity period is in the past
E - No account assignment exists for service line 0000000001
I'm tryng to create two items and several services to each one, one item make account input to costcenters and the other to wbs.
Sowmya as i say before, i cant create the PO by the item, because of that I try with batch input.
Rob I will try me21.
Regards.
Gregory.
Hi, sorry about the delay.
I did run the me21n normally and save a document, then i look the regs in the tables ekko, ekpo, esll and eslh and note that I wasnt ceating a service with a subpackage. Doing this i get the error <b>No account asignment exists for service line</b> and without doiing this i get the error <b>In case of account asignment, please enter acc. asignment data for item</b>
Regards.
Gregory.
User | Count |
---|---|
99 | |
11 | |
11 | |
6 | |
6 | |
4 | |
4 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.