RBDMIDOC Program with User Exit?

Hi....
I am a bit puzzle and hope someone could assist me with this please.
I am trying to work on a functional specification to layout an interface between SAP and our outsourced provider. Given that, I've created a reduced message type off HRMD_A06, calling it ZHRMDA06_ORG and change pointers being active.
From my understanding, if I run RBDMIDOC it will extract what is in the change pointers and create an IDOC structure with the data. I need to somehow after that structure is created to go back and add segments or sub-segments to it.
For example:
IF E1PLOGI.OTYPE='S'
IF E1PITYP.INFTY='1001' AND E1PITYP.SUBTY='A003'
If it detect this in the IDOC segment, I will need to find the chief of the org unit this position belongs to and create the E1PITYP.INFTY='1001' and E1PITYP.SUBTY='A002' to that chief position.
Using that as one of the data maniplulation example, I do have other data needing to be added to the segment / sub-segments as well. Like creating a whole new E1PLOGI, etc.
How do I go about doing so?
DO I...
A) Do it as part of the RBDMIDOC extraction run (i.e. modify a function module associated with it)
- OR -
B) Do it as a program that runs after the RBDMIDOC extract run and automatically go in to that IDOC to modify it.
One thing to note is that I will be creating multiple reduced message types against HRMD_A06, one per interface i am dealing with for outbound transfer to XI.
So I could have a ZHRMDA06_ORG and ZHRMDA06_ORG2 and both could share the same infotype tracking from change pointers.
So which ever method used, I would need the ability from the user exit or function module to signify that piece of code is for a particular message type extraction.
Thank you much in advance. Much Appreciated....

I was looking at the RH_MASTER_IDOC_DISTRIBUTE_HRMD originally, but it only seems to be triggered via the PFAL. I need something to trigger via RBDMIDOC.
From what I gathered yesterday...
P633 from the book "ALE, EDI, and IDOC Technologies for SAP", I could use MASTERIDOC_CREATE_SMD_<Message_Type> and that is used during the RBDMIDOC.
I am not sure if that is still valid on the ECC 5.0 system or not. I look at the RBDMIDOC code and I don't see where it specify it will use these function modules.

