Extend generated Idocs

Hi,
I extended the MARA table with a new field. Now I want to export the article data including the new field via the IDOC-Type ARTMAS05. So I need to extend the IDOC-Type but thats not possible via WE30 because ARTMAS05 is a generated IDOC-Type (see SAP Note 91390). I couldn't find any clear documentation about how to extend generated IDOCs and add new fields.
So my questions are:
How can I extend the IDOC ARTMAS05?
How can I add new segments to the IDOC for my new field in the MARA table?
Hope somebody can help!
Mathias

Hi Mathias,
Try these linkss:
Extension of generated Idocs types
How to extend an existing IDOC!
Re: Modifiy a generated IDOC (basic) type - HOWTO REGENERATE IDOC?
In this link search for extended idoc type and search the Function module attached
idoc issue - canbe fixed with enhancement?
Thank you,
Thanks,
AMS

Similar Messages

  • How to extend Generated Idoc types?

    I want to create Idoc type ZMRESCR01 as an Extension of Basic Idoc type MRESCR01.
    I have created the Segments that I want to add to the Basic type using transaction WE31.
    When I try to extend the Basic Idoc type with transaction WE30, the error message "Action is not possible for generated idoctypes" appears.
    In Note 913901, I have read that I can extend this Basic type using transactions BDFG and BDBG, but I can't find any documentation about how to do it.
    Can you point me to any documentation or show me how to extend Generated Idoc types?
    Reward points are waiting for responses.

    Hello,
    I will answer my own question.
    After sending an OSS note to SAP, this is what they answered (my words):
    The error is not that in most recent releases extension of generated Idoctypes is not allowed. The error is that in previous versions it was possible to extend such Idoctypes!
    In fact, Note 913901, corrected this error. So, what you have to do if you want to extend this Idoctype is:
    1. Copy the BAPI of the method I want to extend (For me, it is BAPI_RESERVATION_CREATE) and modify it, adding the new fields.
    2. Use transaction BDBG to create a new ALE interface. Then a new Idoctype, new Inbound and Outbound Function Modules and new Message will be created for my new BAPI.
    This is the Note I created: 0001040039.
    As for the documentation on transaction BDBG, they provided me a link to the Sap help:[http://help.sap.com/saphelp_nw70/helpdata/en/78/21740f51ce11d189570000e829fbbd/frameset.htm|http://help.sap.com/saphelp_nw70/helpdata/en/78/21740f51ce11d189570000e829fbbd/frameset.htm].
    I hope this helps someone,
    Narcís Abio

  • How to extended Generated IDoc type of MRESCR01 (Material Reservation )

    Hi Experts ,
    My scenario :  I am receiving  Material reservation data from SAP PI team , There is some extra fields .
    My approach  1 . I have to extended the basic idoc MRESCR01 , here is problem 'Action is not possible for generated IDoc types'  .
    I have seen many posts for the same but  I did nt get proper post for the same .
    and also how to create ALE -BAPI interface by using BDBG , Please help this scenario .
    Thanks ,
    Jay.

    Solution : new Message Type (By reducing MATMAS)

  • How to extend Generated Idoc - HRCC1DNINORD01?

    Hi Gurus,
        I have a requirement add two custom fields to the Standard IDOC HRCC1DNINORD01. For this i am using IDOC Extension but system through Error like Extension is not possible for Generated IDOCs. So my self find that we cannot Enhance the Generated IDOCs,instead of that Enhance the BAPI by using BDBG Transaction. But i don't understand this BDBG Transaction corresponding Object Type, Method. Please guide me to full fill my requirement.
    Thanks in advance.
    Regards,
    SR Krishna.

    Hi,
    Actually, BDBG is a transaction to be created the new custom idoc types and message types all those stuff.
    BDBG transaction will create the automatically custom idoc type and message type.
    As per your requirement, You would create the custom idoc type and accordingly you have configure in the Partner profile.
    Because one of the scenario, my case CRESTA01 needs the extension but it is not possible to create the extension for that. So, We have checked with BDBG but, finally we have checked and seen that internally, It has to be creating custom idoc type and message.
    Manually, you have to create the custom idoc type with contains to your structure.
    I hope you understand the scenario.
    Thanks,
    Chandra

  • Extending a BAPI generated IDoc

    Hi All,
    I have a standard SAP IDoc FIXEDASSET_CREATEINCLVALUES02, this IDoc is used to load fixed assets. We have 2 new fields we are adding to this IDoc so we need to extend the IDoc and create a new Segment for the 2 fields.
    This IDoc is created by a BAPI "BAPI_FIXEDASSET_OVRTAKE_CREATE". So it is not possible to extend this IDoc like you would in any Basic IDocs.
    This 2 new Z fields are already  appended in the Database table we are using "ANLU".
    Please I need a step by step process to extend this IDoc/Bapi.
    Help will be grately appreciated.
    Thanks a lot.
    Edited by: Basil Balogun on Jan 28, 2011 3:27 PM

    Hi Basil,
    You don't have to extend the IDOC/BAPI
    Usually BAPI's are provided with EXTENSIONIN tables to make changes to custom table... play around with this BAPI and Extensionin tables in SE37 and see if you can update your custom fields ... Please see the documentation for how to update custom fields via BAPI for more information (in BAPI FM document and also in SDN )
    Once you have successfully updated your custom fields directly via BAPI,fill the similar segment E1BPPAREX like the EXTENSIONIN parameter and your custom fields should be updated.
    there are some examples in SDN for using the extensionin parameter for other BAPI; you can search for examples using "extensionin"
    Bapi extension
    http://help.sap.com/saphelp_45b/helpdata/en/3e/0e1089c24611d1ad09080009b0fb56/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/6b/3f6d2b6d0711d396a50004ac96334b/content.htm

  • Pls send step by step procedure to create generated idoc type in ECC 6.0

    Hi
    pls send me the step by step procedure In ECC 6.0 Version
    1) To create generated idoc type
    2) To extended idoc type
    3) How we can add structure to custom segments
    thanks in advance

    hi,
    check these likns...
    ALE/ IDOC
    http://help.sap.com/saphelp_erp2004/helpdata/en/dc/6b835943d711d1893e0000e8323c4f/content.htm
    http://www.sapgenie.com/sapgenie/docs/ale_scenario_development_procedure.doc
    http://edocs.bea.com/elink/adapter/r3/userhtm/ale.htm#1008419
    http://www.netweaverguru.com/EDI/HTML/IDocBook.htm
    http://www.sapgenie.com/sapedi/index.htm
    http://www.sappoint.com/abap/ale.pdf
    http://www.sappoint.com/abap/ale2.pdf
    http://www.sapgenie.com/sapedi/idoc_abap.htm
    http://help.sap.com/saphelp_erp2005/helpdata/en/0b/2a60bb507d11d18ee90000e8366fc2/frameset.htm
    http://help.sap.com/saphelp_erp2005/helpdata/en/78/217da751ce11d189570000e829fbbd/frameset.htm
    http://www.allsaplinks.com/idoc_sample.html
    http://www.sappoint.com/abap.html
    http://help.sap.com/saphelp_erp2004/helpdata/en/dc/6b835943d711d1893e0000e8323c4f/content.htm
    http://www.sapgenie.com/sapgenie/docs/ale_scenario_development_procedure.doc
    http://edocs.bea.com/elink/adapter/r3/userhtm/ale.htm#1008419
    http://www.netweaverguru.com/EDI/HTML/IDocBook.htm
    http://www.sapgenie.com/sapedi/index.htm
    http://www.allsaplinks.com/idoc_sample.html
    ALE/ IDOC/ XML
    http://www.sapgenie.com/sapgenie/docs/ale_scenario_development_procedure.doc
    http://www.thespot4sap.com/Articles/SAP_XML_Business_Integration.asp
    http://help.sap.com/saphelp_srm30/helpdata/en/72/0fe1385bed2815e10000000a114084/content.htm
    IDOC Convertion
    /people/kevin.wilson2/blog/2005/12/07/changing-fields-in-an-idoc-segment
    regds,
    paras

  • Extension of generated Idocs types

    hello,
    does anybody knows why I can not create extension of generated (means in table EDBAS-GENERATED = 'X') idocs?
    I tried to extend idoc BATMAS03 on R/3 Ecc 6 and got message:
    message e099(b1) with
             'Action is not possible for generated idoctypes'
    In former version of R/3 4.6C it was possible to extend such IDoc BATMAS02 (generated one) without any problems.
    Of course I found in program MSED5F02  in routine CREATE_EXT_STRUCTURE new (in comparison to 4.6C) extra check which protects against extension of generated IDocs, but I want to get to know what was behind that decision or how to workaround that problem.
    Thanks in advance,
    Marcin

    Hi,
    User Exits are used to populate data in new segments added and to read them
    back which provides extension to existing idocs.
    IDOC EXTENSIONS
    SAP delivers Basic IDOC types such as DEBMAS02, MATMAS02, ORDERS02, and WMMBID01. By extending the Basic IDOC type, you are actually creating a new IDOC type. You create a new segment with the additional fields. This new segment has to be associated with one of the existing Basic IDOC segments. Then you create a new extension type, which is associated with the Basic IDOC type. This results in a new IDOC type. In order for ALE function modules to relate to this new IDOC type, the IDOC type is linked to the corresponding message type. Note that you should not add fields to existing segments but should create a new segment and associate it with an existing segment. This, in a nutshell, is the process of creating IDOC extensions.
    In our example, the Basic IDOC type DEBMAS02 is used to communicate Customer Master data to the SAP Customer Master application. Even though the application has a screen to enter and store a contact personâs business address (see Figure 1), DEBMAS02 does not have a segment or fields that communicate the contact personâs business address. If your business requires that this business address be communicated to the other system through the ALE interface for Customer Master, then you have to extend the DEBMAS02 IDOC type, and enhance the corresponding ALE function module.
    In DEBMAS02 the contact person fields are present in segment E1KNVKM and the business address of the contact person is stored on the SADR SAP table. You need to create a new segment, Z1SADRX, that is associated with E1KNVKM. This will be done in the process of creating an extension type ZDEBMASX. This extension type will then be associated with a new IDOC type, ZDEBMASZ. IDOC type ZDEBMASZ will be linked to message type DEBMAS for Customer Master. The final step in the IDOC extension process is to check the new objects. This check also verifies the structural integrity of the IDOC type. Letâs look at each of these steps in more detail.
    1. Create an Extension Type and a New Segment.
    First, determine the fields on table SADR that you are going to provide for in the new segment Z1SADRX. You need fields for name, street, city, region, and country to give the business address of the contact person. You also need fields for the address number. ADRNR is a field in SAP tables such as SADR that uniquely identifies the address of an entity. This field is cross-referenced from other tables to the SADR table to obtain the full description of the address. Because this is an IDOC type for master data, the first field of the new segment will be MSGFN. The message function field informs the receiving system of the action to be taken for that particular segment. In the code that you write for populating the new segment, the value of the message function is the same as that of the parent segment E1KNVKM. In all, you will have 12 fields in segment Z1SADRX (see Table 1).
    To create an extension type and new segment:
    Use transaction WE30 or from WEDI go to Development -> IDOC types.
    Enter ZDEBMASX for Object Name.
    Choose Extension Type.
    Click on Create.
    You will see a pop-up screen. Choose Create New, and enter a description. For version 4.x, enter DEBMAS02 in the Linked Basic Type field. Enter.
    You will see a screen with ZDEBMASX and its description in the first line. Click on this line, and press Create. For version 4.x, expand the tree of segments, and place the cursor on E1KNVKM.
    You will see a pop-up screen. Enter E1KNVKM as the reference segment. Enter.
    For 4.x, press Create after placing the cursor on segment E1KNVKM.
    You will see a line appear with E1KNVKM hierarchically below ZDEBMASX, with a description "Customer Master contact person (KNVK)."
    Click on this line and press Create. You will receive a message indicating that the new segment being created will be a child segment of E1KNVKM. Enter. A pop-up box appears for the new segment.
    Enter Z1SADRX as the segment type, 1 for Minimum, 1 for Maximum. Leave Mandatory segment unchecked. These entries imply that there is only one Z1SADRX segment for every occurrence of the E1KNVKM segment, and also that this segment is not mandatory. Note that if the parent segment is not mandatory, then the child segment should not be mandatory, because this could result in a syntax error during the creation or processing of the IDOC.
    For 4.x, you must first create the IDOC segment Z1SADRX (Iâll explain why in a moment) from the menu path WEDI -> IDOC -> Development -> IDOC Segment.
    Click on Segment Editor.
    On the next screen, click on Create.
    Enter a development class for the object. Enter.
    This will take you to the screen for segment definition. Enter a description for the segment. Enter the field name, data element, and the data element documentation name. In most cases, all three fields may have the same values. If you are using a field in the segment that is not present in the ABAP/4 data dictionary, you must first create the domain, data element, field, and appropriate documentation before using it in the new segment.
    Enter these three columns for all 12 fields. Save.
    Click on Generate/Activate, F3 to step back.
    From screen Maintain Segment, go to Segment Type -> Release. A checkbox now appears beside the segment definition Z1SADRX (see Figure 2). Check this box. Save. Save again to store the descriptions of the segment, F3 to step back.
    Save the extension type.
    It is possible to have several new segments with relevant Basic IDOC type parent segments in a single extension type. However, you can form only one IDOC type based on a single extension type.
    Pls reward helpful points.
    Regards,
    Ameet

  • How to extend an IDOC in CRM

    Hi,
    Can we extend an IDOC in CRM, I am new to the era of CRM and I got a requirement to extend an IDOC TYPE and
    when I try to extend the IDOC TYPE in CRM as how we do in R/3 the system displays message as "Action is not possible for generated IDOC types. Can any one suggest
    what could be the problem.
    or is there any alternative way to Extend IDOCS in CRM.
    Thanks,
    Venkat

    You can do that. Go to transaction we30, create an extension to the Basic type. Create the segments. And you are done.
    You can refer to help.sap.com for more information.
    Award points if it helps you.
    Regards,
    - Prasenjit

  • Extending an IDOC

    Hi All,
    I want to extend an IDOC, which is getting generated while executing the transaction BD16.
    Details of the IDOC are given below:
    Message Type = COSMAS
    Basic type  = COSMAS01
    Basically a new custom field "ZZMFG_RLVNT" was added in the table CSKS. Requirement is to add this field in the new segment of IDOC which gets generated while executing the transaction BD16. I was able to make the neccessary configurations in WE31, WE30, WE81 and WE80.
    Now i am struck at finding suitable user exit for writing code to support IDoc extension.
    Please provide me ur inputs.
    Regards,
    Rajesh

    Hi suresh,
    According to my knowledge userexit is coomks01.
    But badi is available in kbas package K_CCA_CUSTOMER_FIELD.
    check above two options.
    *reward points.

  • Extending Genereated Idoc Type

    Hi All,
    Anyone experienced in extending a generated IDoc like CRMXIF_IBASE_SAVE01? Please share if you have...
    Thanks.
    Cady.

    Hi Cady,
    Please refer the following SAP Note for more information.
    SAP Note : 378168
    Best Regards,
    Johnny.

  • How i need to write a logic to generate idoc for some of infotypes, when i change the single infotype

    Hi experts,
         I have an requirement , when I change any infotype record from pa30 or pa40, i.e
    suppose I am changing the infotype 0002  in pa30 , the idoc only generated for that changed infotype only,
    but I need it to generate the idoc for  some other infotypes also I.e(0000,0002,t528t, 0016).
    So please give me some help to generate idoc when I run a rbdmidoc(bd21).
    Thanks in advance.
    Venkat 

    yes, visible bounds is reading the non-visible masked objects too.
    you're going to have to do it the hard way, loop through all your objects to get your bounds manually, and while you're at it, test for clipping masks and use the masking path instead.

  • File to IDOC:how do i relate inbound idoc with generated idoc in the R/3

    hi experts;
    can any body tell me how can i relate the IDOC number genrated in the PI with the generated IDoc number in the SAP R/3 system for file to IDOC scenario?
    in SAP PI for tcade idx5, idoc no is:12002
    but in SAP R/3 in tcode WE05, idoc no is:846915
    how can i know a particular message (in SAP PI) created a particular idoc in the backend SAP R/3 System.
    thanks in advance,
    kumar

    Hi Kumar
    at the time of testing you have to note down a time at what ur file got picked up ok
    then go to we05
      -> give the date on CREATED ON field.
      -> then in BASIC TYPE field select your particular IDOC CREMAS05 or whatever, see the TIME field that you have noted down at the time of testing, if that is matching means that is ur latest IDOC you have tested.
      -> one more thing, tha last IDOC showing in the list means that is your latest IDOC you have tested.
    Hope i have helped you, points plz
    Warm Regards
    Dheeraj Kumar

  • Not generating IDOC for payment Advice to Vendors

    Hi,
    IDOC was getting generated before one month but now SAP system has stopped generating IDOC for vendor Payment advice. This problem is with all the vendors.
    After execution of t-c-ode F110, payment document is successfully created, but IDOC is not geenerated. There is no log about "IDOC not getting generated"
    Checked Table REGUH, IDOC number is displayed as 0000000000000.
    This was happening perfectly one month back.
    There is no change in Vendor master data, IDOC number range is available.
    There is no posting of IDOC in table DFKKTHP and checked Report REREMITADV for which there is no data.
    Waiting for your valuable responses.
    Regards
    veleyudham

    Hi,
    First check certain customization:-
    (1) FBZP setup for payment method at country level. Whether IDOC generation program is assigned or not.
    (2) Then check the variant of RFFOEDI1 in the printout tab of F110. Is the selection creteria OK?
    (3) Check the partner profile in WE20 for the bank.
    Then run the program RFFOEDI1 in SE38 for your payment run and check the output.
    You can also get this program debugged from you ABAPer to have root cause analysis.
    Regards,
    Gaurav

  • Payment program F110 not generating IDoc

    Hi All
    while running payment program F110 I get a sucess message IDocs generated for company code and payment method, In the payment log i see this infomation.
    when i check these IDoc's in WE02 I can't find any of these IDoc's. It looks to me the program RFFOEDI1 with the variant I created is not getting executed in spite of the check box "Generate IDoc" being checked.
    can any one suggest what would be wrong?
    Thanks
    Pranav

    Hi All,
    Thanks for the quick response. Following are the config made with forms;
    In Paying company code setup:
        Form for payment adivce: F110_US_AVIS
        EDI accompanying sheet form: F110_EDI_01
    In Payment method in company code:
        Form for payment medium : F110_EDI_01
        Next form : F110_US_DTA
    I have checked with all other configuration and seems to be in place. Please let me know if these config regarding forms are correct.
    When I run the program REFFOEDI1 with the variant I created these IDocs are getting generated. These are not getting generated when I run the payment program F110. I am missing some thing which is not triggering this program from payment program. Please let me know if you have any suggestion.
    Thanks
    Pranav

  • Message type for generating IDOC  for SUBCONTRACTING PURCHASE ORDER

    Hi All,
    I have to generate IDOC for PO creation or change .
    I am using IDOC_OUTPUT_ORDERS and IDOC_OUTPUT_ORDCHG.
    The messagetype.idoctype  I am using is  ORDERS. ORDERS05  and ORDCHG. ORDERS05.
    Now the confusion is regarding whether  this message type will work in case of SUBCONTRACTING PURCHASE ORDER as well ?
    As I have gone through some websites and came to know that I will have to use PORDCR1.PORDCR102 specially for subcontracting.
    And programs we need to use is BUS2012_ICH_R3 instead of  RSNASTED and Form Routine SEND_PORDCR1 instead of EDI_PROCESSING.
    Purchase Order Collaboration scenario - Not generating IDOC in ECC
    http://www.erpgenie.com/faq/edi_purchasing.htm    on this site question no  8.
    Subcontract PO IDOCs
    I hope your experience will help me .
    Please reply ASAP.
    Edited by: uttam27 on Dec 4, 2011 1:47 PM

    There is a generic function to create change pointers for all message typs - 'CHANGE_POINTERS_CREATE_DIRECT'.  This is triggered only if you configure your message type to create change pointers from BD50.
    Once you activate it do any change to orders you can see change pointer tables BDCPV filled. Then BD21 will read the changes and generated outbound idocs accordingly.

