Trigger workflow after change of control record(pa03)

Hi Experts,
Is it possible to trigger a workflow after change of the control record - transaction pa03?
Thanks,
Agata
Edited by: Agata Nowak on Sep 14, 2009 12:43 PM

Hi,
Thanks for replay but:
1. just so the event or action in PA03 , on which you want to trriger WF ,Before that with TCOde swels switch ON , then afer the action in SWEL , you wil find if any BO and event is there for that action . if so , then using this you can trriger you WF. if not
I've already tried this and no event is triggered ;(.
then
2. you can go for user exit , badi or enhancement spots (verson ECC.6.0 above). in that using SWE_EVENT_CREATE creat the event to start yr WF.
I've been already searching for BADI or user exit but I really can not find any user exit nor badi for this transaction (in fact it is SAPMP52X Program) ;-((
Thanks,
Agata

Similar Messages

  • How to change IDoc control record

    Hi all,
    How to change the control record of the ORDERS (purchase order) outbound IDoc? The partner type and partner number is always the logical system. I want to change it to other partner type, e.g. KU.
    Is there any user exits availalbe?
    Thanks!
    Regards,
    Hui

    Hi,
    <b>Option-1</b>
    User user-exit<b> EXIT_SAPLEINM_001</b> of <b>enhancement MM06E001</b> to change the control record.
    But make sure that whatever control record you put here, there should be a corresponding partner profile exist in partner profile ( WE20 ).
    <b>Option-2</b>
    You are saying that you are always getting 'LS'. This is  because the output type is only configured with partner function 'LS'. We are using Purchase order idoc and we generate our all idocs for partner type 'KU'.
    To do this, follow these steps.
    - go to transaction <b>NACT</b>
    - enter application 'EF' and select 'maintain'.
    - select the output type you are using in PO for EDI.
    - with this output type selected, select "partner functtions" from left hald side options.
    - Hit "new entries" button on the top
    - create an entry with, MEDIUN = 6 (EDI) ; Funct = VN ( vendor )
    - Save your settings and come out
    - Now on WE20, remove the partner profile you have created under partner type 'LS' and instead create a same partner profile for your vendor under partner type "KU".
    Now it is upto you to decide, either to user the user-exit i have mentioned to change the control records OR create a outout config and partner profile for "KU".
    Let me know if you have any question.
    Regards,
    RS

  • Changing IDOC Control Record for EDI inbound Orders Creatiion

    Hi,
         When I try to process the Inbound orders Idocs file through the GENTRAN EDI System.IDOC's were errored out, because of the Partner function was not defined for the Customer ( Legacy ) ( Type KU ) in the SAP.
            Is there any user exit/badi/Configuration to change the Legacy Partner(Customer) to the SAP Partner(Customer) mapping and update the IDOC Control record with the SAP Partner. I am calling EDI_DATA_INCOMING Function module and IDOC_INPUT_ORDERS.IDOCs errored out with Message EO-332 ( Partner function not defined ). 
    Advance Thanks,
    Balaji.

    It's been a long time since I have done any IDOC processing. 
    Go to SE37 and enter the function module IDOC_INPUT_ORDERS.  Display the source code.  Search for "CALL CUSTOMER".  You should see several "CALL CUSTOMER-FUNCTION" lines.  These are enhancements where you can manipulate the IDOC data.  If you locate the correct one (where the data is read from the IDOC but not yet validated), you should be able to map the partner function value.  Double-clicking on the number in quotes will bring you to an "EXIT_" function module.  A "ZX" INCLUDE program is referenced.  If you haven't used the exit yet, double-clicking on the ZX INCLUDE will create it.  The values passed into the function module are available in the INCLUDE.
    Ideally, you should create a project in transaction CMOD that references the chosen enhancement.  This way you can activate/deactivate without commenting/uncommenting the code in the INCLUDE.

  • Changing IDOC control record by XSL Mapping

    Hi,
    I am using scenario: legacy -> XI -> R/3.
    In the first step I am mapping XML -> IDOC. I have to map the field "SERIAL" in idoc control record in EDI_DC40 (idoc control record structure) with a constant. When I view the message in XI monitor. I cannot see the change and that field is not visible as before.
    Any suggestions would be highly appreciated !
    Regards,
    Faiq

    Hi,
    If you have set the Apply Control Record Values from Payload indicator in the receiver IDoc adapter, the following fields are filled from the IDoc-XML payload:
    MESCOD
       MESCFT
       TEST
       EXPRSS
       STD
       STDVRS
       STDMES
       SNDSAD
       SNDLAD
       RCVSAD
       RCVLAD
       REFINT
       REFGRP
       REFMES
       STATUS
       DIRECT
       OUTMOD
       CREDAT
       CRETIM
    You can change the contents of only above  fields by using a mapping and getting it replected in the SAP System.
    Regards,
    Bhavesh

  • Change IDOC Control Record in Receiver system

    Hi Guys,
    I want to change the inbound IDOC control record,is there any BADI or F.M available ?
    My scenario : XI to SAP and its a custom application.
    Regards,
    Rajesh.

    hi Rajesh,
    You can refer this wiki link , this will help you out in your problem
    https://wiki.sdn.sap.com/wiki/display/ABAP/IDOC+Steps
    Regards
    Saurabh Goel

  • User Exit  for Inbound Process - Changing IDOC control record

    Hi,
    I want to utilize the identification field (under details tab) of the IDOC Control Record. What is the suitable user exit for inbound process that i can use to change the IDOC control record?

    It's been a long time since I have done any IDOC processing. 
    Go to SE37 and enter the function module IDOC_INPUT_ORDERS.  Display the source code.  Search for "CALL CUSTOMER".  You should see several "CALL CUSTOMER-FUNCTION" lines.  These are enhancements where you can manipulate the IDOC data.  If you locate the correct one (where the data is read from the IDOC but not yet validated), you should be able to map the partner function value.  Double-clicking on the number in quotes will bring you to an "EXIT_" function module.  A "ZX" INCLUDE program is referenced.  If you haven't used the exit yet, double-clicking on the ZX INCLUDE will create it.  The values passed into the function module are available in the INCLUDE.
    Ideally, you should create a project in transaction CMOD that references the chosen enhancement.  This way you can activate/deactivate without commenting/uncommenting the code in the INCLUDE.

  • BADI/Exit: Changing IDoc Control Record

    HI,
    do you know a way to modify the IDoc Control Record for MASTERDATA IDocs like CREMAS/DEBMAS/ etc ?
    there are a lot of IDOC Badis and Exit´s but without changing the EDIDC.
    any ideas ?
    Regards,
    Gordon

    Hi Gordon,
    Did you find an answer to your question? I have the same issue and am looking for a BADI or user-exit that will allow me to change the IDOC control record.
    Thanks,
    Uma

  • How to trigger workflow from changes in Sales Order in CRM?

    Hi Experts,
    I want to trigger event at the time of saving the changes in sales order (TCODE- CRMD_ORDER).
    I have found one BO - BUS2000115 but it is getting triggered only after new creation of sales order.And there is no BO available when we change the sales order.For this reason I have created one customize event in BO(BUS2000115).
    Now my question is How should I link this customize event so that it will trigger after saving the changes ?
    I have seen SWEC transaction but was not able to find anything to link this customize event.
    Please help ....!!!
    Good response will be rewarded.
    Thanks
    Snehasish Das
    Edited by: Snehasish Das on Feb 14, 2008 2:31 PM

    In SWEC, actually you link the change document object to a Business object and its corresponding event , to which workflow should react to.
    If yo udo not find the entry then, yo unedd to create one with finding out the respective chage documnet object.
    Hope that helps.
    Regds,
    Akshay

  • Need to trigger workflow after g/l document posted in FB50

    Hi all
    When a user posts a document in FB50 (G/L journal entry), I need it to trigger a workflow.  I can find BTE's that come in to play before the document number is assigned, but I need it triggered after the document number is assigned.  I tried BTE processes 1120 and 1140 but they're too early.  I also looked at many function modules and user exits suggested by various SDN threads but nothing seems to be triggering.
    I already have a workflow created using BO BKPF and can trigger it manually, but not through FB50.  There's lots of info on BO FIPP, but I'm looking at posted documents, not parked documents.  Tracing FB50 with SWELS/SWEL doesn't show anything.
    Any help would be greatly appreciated.
    Ron

    Hi Ronald,
    If you are using ECC 6.0 try to look explicit enhancement, that is kernel BADI (key words: GET BADI and ENHANCEMENT). If there is none also then use implicit enhancement. Implicit enhancement is always available at the beginning and the end of Function Module, Routines, Program, Methods, etc.
    Regards,
    Lim...

  • Recovering Emails after Changing What MX record is used to pass over email from message Labs. Help !

    Hi Guys ,
    I have a client who uses office 365, earlier in the week we had an issue where they were unable to receive external emails. After troubleshooting with Microsoft and Message labs we found out that message labs was pointed to the Old Microsoft server. I have
    tried to Contact Microsoft through the support system and so far have been ignored after my initial chat with the engineer, The issue now is recovering the emails sent within the period of around 18 hours where message labs was pointed at the old Microsoft
    server. I have tried calling Microsoft and have been told the engineer will get back to me and I have yet to hear.
    The reference for this is 614031190156900
    If anyone has any suggestions or Microsoft would like to comment ,
    That would be great
    Thanks
    Liam

    it was something related to my isp...

  • User Exit after IDoc number (control record) generated

    Hi
    I'm looking for the user exit after the idoc number is generated. Can anyone provide a refrence on such user exit? the process is outbound.
    Tried with some of the available exits but none worked...

    Hi,
    Are you referring to any specific scenario?
    Regards
    Vinod

  • BADI to Change control record from idoc

    I’m trying to use the BADI IDOC_CREATION_CHECK to change the control record from the idoc but im not able to do it because the parameter IDOC_CONTROL is an importing parameter not a changing parameter, I’ve tried to use the BADI IDOC_DATA_MAPPER but I this case I’m just able to change the data record, should I use another BADI?
    Regards
    Luis Constantino.

    hi.
    have you tried ABI_IDOC_PROC_MODIF?
    i did not read much thru the documentation...
    i hope this helps.

  • ALE / IDOC / sales order customer control record change

    I'm trying to look for a "standard" answer.  Here's my problem:
    Record comes into SAP with a non-sap customer number that needs translated to SAP customer number.
    Options I'm looking into:
    1.  Use the user exit and pull the customer characteristic from the customer master.  Based on the characteristics then convert the control record.
    2.  Use the user exit at the sales order create.  Based on the characteristics then convert the sales order and do not convert the control record.
    3.  Use standard EDPAR and convert the control record.
    The problems:
    If I use code to change the sold to custmer number at the control record level, I'd like to do the same thing at the detail level.  The standard SAP code uses EDPAR.  There are many different user exits based on the IDOC type in the system.  I really don't want to change the code for each one.
    EDPAR is maintained by IS.  However, the customer master is in the business hands and is easily used.  The customer master would be the perfered way to do things.
    Any suggestions?  Has anyone else had a problem with the customer number in the control record?  We used to do it prior to moving the record into the SAP system.  We would like to move away from that.
    Thank you!
    Michelle

    OK so we have a strange setup.  Yes, sold-to and ship-to is in the sales order.
    The customer number in the control record is really our SAP sold-to number.  It also is the partner number.   It is required for WE20.  However when the IDOC comes into our system our customer doesn't always send the partner number.  They can send their number for our company, the DUNS number or others.  We have to take that number and convert it to our partner number.
    While conversion from X12 to IDoc, based on the ISA ID or Sold-to party number you should map the correct SAP partner number onto the control record.
    Coming to non-SAP sold-to party number in E1EDKA1 segment, the same non-sap sold-to number can be mapped to this segment but you should maintain EDPAR Entries. (VOE4).   Yes, I found that EDPAR seems to be the way SAP is expecting the conversions.  However, we want our customer service to maintain the conversion.   That means that it has to be in a good format.  So I could write a Z transaction over the EDPAR table for easier maintenance, or use the customer master screens.  The customer master seems to be a logical place for custmer service to enter in the conversions.  However, EDPAR is what SAP is expecting.  So I decided to have them update the customer master via characteristics, and then use a BADI to send the information to EDPAR.  Use "standard" functionality to change the control record.  I believe it is a user exit.
    Any questions??  I always have questions.   I think the above solution will work.   We haven't prototyped it yet.   That will happen soon.    My question was very generic and probably hard to follow.  
    Hopefully this clears up what I think we are going to do.  Any other solutions would be appreciated.   The control record may or may not be correct when it is recieved.  So we need to convert.  Another requirement is that customer service has to set up the conversion values.  VOE4 is not a good transaction for non-technical people to use.   So we need a better way.  
    Again we have voted to try the above solution.  But I welcome any other suggestions.
    Thannk you,
    Michelle

  • Delete control recorder - issues

    Hi All,
    We deleted control rec in  production,  aftre deleting and recreated...
    i tried to exit payroll after recreating control recorder, then i got message "cant exit incorrect personnel nos, then i check allthe employees under that pay area is incorect and changed by mass in IT 3 using report "RPUTRBK0"
    plz let me knw why it came like that
    SD

    Hi,
    To view the incorrect personnel numbers that are causing this the error while exiting the control record click on the arrow icon "Incorrect Personnel Numbers" (Shift + F8) at the topleft corner of the Change/Display control record screen.
    It will show you the list of the incorrect personnel numbers.
    These are the personnel numbers for whom the payroll has not run after data corrections done to their master data in the "Release for Correction" phase of the payroll area.
    These employees would bear a "Payroll Correction" tick in their IT0003 - Payroll status.
    Payroll area cannot be exited unless Payroll is run successfully for these personnel numbers.
    Hope this is helpful.
    Regards,
    Shreyasi.

  • Mapping of Control records in file to idoc scenario

    Hi,
    In the mapping part of file to idoc scenario is it necessary to provide the exact control record details
    or will it pick what ever is mentioned ? Can any one please explain regarding the same?
    Many Thanks,
    Sharath

    hi,
    in case of apply control records from payload
    It is indeed very simple to do it and the feature is available from SP10. I have seen lot of posts on the forum for the same and that is the reason for this blog. We can manipulate the control record in the mapping editor and map the EDI_DC40 segment of Idoc as required. Most of the times we need to map only SNDPRN, RCVPRN, SNDPRT, RCVPRT for posting Idocs with appropriate partner profiles in SAP R/3 destination systems. We can disable the rest of the fields as shown below. We need to manually change the control record of idoc for populating partner profiles in the control records while dealing with non-sap sender system, which will be used by receiver SAP system for posting idocs with appropriate ALE configurations.
    check this blog
    /people/sravya.talanki2/blog/2005/12/02/manipulating-idoc-control-records-from-payload
    regards
    chandra

