2010 Jun 14 11:05 AM
Hello Freinds,
Hello Freinds,
I am using BADI ME_PURCHDOC_POSTED method Posted for updating a ztable for the PO.
This BADI is getting called through ME21N and ME22N.
My problem is that when it gets called from ME21N, all the internal tables of EKKO, EKPO does not have PO numbers as it has not yet got created. I need to update the Ztable and hence I need the PO number.
Can anyone help me with a BADI which can give me the value of PO number in the creation mode itself.
Kindly help.
2010 Jun 14 12:23 PM
Hi,
In the structure within the BADI, IM_EKKO will contain the details which you can use for getting the PO Number. Check in debugging if you could get PO number from IM_EKKO-EBELN.
Regards,
Mansi.
Hello Freinds,
Hello Freinds,
I am using BADI ME_PURCHDOC_POSTED method Posted for updating a ztable for the PO.
This BADI is getting called through ME21N and ME22N.
My problem is that when it gets called from ME21N, all the internal tables of EKKO, EKPO does not have PO numbers as it has not yet got created. I need to update the Ztable and hence I need the PO number.
Can anyone help me with a BADI which can give me the value of PO number in the creation mode itself.
Kindly help.
2010 Jun 14 11:15 AM
parameter im_ekko will have the PO number.
did you check with a breakpoint ?
Edited by: Keshav.T on Jun 14, 2010 3:46 PM
2010 Jun 14 12:11 PM
Hi,
Please check the parameter im_ekko .
For BADI , ME_PURCHDOC_POSTED , As the name of the BAdI method implies we have already passed the posting of the document.
If you requirement is to modify the purchase order BEFORE posting then you should have a look at BAdI ME_PROCESS_PO_CUST.
Thanks and Regards,
P.Bharadwaj
Edited by: Bharadwaj p on Jun 14, 2010 1:16 PM
2010 Jun 14 12:23 PM
Hi,
In the structure within the BADI, IM_EKKO will contain the details which you can use for getting the PO Number. Check in debugging if you could get PO number from IM_EKKO-EBELN.
Regards,
Mansi.
2010 Jun 14 2:01 PM
Thanks.
I got the value of EKKO-EBELN in one field but I want data in table EKET and EKES too. right now only, ekko-ebeln is available and these two tables remain empty. Once the process is over then the data gets available in tables EKET and EKES.
I am not sure which BADI would give me data in all the tables viz EKKO,EKPO,EKES and EKET.
Please let me know.
2010 Jun 14 2:03 PM
Thanks.
I got the value of EKKO-EBELN in one field but I want data in table EKET and EKES too. right now only, ekko-ebeln is available and these two tables remain empty. Once the process is over then the data gets available in tables EKET and EKES.
I am not sure which BADI would give me data in all the tables viz EKKO,EKPO,EKES and EKET.
Please let me know
2010 Jun 14 2:06 PM
Thanks.
I got the value of EKKO-EBELN in one field but I want data in table EKET and EKES too. right now only, ekko-ebeln is available and these two tables remain empty. Once the process is over then the data gets available in tables EKET and EKES.
I am not sure which BADI would give me data in all the tables viz EKKO,EKPO,EKET and EKES.
Please let me know.
2010 Jun 15 6:13 AM
Thanks.
I got the value of EKKO-EBELN in one field but I want data in table EKET and EKES too. right now only, ekko-ebeln is available and these two tables remain empty. Once the process is over then the data gets available in tables EKET and EKES.
I am not sure which BADI would give me data in all the tables viz EKKO,EKPO,EKET and EKES.
Please let me know.
2010 Jun 15 6:31 AM
Hi,
Use the structures IM_EKPO - Line items, IM_EKET - Schedule LInes, IM_EKES - Confirmation Data in the BADI Method.
Regards
Vinod
2010 Jun 14 12:55 PM
| User | Count |
|---|---|
| 6 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |