Userexit or Badi to change Outbound ORDERS Idoc
Hi all,
As per my requirement, I want user exit or Badi which can change Outbound Idoc for ORDERS. I am aware of enhancement MM06E001 with user exit EXIT_SAPLEINM_011. Here in our old system 4.6 we implemented same. But for our new system ECC 6.0 control is not going inside after changing PO, it is creating new Idoc & posting but not going inside same user exit. Is there any Badi available?
Is it because of version change?
Please its kind of urgent.
Point will be rewarded for helpful answers.
Thanks,
neo
Hi,
These are the exits available for Outbound ORDERS idoc.
1. ORDERS Purchase order / order MM06E001 EXIT_SAPLEINM_001 Customer enhancements
for control
record: purchasing
document, outbound
2. ORDERS Purchase order / order MM06E001 EXIT_SAPLEINM_002 Customer enhancements
to data segments,
purchasing
document, outbound
3.ORDERS Purchase order / order MM06E001 EXIT_SAPLEINM_011 Final customer enhancement
EDI purchase
order outbound
You should create the project before implementing the exits. So that the break point is going to stop over there.
Check this link to know how to find BADI -
http://www.sap-img.com/abap/how-to-find-bapi-for-particular-transaction-in-sap.htm
In your case this BADI is there for the given program.
Similar Messages
-
Split outbound ORDERS idoc to different ports
Hi All,
I was wondering whether it is possible to split an outbound ORDERS idoc and have it directed to two different ports based on document type? Client requires normal PO's to be written to one XML while STO's be written to a seperate file. Look forward to your responses.
Regards,
JohnHi,
These are the exits available for Outbound ORDERS idoc.
1. ORDERS Purchase order / order MM06E001 EXIT_SAPLEINM_001 Customer enhancements
for control
record: purchasing
document, outbound
2. ORDERS Purchase order / order MM06E001 EXIT_SAPLEINM_002 Customer enhancements
to data segments,
purchasing
document, outbound
3.ORDERS Purchase order / order MM06E001 EXIT_SAPLEINM_011 Final customer enhancement
EDI purchase
order outbound
You should create the project before implementing the exits. So that the break point is going to stop over there.
Check this link to know how to find BADI -
http://www.sap-img.com/abap/how-to-find-bapi-for-particular-transaction-in-sap.htm
In your case this BADI is there for the given program. -
Userexit or BADI to change service price when create PO reference from PR
Hi,
I need userexit or Badi to change the gross price ( ESLL-TBTWR ) when create PO reference from PR. Currently , when I do this it will recalculate the gross price based on the service master and ignoring whatever the price put in PR. Could anyone tell me userexit or Badi that would allow me to change the price when i create PO from PR via ME21N.
Thanks,
GilbertHi Gilbert,
You can try using Function Exit EXIT_SAPLMLSP_030 of Enhancment SRVESLL.
This Function Exit has ESLL data as changing parameter.
But this Function Exit is called from a number of transaction. So do put in correct checks (like sy-tcode or sy-ucomm) before substituting any values. If proper checks are not put in then values may be substituted when this function exit is called from other transactions (like tcode "ML81N").
Hope this will help.
Regards,
Abhisek. -
PORDCH01-change purchase order Idoc
Hi all,
I require some suggestion pertaining to PORDCH01-change purchase order Idoc. The vendor raises a claim purchase order in his system and eventually a return sale order is created at the central system and i am using a custom program to generate idoc's of type PORDCH01 and propagate it back to the vendor , while doing so I need to change the value of the field LFRET(Delivery Type for Returns to Vendors) , the Idoc doesnu2019t seem to have this field in any of its segments and even if i extend this idoc , i donu2019t have appropriate exits in the inbound function module which let me map this data field to the required field EKPO- LFRET.I donu2019t want to go for a custom solution so Your help is much appreciated .
Regards,
Rethish..
Edited by: Rethish Radhakrishnan on Sep 6, 2011 10:40 AMHello Raja,
Just a further question in that case
Can I used Message type ORDRSP and basic type ORDERS05 on both the sides i.e. SD side and MM side?
Any changes made in sales order should update the PO.
As with the current situation i can not use PORDCH idoc on SD module side. Pls let me know.
//Guru -
BADI For Changing Planned order Qty during MRP Run
Hi,
My requirement is i want to change Planned order qty based on some conditions during MRP run(MD02). Is there any BADI to fullfill my requirement.
Thanks,
KishoreNot sure I understand the situation correctly...You want to delete the planned orders before MRP runs again. WHy do you want to do that ? Are these firmed Planned orders ?
-
Function Module/Badi to change internal order
Hi All,
Can any one please let me knw the FM or BADI to change an internal order.Hi Shilpa.
I would like to suggest a few,
BAPI_INTERNALORDER_CREATE - Create Internal Order From Transferred Data.
BAPI_INTERNALORDER_GETDETAIL - Delivers master data, statuses, and allowed transactions for internal orders
BAPI_INTERNALORDER_GETLIST - Delivers lists of internal orders according to various criteria.
BAPI_INTERNALORDER_SAVEREPLICA - Replicate Individual Internal Order (ALE).
A few more apart from BAPIs are -
ALE_INTERNALORDER_CREATE
ALE_INTERNALORDER_DB_CHANGE
ALE_INTERNALORDER_SAVEREPLICA
IDOC_INPUT_INTERNAL_ORDER
IDOC_INPUT_INTERNAL_ORDER_CREA
Hope that's usefull.
Good Luck & Regards.
Harsh Dave
Edited by: Harsh Dave on Jul 14, 2008 2:37 PM
Edited by: Harsh Dave on Jul 14, 2008 2:40 PM -
Inbound Idoc Create/Change Purchase Order
Hi All,
I have to do a inbound Idoc scenario for create as well as change Purchase Order.
Which is the IDoc type for Create/Change purchase order.
I went through this form found that ORDERS05 can be used but I am not sure this can be used for both create as well change Purchase Order.
If ORDERS05 can be used then which is Process code,Function Module and Message type for both create and change Purchase order.
I also found that IDoc type PORDCR102 can be used for create Purchase order and PORDCH02 can be used for change Purchase order,but i don't want to use two Idoc types.
Please suggest.
Thanks in advance.
Regards,
JohnHi John,
For creating a IDoc for PO, whenever a PO is created/Changed, it has to be configured in Parter Profile(WE20) for a particular Partner in Outbound Paramtrs tab.
Give ORDERS05 in Message Type and select the line & go to Display.
In the screen which appears , choose tab Message Control and give the Process code
ME10 - Creation of PO
ME11 - Changes to PO & check the Change Message.
Give respective Output Message Type & Application(VF) for PO.
Create Output types for a vendor in T.Code MN04, else take help from MM Consultant.
Create a PO & save. Then make some changes in Po & again save.
Now IDoc will be created while saving the Po & IDocs will be created whenver you make changes to PO and saving it.
Hope It helps.
Regards,
Anbalagan -
User exit/ badi needed for planned order create/change,collective ATP check
Dear All,
I'm looking for a user exit/ badi which can be used for planned orders at the stage of
mass collective availability check (COMAC tcode) update; or at some other relevant stages of mass update of planned orders.
I need after collective availability check to perform the following:
1) to copy date from "total comitment" field on header tab of planned order and paste it (replace old date) to order finish date on header screen
then
2) to start a scheduling.
Very appreciate your help.
Best Regards,
Andrey
Edited by: Andrey Kruglov on Apr 15, 2010 3:06 PM
Edited by: Andrey Kruglov on Apr 15, 2010 3:07 PMDear,
Use the BAPI : BAPI_PLANNEDORDER_CHANGE
Or use the function module MD_SET_ACTION_PLAF for Schedule planned order.
and the transaction MDAC Execute action for planned order
This function module includes the following actions:
Explode BOM
Explode BOM, check availability
Check availability, only explode BOM in the case of a requirement
Check availability, do not explode BOM
Reset availability
Change planned order data
Schedule planned order
Delete planned order
Assign the key for the respective action control to the materials in the material master (MRP 4 view).
Please refer this thread,
Re: MDVP for collective orders
Regards,
R.Brahmankar -
Purchase order idoc - generate all lines with any changes
when the orders idos is created new all material lines are created in the idoc
when there is a change only the changed material lines are included in the idoc
if no material lines are changed only the header idoc segments
are created
how can I have the entire puchase order idoc, header and all material lines, created for any changeFollow Auto Sourcing And Auto Create/Release Checklist [ID 417966.1] carefully.
Sandeep Gandhi -
How to trigger a sales order Idoc ORDERS05 when ever we create or change it
Hello Experts,
What are all the configuratons that we need to do on SAP to configure triggering of sales order when ever its created or changed.
It will be very helpfull if you give in step - step process to do it.
If any have any documentation please sendme
Please Help,If i understand your message correctly, You want to trigger an ORDERS05 IDOC with message type ORDRSP from the sales order right. You can configure the output type in transaction NACE under application V1 and assign it to you output determination procedure. You need to check the box Multiple issueing if you want the output to be proposed every time you change the order. You also need to create partner profile for the customer in WE20.
-
Production Order Userexit or BADi
Hi Everybody,
Can someone tell me if there is a userexit or BADi which gets triggered when the we are doing availability check from VA01 to create the Production Order?
This is an urgent requirement.Any help will be greatly appreciated and rewarded :).
Thanks,
Supriya Manik.Hi Siri,
As far as I know you can't get hold of the availability check at the Sales Order leve or MRP level.
According to my knowledge when you enter the material and quantity control goes to MM03 by entering the plant in MRP3 view. From there it will pick the availability check and determines rest of the thing.
So check point would be at ATP Quantity level. At that point you need to check exact include to add the code.
Check the program SAPMV45A and in that u will find lot of includes in that. Specifically check the includes MV45AIZZ and MV45AFZZ. If you check those includes u will come to know the exact triggering point from there you can write the code in the user exist what i mentioned above. -
Userexit: Outbound matmas idoc
Hi Guys,
I am looking for a suitable userexit for Outbound matmas idoc.
The requirement is once the idoc number has been generated with idoc status AFTER that only i need a userexit for my own .
I am using BD10 transaction code to create the MATMAS idoc.
Will appriciate your help..!
Thanks,
Biswajit.Hi,
The flow is like this in BD10....
CALL FUNCTION 'MASTERIDOC_CREATE_REQ_MATMAS'
CALL FUNCTION 'MASTERIDOC_CREATE_MATMAS'
CALL FUNCTION 'MASTER_IDOC_DISTRIBUTE' " it return the control record with idoc no after execution
CALL FUNCTION 'IDOC_CREATE_ON_DATABASE' " it return the control record with idoc no after execution
CALL FUNCTION 'EDI_DOCUMENT_CLOSE_CREATE_TAB' " it return the control record with idoc no after execution
PERFORM F09_IDOC_INSERT_WITH_NUMBER USING IDENTIFIER " idoc no generates here in control record
DOCNUM
IDOC_CONTROL
SYNTAX_RETURN
FREE_RETURN
SYN_ACTIVE.
So i need a userexit / enhancement point after that with control record data....... -
Customer function / badi to CHANGE AFVC-STEUS (Production Order)
Hi Gurus,
i'm looking for a customer function/badi to change field AFVC-STEUS when postin a Production Order.
The PPCO0... customer functions seems NO good because allow only to check but not to change data.
Any hint?BBP_PD_PO_CHANGE <- that one
BBP_PD_PO_SAVE
COMMIT WORK.
The others to persist the change into the database -
Sales Order - Outbound Delivery IDoc scenario.
Hi Friends,
I have the below urgent requirement. I would be gratful, if someone suggest possible options.
Scenario: This is related to Sales order to Billing scenario.
We are creating Sales orders by using ORDERS05 Idoc. After the Real goods despatch happens at legacy system, we will be getting despatch feed (IDoc) for outbound delivery trigger. Here if all sales Order items are complete, the system is creating Outbound delivery by using this IDoc and then PGI will follow. This is Ideal scenario.
Practically what happening is, our sales orders are created with few incomplete items (Ex: Net price missing) because they are created via ORDERS05 Idoc.( Manually, we can't create sales order with incomplete items, unless we force the system to do so). When the Out bound delivery IDoc triggered, it will pick up only completed items and creates partial delivery and becomes 53 status. Now the sales order is left out with open and incomplete items.
Now our aim is how to make this outbound delivery IDoc fail, if this is not able to create delivery for all items?? (I mean, if the sales order items are incomplete, the delivery Idoc must fail. So later, if sales order becomes complete, this Idoc can be reprocessed again) How can we make this scenario possible??
Expecting your thoughts and inputs.
Regards,
KaleeswaranHI,
I suggest you to think of similar solution as below.
1.As your issue is at order (few items are incomplete with Pricing issue or some other issue), at sales order level while saving each sales order write the code in user exit_save_document_prepare to check if any items exists as incomplete. if yes then populate a delivery block in the sales document header.(you can use a new delivery block to distinguish the reason for the block)
2. While creating delivery for the order through Idoc since the incomplete orders have a delivery block at the sales document header level SAP wont create delivery for the entire Order.
3.Handling this delivery block at sales order header: when ever a sales order is popluated with this new delivery block triggere a workflow which will shoot a mail to your End user team or customer representative team. they will correct the issue in the order and remove the delivery block. if you dont want to go with a workflow then you need to incorporate a process to remove the delivery block in the sales order
Thanks,
Srini -
User exit to change data in inbound orders idoc
Hi everybody.
Id like to know what user exit I have to use to change an inbound idoc orders in inbound process???
Thanks a lotHi,
Please search on SCN.
However you can look for an exit that matches your requirement :-
[http://wiki.sdn.sap.com/wiki/display/ERPLO/UserExitfor+Deliveries]
Regards
Abhii
Maybe you are looking for
-
Error while deploying a business process
Hi all. Am new to Integration Server development. I got this error while deploying my business process. ERROR: <Feb 15, 2004 3:19:41 PM GMT+05:30> <Warning> <DRS> <BEA-002506> <The current ve rsion 6 for DataIdentifier DataIdentifierID: 1 does not ma
-
I'm developing an applet that contains a Swing GUI. The applet has a DesktopPane which contains several internal frames. These internal frames are meant to be instantiated and added on the fly depeding on user input, so all of thier setup code is con
-
Checking for session expiration
We're using JSPs and Servlets in our application. Looking for a way in code to check if the session has expired. We will need to do this from a jsp as well as a servlet (sometimes a jsp is pointed to by a link and sometimes a servlet). Can someone po
-
How do I modify an event's date range?
I recently imported a series of photos from my camera, entering both an event name and description for the event. All photos but one were from this event. After deleting that single photo, the date range displayed underneath the event name still disp
-
Java.io.FileNotFound Exception
when trying to call autoConfigure() got following java.io.FileNotFoundException: /../../abc.xml (No such file or directory) Please throw some light thanks, Srikanth