Similar Messages

  • MRP Run with User Exit key for Follow up material

    Dear Gurus,
    I want to run MRP only for followup materials by using User exit key. For example i have a material X(with discontinued Indicator as 1) and it's follow material is Y.
    So we have a user exit key as ZFL, with coding as shown below. Now when i run MD01 with user exit key ZFL and parametre as 1, it only runs MRP for material X and not for material Y. What else we need to do so that when i run MD01 with user exit key ZFL, it shoudl consider both X and Y. 
    WHEN 'ZFL'.
    DATA : BEGIN OF ITAB5 OCCURS 0,
    KZAUS LIKE MT61D-KZAUS,
    END OF ITAB5.
    TRANSLATE USER_PAR TO UPPER CASE.
    SPLIT USER_PAR AT ',' INTO TABLE ITAB5.
    IF ITAB5[] IS INITIAL.
    EXIT.
    ENDIF.
    CLEAR: NO_PLANNING, STOP_PLANNING.
    READ TABLE ITAB5 WITH KEY KZAUS = MT61D-KZAUS.
    IF SY-SUBRC <> 0.
    NO_PLANNING = 'X'.
    ENDIF. 

    Hi Kumar,
         You can use either MRP Type, MRP Controller, MRP Group in this user exit to control the MRP run. For these set of Materials you have to assign any of same value or at least differentiate these material from other material. Then only you can control the MRP by using this user exit even though if you use different MRP Group and MRP Controller. In User Exit, you may have to add your dependent material's MRP Group/MRP Controller. Make sure that these set of materials are different than all other materials.
    If you don't have any plan to run MRP for other materials then as per Ajit suggestion you make that material's MRP type as "ND". But, in your business case they may want to activate the MRP for all the material not now but may be latter.
    Thanks

  • Regarding how to find out a program is User Exit/executable

    Hi,
    Can anybody tell me how can we find wether a particular program is used in executable program (or) user exit program?
    One thing we can find out is wether the program type is 'I' or 'R' etc..
    Thanks in advance.
    Thanks,
    Deep.

    Hi...
    See the following links..
    it helps you a lot..
    how can we C the USER_EXITS in Z programs
    how can we find the list of user exits for a transaction
    How to find the active user exits in my client
    How to find user exits for a transaction
    Hope it helps you...
    Let me know if u have any more doubt...
    Reward points if useful......
    Suresh.......

  • Valuation price with user exit/BADI/Enhancement Spot (In valuation variant)

    Hi all,
    i am facing problem finding enhancement when creation of sales order of Valuation price with user exit/BADI/Enhancement Spot  (In valuation variant)
    For refferenece:
    When going to t.code VA03, select one item and go to extras in the menu bar and select costing then you find some amounts calculation i.e valuation price automatically.
    So when creation of sales order i am giving material and that material price automatically takes from material master and creating sales order.
    My customer requirement is to get the valuation price of the input material from Z-table during the sales order cost estimate.
    This Z-table contains the material code, plant , grade  of the material.
    Ex:
    Material         Plant   Grade Price
    A                1000    XYZ     25000
    A                1000    PQR     35000
    A                1000    BCD     45000
    Suppose it depends on sales document type and which grade price i have to take.
    So first of all i am unable to find enhancement where to change this code to get change the valuation price.
    Does anybody have any idea , is there any user exit/BADI/enhancement for this.
    So please help me in this issue.
    Thanks & Regards,
    lokeshgoud

    pls allow me to post the questions

  • Please help me with user-exits or baids for TCode : FOE2 & FOE1

    Hi  Experts
    Please help me with user-exits or baids for TCode : FOE2 & FOE1.
    I found these but not picking values from VIMI01,VIOB03 and VIOB41.
    User-exits
    FVCH0001                                CH-specific enhancements: Esp. POR
    ISRE0001                                Determine bank procedure account no.
    ISRE0002                                IPD reporting data retrieval
    Business Add-in
    FVD_HANDLE_FORMULA                      Processing of Condition Formulas

    Hi,
    ASk your basis regarding the CI_CSKB table active issue, and first of all i dont see any table with the name CI_CSKB.
    And check this exit-COOMKS03 whether it works for your screen exits.
    Cheers!!
    VEnk@
    Edited by: Venkat Reddy on Nov 4, 2008 5:59 PM

  • How to lock the program in User exits

    Hi Guru's
    I have a problem with user exits. for suppose  I am doing enhancement for particular TCODE, the other user is doing some changes to the  same TCODE. My problem is where should  i use the lock. Is it possible to lock the TCODE? How it can be done?  please do needful............
    Regards,
    Krisna

    Hi Shiva,
    What do you exactly mean by locking the T-COde.
    Do you want that the other person should not be able to see the changes you have made. Then you can use your code in the Condition for "SY-UNAME = your user id".
    Or do you want that the other person should not made the change. Then you need not worry because the User Exit does not have multiple instances.
    Please let us know, if you have any query.
    Hope it helps.
    Regards,
    Manish

  • Issue with user exit ZXPADU01 and ZXPADU02

    Hi,
    I am trying to change the existing record for the info type 0015 for an employee in Pa30 transaction.
    my requirement is i need old value and new value when i am changing the existing record in info type 0015.
    When i kept break point in user exit ZXPADU01 it is not triggering it is triggering only when we creating the record.
    i tried with user exit ZXPADU02 it is not working as per my requirement.
    My requirement is :whenever i am changing the existing record(modifying record) i need old value and new value.
    Anybody can suggest me how to fix this issue.
    Thanks,
    Maheedhar

    Dear Maheedhar,
    The best way to achieve this requirement is to use the PAI user exit ZXPADU02 import parameter PSAVE. The PSAVE parameter contains the PBO original / initial record, before any changes take place.
    The INNNN parameter contains the current PAI record as usual, in order to be used for customer check and new values. Thus, you've got both the old and the new record in place, and you can make your comparison according to the business requirements:

  • Valuation price with user Exit on activity types

    Hi All,
    Our customer could have different activity cost for different products even if they are processed on the same cost center, same activity type and same activity time. So I wonder whether SAP has valuation price with user Exit on activity types as what on material valuation, when we select "U" in the relevant valuation variant. Could anyone knows advise please?
    Regards
    Walter

    Hi Walter,
    an idea might be to include an ABC template into the costing. ABC tempaltes allow a big degree of freedom in determinin which processes to use and in which quantities. To use the product as a cost driver is certainly not an issue. I doubt that you can directly influence the process 'price' to be applied, but to change the quantity could bring the same result.
    See the docu for more info:
    [http://help.sap.com/saphelp_erp60_sp/helpdata/en/7e/cb7d1443a311d189ee0000e81ddfac/frameset.htm]
    best regards,
                        Udo

  • Formula variable with User Exit

    Hi,
    Can we create a Formula Variable of processing type USER EXIT...which will display a constant Value Y
    Any syntax would be helpful
    Thanks

    Hi,
    check this for formula variables with user exits;
    http://wiki.sdn.sap.com/wiki/display/profile/Surendra+Reddy
    http://sap.ittoolbox.com/groups/technical-functional/sap-bw/customer-exit-to-derive-formula-variable-to-text-variable-sap-bw-35-3030684
    Also Check the issues and solution :
    Formula Variable with User Exit....Problem
    Thanks
    Hemav

  • Difference between the different structures while dealing with User-Exits

    While dealing with User-Exits, we come across the different structures/Tables like XVBAP,YVBAP,TVBAP,IVBAP,*VBAP....
    What is the difference between them ?

    Usually X<tablename> and Y<tablename> are used in change document management to determine records updated (Y is old values and X new ones).  (Look at transaction SCDO)
    T<tablename is an internal table read from database and I<tablename> is an import table parameter of the same structure. <tablename> is an equivalent of <tablename> declared with statement TABLES and contains usually the "old" value.
    Look at exit documentation. start at [User Exits In Sales Document Processing|http://help.sap.com/saphelp_46c/helpdata/en/1c/f62c7dd435d1118b3f0060b03ca329/content.htm]
    Regards

  • PO - control email triggering with user exit.

    Dear all expert,
    Implemented a program using user exit EXIT_SAPMM06E_013 where it checks when user convert from PR to PO using t-code = ME21N, and when user clicks save PO, it will trigger an email.
    To change a PO details, usually will use ME22N. However, our user here will change PO by double clicking on the "Document Overview On / Off" panel and click change. After changing the PO, user will save via ME21N.
    Therefore, lots of emails has been triggered which had confused the user.
    Is there anyway to control this?
    Regards,
    Santthi.

    Hi,
    You can use exit EXIT_SAPMM06E_012 to get the activity (import parameter I_TRTYP) It is equal to "V" if the PO is already created and if the user is changing it or "H" if the user is creating the PO. Store this parameter in a global variable and read it in EXIT_SAPMM06E_013
    Hope it helps
    Regards

  • Problem with User-exit

    Hi,
      I implemented userexit 'EXIT_SAPLEINM_001' for IDOC purpose . When i use Tr.code WE15 this userexit will be exectued. This is working fine in development server.
    The problem is with quality server. When WE15 is executed, the control is stopping at CALL CUSTOMER-FUNCTION '001'. But the control is not going into the INCLUDE  program of the exit.
    The user-exit is already in active state (checked in CMOD).
    What could be the problem?
    Points will be rewarded.
    Thank you.
    Ramesh

    Hi Satish,
       i tried doing this and also tried on different systems. Still the same problem.
    actually i implemented 2 use exits.  One is not working (as specified previously) but the other is working fine. Its allowing the control to enter into the include program. what could be the problem for the first one.
    Thank you.
    Ramesh

  • Example with user exit

    hallow
    did some one have a exaple (document) how to do user exit?
    Regards

    Hi
    User exits (Function module exits) are exits developed by SAP. The exit is implementerd as a call to a function module. The code for the function module is written by the developer. You are not writing the code directly in the function module, but in the include that is implemented in the function module.
    The naming standard of function modules for functionmodule exits is:
    EXIT_<program name><3 digit suffix>
    The call to a functionmodule exit is implemented as:
    CALL CUSTOMER.-FUNCTION <3 digit suffix>
    To find a Exit.
    Goto Transaction -- Find The Package
    SMOD >f4>Use the Package here to Find the Exits In the Package.
    Else if you Want to search by Application Area wise ,
    There is one more tab to find the Exits in the Respective Application Area.
    Implementing the Exit-- CMOD Create ProjectsAssgn your Component .
    Now Run ur Transaction to Check if it Triggers.
    Thats it..
    Suppose you need to find out all the user exits related to a tcode.
    1. Execute the Tcode.
    2. Open the SAP program.
    3. Get the Development Class.
    4. Execute Tcode SE84.
    5. Open the Node 'Envir. -> Exit Techniques -> 'Customer Exits -> Enhancements'
    6. Enter the Development class and execute.
    Check out this thread..
    The specified item was not found.
    1. Type the transaction : system->status-> <PROG. NAME>
    2 open SE37 , type EXIT<PROG NAME> and press F4 to get the list of function exits available.
    3. Open CMOD utilities->SAP enhancements
    EDIT->All selections
    4.type the function module name obtained in step 2, in fields 'component name' in 'additional selections' block. and execute.
    5. The displayed list contains the enhancements names for the transaction You were looking for.
    6. Create a project in CMOD and the code in default include->activate.
    http://www.erpgenie.com/sap/abap/code/abap26.htm
    which gives the list of exits for a tcode
    http://help.sap.com/saphelp_nw04/helpdata/en/bf/ec079f5db911d295ae0000e82de14a/frameset.htm
    For information on Exits, check these links
    http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm
    http://www.sapgenie.com/abap/code/abap26.htm
    http://www.sap-img.com/abap/what-is-user-exits.htm
    http://wiki.ittoolbox.com/index.php/HOWTO:Implement_a_screen_exit_to_a_standard_SAP_transaction
    http://www.easymarketplace.de/userexit.php
    http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm
    http://www.sappoint.com/abap/userexit.pdfUser-Exit
    http://www.planetsap.com/userexit_main_page.htm
    User-Exits
    http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm
    http://www.sap-img.com/ab038.htm
    http://www.planetsap.com/userexit_main_page.htm
    http://www.sap-basis-abap.com/sapab013.htm
    http://sap.ittoolbox.com/documents/popular-q-and-a/user-exits-for-the-transaction-code-migo-3283
    These links will help you to learn more on user exits.
    http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/c8/1975cc43b111d1896f0000e8322d00/frameset.htm
    http://www.planetsap.com/userexit_main_page.htm
    http://www.allsaplinks.com/user_exit.html
    www.sap-img.com/abap/what-is-user-exits.htm
    Also please check these threads for more details about user exits.
    Re: Screen exit
    user exit and customer exit
    user exit
    1. Document on UserExits in FI/CO
    http://www.ficoexpertonline.com/downloads/User%20ExitsWPedit.doc
    2. Finding User Exits...
    http://sap.ionelburlacu.ro/abap/sap2/Other_Useful_Tips.html#Finding_User_Exits
    3. List of all User Exits...
    http://www.planetsap.com/userexit_main_page.htm
    1. Customer exits: Implemented as Function Modules within z includes. Anybody can change it and no access key is required.
    2. User Exit: Implemented as subroutines within includes (any include except y or z includes). You need access for the specific include and then you can any subroutine (user exit) within that Include.
    BADIs are the enhanced version of user exits where the same logic is implemented via classes and object (OOP)
    Enchancement point is the latest once introduces with ECC6.0 . Not very sure about that but you can change it without any access key.
    Please go through the following link which will help you understand the exits in a much better way:
    http://help.sap.com/saphelp_nw04/helpdata/en/bf/ec07a25db911d295ae0000e82de14a/content.htm
    http://www.sap-img.com/abap/what-is-the-difference-between-smod-and-cmod.htm
    http://sap.niraj.tripod.com/id21.html
    http://help.sap.com/saphelp_nw04/helpdata/en/c8/1975cc43b111d1896f0000e8322d00/frameset.htm
    http://www.sap-img.com/ab038.htm
    User Exits.
    http://www.erpgenie.com/sap/abap/code/abap26.htm
    http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm
    http://www.sapgenie.com/abap/code/abap26.htm
    http://www.sap-img.com/abap/what-is-user-exits.htm
    http://wiki.ittoolbox.com/index.php/HOWTO:Implement_a_screen_exit_to_a_standard_SAP_transaction
    http://www.easymarketplace.de/userexit.php
    http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm
    http://www.sappoint.com/abap/userexit.pdfUser-Exit
    customer exits
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/f1a7e790-0201-0010-0a8d-f08a4662562d
    Menu Exit.
    http://www.sappoint.com/abap/spmp.pdf
    http://www.sappoint.com/abap/userexit.pdf
    http://www.sapdevelopment.co.uk/enhance/mod_sapmenu.htm
    http://www.sapdevelopment.co.uk/enhance/enhancehome.htm
    1. Previously there were only user-exits.
    2. Then came the concept of customer-exits.
    3. user exits were nothing but subroutines
       FORM/PERFORM
       called from standard programs.
    4. The FORM defintion was placed inside
    an empty include file.
    5. So It was called EVERYTIME.
    and we need to MODIFY/REPAIR the
    standard include .
    6. Then it came with concept of customer-exit
    7. It consists of calling a FUNCTION MODULE,
    which is called only if
    the user-exit is ACTIVATED (other wise not called)
    In this case, the code in put inside
    a pre-defined Z include.
    8. Functionality of both is same, howerver
    we can note the following important differences
    a) Customer exit is called only if activated.
    (hence, it does not waste resources)
    b) in customer exit, REPAIR does not happen
    to the standard include.
    Exits are basically the hooks whcih SAP has provided to add your own code. There are two types of Exits:
    <b>Reward points for useful Answers</b>
    Regards
    Anji

  • How to find Tables Associated with User Exit

    Hi All,
    I have an User Exit userexit_availabilty_out in RV03Vfzz.
    How do i know the tables and feilds associated with taht exist.
    In case of a Function exit i can find out from import Parameters, but how can i find in this case.
    Pl Do reply.
    Cheers,
    Manohar

    You need to find out which SAP program uses this as include. You can do that by doing WhereUsed on Abap include RV03VFZZ in transaction SE38.
    After you found out the main program, use transaction SE80 and display that program. Then click on Fields object and you will see all global variables that are accessible in your user exit.

  • VIrtual Cube with user exit

    Hi,
    This is the Scenario :
    Version : Bi 7 / Nw04s patch 11.
    Source : ECC 6.
    1) Virtual Cube V1 based on a generic Data source D1 in ECC or R/3 source system
    2) The generic data Source has 10 fields , 7 are from a Standard Table, the 3 are populated during extraction via Transaction data User exit ZRS01*).
    3) When I run the extractor checker for Data source D1 in R/3 all the 10 fields are populated.
    4) Problem : when I do A list cube in BI on the virtual cube all te data in ECC is seen however the enhanced fields derived in the user exit are coming in as blank.
    Any experience on this, whether this is a limitation of I need to create a message with SAP.
    Would apreciate any thoughts or experience n this are,
    thanks
    TC

    Check the user exit,if the code has been written to that specific datasource which was meant for the ODS(Watch out for case statements).

Maybe you are looking for

  • Drop-Down Hot Spot Images

    Hi, When I generate a SSL Print out of topics that use Drop-down Hot Spots with images in them, the images print out. I do not want them to print out. I have tried the Advanced Options and unchecked "Include drop-down text" and they still print. If t

  • 2 appleid's with the same name!

    Hi there Ive never really got to the bottom of this question - but what exactly is my appleid - is it  'myname'   or is it  '[email protected]'? My userid seems to be split accross both itterations!  If I log in as 'username' it gives me one set of h

  • Adobe d.e. quit unexpectedly on Mac 10.6.4 during authorization

    I attempted to download an ebook from the library. the download completes but Adobe Digital Edition quits unexpectedly during authorization.

  • When will os7 be available in South Africa?

    When will OS 7 be available to download in S Africa

  • Lightroom 5.5 wont start.. OSX 10.9.3

    Just installed Lightroom 5.5 from the CC Aplication on my Mac running OSX 10.9.3 , And Lightroom will not open, all i get is the typical LR loading graphic though nothing is happening.... have tried uninstalling and re downloading and re installing.