BADI ME_PROCESS_PO_CUST for changing header data
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
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.
Similar Messages
-
Need a BADI for Change Own Data Application to implement customer needs
Hi All,
I wanted to know the specific BADI which could be used for doing customer specific coding for 'Change Own Data" application.
Here the need is to do some business specific checks to suit the the customer needs
Best Regards,
SowmyaHi Sowmya,
We are also having same kind of requirement so I was wondering if you can help me with the kind of solution that you implemented. BADI name or Implementation code etc.,
Appreciate any inputs on this...
Thanks,
Rgds,
Lakshmi -
Hi all,
We are using the BADI, CHange Header Data (HRHAP00_ACC_HEADER--PART_APPER_ACCESS_2).
The selection screen button of 'further particpant'(others) is not enabled when the Change header data button is clicked.
we have created a filter and turn,
<i>s_header_cust_display-others = c_output_mode_change.</i>
If there is further participant, the selection screen button got enabled.And if furtherparticipant table is initial, the button is not enabled.
I want to enable the furtherparticipant button regardless of the table entry.How to do it?
Points assured for helpful answers.
Regards,
Jothi.PHi
<b>First read the documenatation of this BAPI in SE37 Transaction, by pressing F9 Key.
Also do a where-used list for this BAPI and then code accordingly.</b>
Hope this will help.
Please reward suitable points.
Regards
- Atul -
MIGO change header data before saving
Hi all,
I want to update header data (budat) before saving the material document with MIGO.
Has anybody an idea?
I tried with Badi: mb_document_badi or similar user-exit
MB_CF001 but with none of these I can CHANGE header data.
Is it possible?
Thanks a lot!check this
MB_DOCUMENT_UPDATE
regards
Prabhu -
USER EXIT FOR CHANGING POSTING DATE IN THE MATERIAL DOCUMENT
Hi,
Pls advise any USER EXIT FOR CHANGING POSTING DATE IN THE MATERIAL DOCUMENT.
Regards,Hi,
There is another user exit for updating material document data Upon posting is MB_CF001
I hope this will fullfill you.
Prem -
Reg. Exit/BADI for changing item data of PO in ME22N
Hi all,
My requirement is to update the field LABNR (Order Ack.) of few specific line items of a PO, in the Transaction ME22N, using Exit/BADI.
I have tried the BADI ME_PROCESS_PO_CUST. But the PROCESS_ITEM method of this BADI processes only the line item which has been changed/inserted in ME22N transaction. But my requirement is to update line items irrespective of whether that line item was "changed/not changed" during the process in ME22N screen.
Could you please suggest me some suitable Exit/BADI for this requirement.
Regards,
Anbarasan KThanks Martin.
Problem solved by implementing the method Process_Header.
1. Get the items from Header - im_header->get_items
2. Loop the item list and get the line item record - re_item-item->get_data
3. <- Logic to Update the line item - >.
4. Update the line item - re_item-item->set_data
Thank you very much.. Martin.
Regards,
Anbarasan K -
User exit / substiution / badi for changing baseline date
Dear Experts ,
I have a requirement to change the base line date of residual document created in F-28 / F-32 to the base line date of original document getting partially cleared .
I have explored the option of substitution but it doesnt work as field ZBLDT is not available for substitution there .
Please let me know any BADI / Exit which can perform this change of baseline date .
thanks in advanceHi Milind,
Following are the user-exits for F-32 :
RFAVIS01 Customer Exit for Changing Payment Advice Segment Text
RFEPOS00 Line item display: Checking of selection conditions
RFKORIEX Automatic correspondence
SAPLF051 Workflow for FI (pre-capture, release for payment)
F050S001 FIDCMT, FIDCC1, FIDCC2: Edit user-defined IDoc segment
F050S002 FIDCC1: Change IDoc/do not send
F050S003 FIDCC2: Change IDoc/do not send
F050S004 FIDCMT, FIDCC1, FIDCC2: Change outbound IDoc/do not send
F050S005 FIDCMT, FIDCC1, FIDCC2 Inbound IDoc: Change FI document
F050S006 FI Outgoing IDoc: Reset Clearing in FI Document
F050S007 FIDCCH Outbound: Influence on IDoc for Document Change
F180A001 Balance Sheet Adjustment
FARC0002 Additional Checks for Archiving MM Vendor Master Data
I hope this will help you.
Regards,
Nitin. -
User-exit or BADI required for changing Plant-sp.matl status in MM02
Hi Folks,
Our user requirement is when standard price is 0, we should assign value 'Z4' to Plant-sp.matl status(in MRP1 and Costing1 tabsin MM02) . Could any one suggest me a user-exit name or a BADI name to change Plant-sp.matl status in MM02. <REMOVED BY MODERATOR - REQUEST OR OFFER POINTS ARE FORBIDDEN>
Regards,
Ramineni.
Edited by: Alvaro Tejada Galindo on Aug 22, 2008 5:59 PMhi,
u can use it.
u can use this exit also.
MGA00001
EXIT_SAPLMGMU_001
i hav done this coding in this exit and it is working.
not same of ur requirement but try somthing like this.
tables : mara,makt.
data : it_mara type mara occurs 0 with header line,
it_makt type makt occurs 0 with header line,
it_marc type marc occurs 0 with header line,
it_mbew type mbew occurs 0 with header line.
select * from mara into table it_mara .
if it_mara[] is not initial.
select * from makt into table it_makt for all entries
in it_mara where matnr = it_mara-matnr.
endif.
loop at it_makt.
if stext-maktx = it_makt-maktx.
if it_makt[] is not initial.
select * from marc into table it_marc for all entries
in it_makt where matnr = it_makt-matnr.
select * from mbew into table it_mbew for all entries
in it_makt where matnr = it_makt-matnr.
endif.
read table it_marc with key matnr = it_makt-matnr.
if wmarc-werks = it_marc-werks.
read table it_mbew with key matnr = it_makt-matnr.
if wmbew-bwtar = it_mbew-bwtar. " 'VAL_OPEX' or wmbew-bwtar = 'VAL_CAPEX'.
message e001(zgm_msg).
endif.
endif.
endif.
clear it_makt.
clear it_marc.
clear it_mbew.
endloop. -
MB_MIGO_BADI change header data in tcode MIGO
HI Experts,
I have a requirement to change the feild posting date(BUDAT) in the header data while doing migo.
For this i have implemented a badi MB_MIGO_BADI->IF_EX_MB_MIGO_BADI~PAI_HEADER. This method has the field is_gohead-budat. but when i'm changing the value in the method, its giving an error message saying you cannot change filed BUDAT.
Can anyone help me how to achieve this change?
Regards,
SatyamHI Harald,
Thanks for your active reply.
I tried exit EXIT_SAPLMBMB_001. But it is not getting called while doing MIGO. I tried putting a break-point.
I followed the following procedure. Kindly correct me if I'm wrong.
1. In tcode CMOD, I created the project: ZMD.
2. In Enhancement assignment i have given the enhacement name as MB_CF001.
3. In component section the exit EXIT_SAPLMBMB_001 has include ZXMBCU01.
4. I have written the following code in the include :
break-point.
if sy-UZEIT GE '000000' AND sy-UZEIT LE '060000'.
XMKPF-BUDAT = sy-datum - 1.
endif.
5. I activated the project ZMD.
When i execute the tcode MIGO and post the document, ideally it should stop at the break-point. If it does not stop than that means the exit is not being called during the run time.
Could you kindly guide me on this.
The movement type for the GR is 101 and is done for outbound deliveries.
Thanks & Regards,
Satyam -
BADI/EXIT for changing line items (F-02)
Hi All,
I want to know any BADIs/EXITs which allow changing of G/L line items in transaction f-02. I have tried substitution it does not work for my requirement.
My requirement is copying of PRCTR from offset line item to the Vendor/customer line item which always appears as line item 001.
Thanks,
Preetham SF050S001 FIDCMT, FIDCC1, FIDCC2: Edit user-defined IDoc segment
F050S002 FIDCC1: Change IDoc/do not send
F050S003 FIDCC2: Change IDoc/do not send
F050S004 FIDCMT, FIDCC1, FIDCC2: Change outbound IDoc/do not send
F050S005 FIDCMT, FIDCC1, FIDCC2 Inbound IDoc: Change FI document
F050S006 FI Outgoing IDoc: Reset Clearing in FI Document
F050S007 FIDCCH Outbound: Influence on IDoc for Document Change
F180A001 Balance Sheet Adjustment
FARC0002 Additional Checks for Archiving MM Vendor Master Data
FEDI0001 Function Exits for EDI in FI
RFAVIS01 Customer Exit for Changing Payment Advice Segment Text
RFEPOS00 Line item display: Checking of selection conditions
RFKORIEX Automatic correspondence
SAPLF051 Workflow for FI (pre-capture, release for payment) -
New tab strip for PO header data
Hello,
for a customer project there is the need to add a new customer individual tab strip to PO and contract header data. Is there an User Exit or any other predefined way to do this in a most efficient way with minimum changes in SAP standard?
Regards
NorbertHi Norbert,
You can add th new custom tab to the PO and contract header data using the below mentioned Enhancement.
Enhancement MM06E005
Short text Customer fields in purchasing document
Create a project in the Tcode CMOD and assign the above mentioned enhancement.
Add new fields in include structure CI_EKKODB.
Design your screen for the new fields in SAPLXM06 0101.
Put your logic in the corresponding function module exit as provided in the enhancement.
Regards
Dillip -
Function for changing planned dates of activity
How can I change planned dates of activity in code ?
Is anyone familar with a bapi/function for this ?
Thanks,
NitzanHi Nitzan,
Actually When you want to change planned date of the activity?
If it is during the processing of the activity, you can do it by two methods
1)Either by using a call back function module configured in CRMV_EVENT transaction. In this function module read the date using CRM_order_READ FM to read ET_APPOINTMENT table.
Then use CRM_ORDER_MAINTAIN to change to change the date.
2) use the BADI order_save and implement the method CHANGE_BEFORE_UPDATE and put the same logic.
OR
if you want to do it externally, use the BAPI BAPI_ACTIVITYCRM_CHANGEMULTI to change the activity dates.
Regards,
Annu Cyriac -
BAPI for changing delivery date and delivery time fields in LIKP table
Hi All,
Is there any BAPI or function module to change the delivery date and delivery time in LIKP table ?
Please tell me experts if exists.
Thank you,
Raghu.try these:
BAPI/FM to update LIKP and VTTK tables
http://sap.ittoolbox.com/groups/technical-functional/sap-dev/bapi-for-changing-sales-headertable-likp-662800 -
PPCO0007 User Exit for Changing Header Fields During Order (CO40)
.. Hi !!!!
I need your help or suggestions,
I need to change the standar order before to save, i found the user exit PPCO0007,
i assign the new value for the order, but when finish the fuction, EXIT_SAPLCOZV_001, the new values are
lost, and finally the system set the standard order.
Someona know how can change the order and the the batch.
Thanks
Noemí HuertaHi Noemi
You can use the enchancement PPCO0007 (exit when the production order is saved).
Use the function module EXIT_SAPLCOZV_001 (User Exit for Checking or Changing Header Fields During Order Save) to update the field priority starting the information in the material-customer info record. -
Setup tables for invoices header data (2LIS_13_VDHDR)
Hi experts,
I am using 2LIS_13_VAHDR and 2LIS_13_VAITM to transfer data to SAP BW. Through the t-code SBIW, I I run the job to fill setup tables with invoices data. the job is completed succefully. when I check the extractors in RSA3, the extractor 2LIS_13_VAHDR doesn't bring any data while 2LIS_13_VAITM bring a set of items !!
I m wondering why I dont get invoices header data!
Thank's a lot for your help.
Abdess,Hi,
Did you delete the old initialization request from BW and also delete old setup table.
Because the issue is strange, If you are able to see entries in item then header should also fetch data.
Repeat the steps again if you have time.
Use T-Code LBWG to delete setup table.
Delete MCXE13 entries in LBWQ.
Use T-Code OLI9BW to fillup setup table for 2lis_13.
Thanks,
Shakthi Raj Natarajan.
Maybe you are looking for
-
It is bad for download performance not to use your ISPs local DNS servers. When you use foreign DNS servers, many websites will mis-identify your location, and send you to farther away places to download the website, rather than the local, faster loc
-
Satellite C660-26G - unexpected error after removing USB stick
Hello all, i am in need of help here. I have a Satellite C660-26G, 2 days old and a USB memory stick has been removed from the laptop while it was working, and I believe caused some sort of corruption. The machine starts, passes the logo, and the win
-
Opening Raw Files in Elements 9
Just loaded my copy of Elements 9 which I upgraded to so that would open Raw files from my Nikon D7000. However, when I try to open my files in Editor, no Raw Converter opens and I get a program error as reason. What do I do
-
Troubles with the Click Wheel (or whatever the "technical term" is) HELP!
My iPod works pretty well, except for the click wheel (or whatever you wanna call it). It scrolls fine, but when it comes to trying to press the menu button, or even sometimes when I try to press the play, forward or backward button, it seems to thin
-
I have a JVC Everio GZ-HD30 which shoots in full HD. I did not fully understand the presets and made the mistake of choosing the PAL widescreen preset under DV instead of the HD1080i preset. I have only realised this way after finishing 3 DVDs of h