Maybe you are looking for

  • My 2009 Macbook Pro is running very slow

    After installing Maverick on my 2009 Macbrook Pro initially the result was very slow, practically unresponsive and unusable. After investigating many reports of similar problems I have not found anything to rectify the problem. Have downloaded and re

  • I bought and downloaded Pages on my iPAD- why can't I seem to use it on my iMAC? Isn't there a way to simply share the app?

    I bought and downloaded PAGES on my iPAD.  Why can't I seem to use it on my iMAC? Isn't there a simple way to just share it from my iPAD to my iMAC?

  • Terminate messages without using BPM?

    Hi, Does anybody know if you can terminate messages with content based routing without ending up with messages in error state. example I receive IDOCs from R/3 where some should be handled and sent to a receiving system and some should not be handled

  • Copy/Pasting from Hebrew font in PDF

    Hi - I'm trying to copy and paste text from a PDF so I can edit and analyze the contents.  The file was created in Hebrew. It is set of Israel's election results and available on their government website: http://www.moin.gov.il/Apps/PubWebSite/mainme

  • Third Part Remittance - Garnishment posting

    Hi, While doing the Third party posting for Garnishments, it works fine when the EE doesn't have a retro. But if the EE has a retro, it doesn't post. It gives a message saying its already evaluated in the prior pay period. Can someone tell me how to