Maybe you are looking for

  • Enter a name and city for one-time account posting is the message i get

    Enter a name and city for one-time account posting is the message i get ,when i am trying to post a onetime vendor .I have entered name ,country and language when the pop comes.But still throws me this message ,pls help.

  • Sharing Canon LBP7010C no longer works in Mavericks

    I've noticed there's plenty of troubles with network printing in Mavericks. Here's mine: I have an MacBook Air 2012 and a new iMac, with Canon LBP7010C connected to it. Both computers have the most recent (10.9 compatible) drivers installed and can p

  • Can Premiere Pro allow editing on a Mac and use another machine to offload rendering?

    I have a new Macbook Pro I'd like to use to editing but a VERY beefy PC networked locally I'd love to be able to use to assist rendering in Premiere.  Possible? If not while rendering, what about in the final encoding stage using Encoder  Watch folde

  • Automated Regression Testing

    Apologies for putting a more advanced question in a general forum but there is no Topic for QA/Testing (that I know of). Okay, I've been tasked with finding a solution for fully automated unit, component, system, and regression testing. I realize tha

  • Refresh the WebI report getting the Error

    Hi Friends, I have installed the BO4.0 sp2.Previously I created reports and refresh the reports are fine.few days back i am getting error once refresh the report. the error is: Caused by: com.businessobjects.sdk.core.server.ServerException: The datab