Current Position:Home > BADI ME_PROCESS_PO_CUST for changing header data

BADI ME_PROCESS_PO_CUST for changing header data

Update:10-11Source: network consolidation
Advertisement
Hello Experts,
I'm using Method PROCESS_HEADER in Badi ME_PROCESS_PO_CUST in order to change some header data.
I want to change header data depending on the partner data which are on header level.
It works fine as long as there are data changed in the header or item level and not only on the partner screen.
The method in this Badi isn't processed if only partner data are changed. But for me it is necessary to set a special field on the header depending on the partner data.
Regards,
Sven

The Best Answer

Advertisement
Hi,
Firstly, for changing Header data without any INSERT/UPDATE?MODIFY statement, badi - ME_PROCESS_PO_CUST  will not be useful.
As method you mentioned has no header parameters under CHANGING / EXPORTING clause.
You can use the badi which has the parametrs you want in either change/ Export mode. It can be defined under table also.
Below is the list of important badis gettign called, however none of them contains header values in change/export clause.
ME_CCP_ACTIVE_CHECK
MD_STOCK_TRANSFER
ME_DEFINE_CALCTYPE
ME_PO_PRICING
ME_FIELDSTATUS_STOCK
ME_COMMITMENT_STO_CH
ME_COMMITMNT_PARKING
ME_INFOREC_SEND
ME_CHECK_SOURCES
ME_PURCHDOC_POSTED
Instead you can use enhacement MM06E005  Customer fields in purchasing document.
Create a project under Transaction CMOD.
Assign enhancement as Project component.
You'll find Exit 012. At time of save you can change header im_ekko based on you parterner data tab.
Regards,
Amee.
  • BADI ME_PROCESS_PO_CUST for changing header data Update:10-11

    Hello Experts, I'm using Method PROCESS_HEADER in Badi ME_PROCESS_PO_CUST in order to change some header data. I want to change header data depending on the partner data which are on header level. It works fine as long as there are data changed in th

  • How to change delivery date (LFDAT) in  me57 item data Update:10-11

    hi , While  Creating purchase order  (me57)  . on the basis  of info rec   . i want to change  delivery date  by passing  info rec to table eine and get field aplfz  . then adding  aplfz to sysdate    and pass it to  Delivery date   . i have done thi

  • ME21N Copy header Z delivery date on to item level Update:11-30

    Dear Friends, We add one field for expected date of arrival in header of ME21n. My requirement is whenever we put this value and press enter it should reflect item level delivery date . How can we achive this thing. Any help will be highly Appricated

  • How To Prevent the Purchase Order from Holding! Update:10-11

    Hi Experts, We use the method CHECK in BADI ME_PROCESS_PO_CUST to check custom data in purchase order, if error occurs then some error messages will be issued. We use below statements to issue error messages and also set the PO invalidate: INCLUDE mm

  • Why is EXIT_SAPMM06E_017 triggered more done once por a PO line? Update:11-30

    Hi experts!! We have some code placed in EXIT_SAPMM06E_017 within a project. This code reads documents associated to the material in the PO line and writtes ( associates)  these documents to the PO line. We wanted this exit to trigger only once when

  • ME21N modification Update:11-30

    Hi experts, Please help me on this. I have modified me21n item overview table control with access key and added a field in table control, screen no. 1211. Added field is mepo1211-extwg (external material group). In the structure MEPO1211, I have adde

  • Error Message: Data from Business Add-In ME_PROCESS_PO_CUST not transferred Update:10-11

    Hi All, I have done a BADI implementation for ME_PROCESS_PO_CUST and when I try to convert a PR to PO using ME59N in ECC u2013 AFS System I am getting below error message. Data from Business Add-In ME_PROCESS_PO_CUST not transferred. I am trying to p

  • Custom tab data not saving in ME22N w/ BAdI ME_PROCESS_PO_CUST Update:10-11

    Hello all, I have implemented BAdis ME_PROCESS_PO_CUST & ME_GUI_PO_CUST and created a custom tab at the header level in ME21N/ME22N. I have fields such as Delivery Date and Ex Factory Date in my tab. We are able to put data in these fields and have t

  • Data from Business Add-In ME_PROCESS_PO_CUST not adopted Update:10-11

    Hi, I am trying to find out an exit or badi for Updating Tax Unit of Measure in transaction ME21n.( Auto Po Creation) The scenario is like this... The system assumes Base Unit of Measure for all its calculations. If the order UOM of a part happens to

  • ME_PROCESS_PO_CUST~PROCESS_ITEM Shipping data doesn't get populated Update:10-11

    Hi Gurus, I need your help to solve one issue while populating shipment data  via 'BAPI_PO_CREATE1' to create a PO I am populating poshipping[] and poshippingx[] with Route field and and also 'X' but the value I am passing it is overwritten by other