on 05-19-2009 11:44 AM
Hi Experts,
I need to post PO IR with BAPI_INCOMINGINVOICE_CREATE.
But I need change the profit segment of the PO item.
I can change the profit segment in MIRO, but I cannot find where I can pass the profit segment into BAPI_INCOMINGINVOICE_CREATE. Please help.
Thanks,
Urchin
Finally found out the solution, we can create a profit segment by calling COPA_PROFITABILITY_SEGMENT and then pass the PA segment number into the BAPI.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
HI,
Coould you please cross check the values that are used in the
ACCOUNTINGDATA & GLACCOUNTDATA information in BAPI.
Here the PS Acct Assignment related information will be tracked.
BR,
Rajani
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
HI Urchin,
Yes its possible, You can change COPA values whcih are replicated in CE4* table.
But you can not change using the PROFIT_SEGM_NO. The PROFIT_SEGM_NO will be generated after the document posting.
Let me know what are all the things you are trying to change accordingly i will guide you in detail process.
BR,
Rajani
Dear Rajani,
Thanks a lot.
We have included the field "customer" in the CE4 table.
When creating the PO, user has input the customer int he profit segment of the PO item.
However, user wants to split the amount into 2 different customers during IR.
I know that in the MIRO screen, we can change the account assignment and split the customers,
but I do not know how to do the same with the BAPI.
I need to provide an upload function for users to post PO IR,
if I cannot use BAPI, I cannot write the upload function.
Thanks,
Urchin
Hi,
For this requirement i am not sure about the BAPI.
For achieving the issue its better use the user exits mentioned below.
For COPA updation part:
EXIT_SAPLKEII_001 & EXIT_SAPLKEII_002.
As these two user exits are the final steps before generating COPA doc.
While updating the required data in the CE4* table use the FM: DB_UPDATE_TABLE
I hope this wil help your problem.
Regards,
Rajani
Hi,
Check in this structure BAPI_INCINV_CREATE_GL_ACCOUNT this structure is used in the BAPI "BAPI_INCOMINGINVOICE_CREATE" you have to pass your profit center and all account related details into this structure.
For more info please check the where used list of the same bapi
Regards
Laxmi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
7 | |
6 | |
4 | |
3 | |
3 | |
3 | |
3 | |
3 | |
2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.