Creation of custom idoc with entire code

Hi
     I am kavitha ,working on abap skill , i want the entire documentation for creation of custom idoc , including writing of posting programe and also selection programe , if possible please forward me any real time scenarion . plz forward me its urgent

Hi,
Hoping that u would reward me all the helpful points please refer the link:
<a href="http://abapcode.blogspot.com">http://abapcode.blogspot.com</a>
regards,
Ameet

Similar Messages

  • Creation of Custom IDoc with Message control for sales Order

    Hi all,
    I am trying to create custom Outbound IDoc with message control.
    I wrote the code in a function module and i want to register that function module. (as in inbound registration of function module as in BD51).I am not knowing if that registration is necessary for outbound Idoc, if so in which transacition?
    Please list me the steps to create a custom IDoc for Message control.
    Thanks in advance,
    Regards,
    John.

    Hi,
    You need to use FM : MASTER_IDOC_DISTRIBUTE to create outbound idoc.fill the data in the tables EDIDC,EDIDD and generate the IDOC.
    check this link:
    Re: Master_IDoc_Distribute
    and use transaction : WEDI for IDOC configurations.
    here you will have all the transactions(step by step) to set the outbound IDOC configurations.
    Regards
    Appana

  • Regarding Creation of Custom IDOC

    Hi,
    This is Abdullah Shaik. I want to create an IDOC from the existing IDOC. Some times I need to add some segments to the existing IDOC. Can anybody plz let me know the process how to create the Customized IDOC from the Standard IDOC?
    Thanks & Regards,
    Abdullah shaik.

    Hi Abdullah,
    There are basically two types of IDOCs:-
    Basic IDOCs and Extended IDOCs
    Basic IDOC type defines the structure and format of the business document that is to be exchanged between two systems.
    Extending the functionality by adding more segments to existing Basic IDOCs.
    Creation of IDOC
    To Create Idoc we need to follow these steps:
    Create Segment ( WE31)
    Create Idoc Type ( WE30)
    Create Message Type ( WE81)
    Assign Idoc Type to Message Type ( WE82)
    Creating a Segment
    Go to transaction code WE31
    Enter the name for your segment type and click on the Create icon
    Type the short text
    Enter the variable names and data elements
    Save it and go back
    Go to Edit -> Set Release
    Go thro' this link:-
    http://help.sap.com/saphelp_46c/helpdata/en/dc/6b835943d711d1893e0000e8323c4f/content.htm
    I hope this provides you a solution.
    Regards.
    Praveen

  • Creation of Customer Master with Sales Data

    Hi Experts,
    I have a requirement in whic i have to Create/Change Customer Master through Custom program.
    The Customer Master details will be stored in file and Retrieved through program with the following Tables to be Updated
    KNA1 - Customer Master
    ADRC - Address
    ADR2 -  Telephone Number
    ADR3 - Fax Number
    ADR6 - E-Mail Addresses
    KNVV - Customer Master Sales Data
    KNVP - Customer Master Partner Functions
    KNVK - Customer Master Contact Partner
    From SDN  i came to know about  CMD_EI_API . Can you please tell me which is the method suitable for Creation/Change of Customer Master with the above details.
    Regards,
    Shrikanth R

    Hi Experts,
    Please help me how to use MAINTAIN_BAPI method in Class CMD_EI_API  in order to create Customer Master.
    Regards,
    Shrikanth R
    Edited by: SHRIKANTH R on Jul 15, 2010 11:59 AM

  • ALE IDOC  with T-code :IE01

    How is an ALE IDOC generated when an equipment is created with T-code :IE01

    Hi K.R.,
    First of all you need to check if everyting works fine.
    For this specific IDoc you can check table T705Z with KANAL='2' and AKTIO='4' and with DATUM=<Date of receiving IDoc>. You can also use UZEIT as a filter here.
    Why?
    At the moment this IDoc (CONF21) comes inbound to SAP, through the process code CON2 it actually must start function module KK2A_GET_DATA_FROM_IDOC. This places the entry and you can then see that your function has been called.
    Secondly inside function module KK2A_GET_DATA_FROM_IDOC the process for updating is started in a parallel (asynchronous) process. Actually function module PROCESS_CC2_MESSAGES_PARALLEL is triggered as a background task that controls its own parallel processing. On its turn this calls the logic in function module PLANT_DATA_ANALYZE_PARALLEL and therein the function module PROCESS_CC234_MESSAGES.
    With these mentioned function modules a table is preserved (named ET_PROT) and this table contains (internally) any message, so also error message text.
    Unfortunately you are not able to get to this internal table if the proces is running in the background.
    Now when SAP calls the parallel process (in background), programcontrol is returned immediately. So function module KK2A_GET_DATA_FROM_IDOC can then finish. Finishing here without setting any error status will lead to final status 53 for the inbound IDoc.
    And as you can imagine, it does NOT wait for the result of the background process. Therefore status 53 represents only the fact that function module KK2A_GET_DATA_FROM_IDOC has runned without errors. It does not report errors possibly occuring in PROCESS_CC2_MESSAGES_PARALLEL.
    Now how is this then to be solved?
    You need to create your own data for running the above mention logic, preferrably based on failed IDoc data and then debug the whole thing (to find the error).
    Hope this helps you a bit on your way,
    Regards,
    Rob.

  • HRMD_A Inbound Idoc with process Code:HRMD not updated in SAP

    Dear friends,
    I'm facing a problem with Personnel data creation in SAP (this is not a SAP HR system).
    I have a data file with Personnel data, in WE19, I use idoc_input_hrmd to process the data (with basic type: hrmd_a06). Idoc has been created with status '53'. However, when I check in SAP, t-code PA30 with the Personnel number, the record does not exist. Checked infotype tables PA0000, PA0001, PA0002 and PA0003 as well, no luck.
    I wonder where does the data go? Is it sitting somewhere in the system and waiting to be processed?
    Please help!!!!!

    Hi
    Authorizations might be one of the reason.
    So IDOC transfered but no records to be writeen to DB.
    regards
    vijay

  • Inbound Idoc with T-code: BORGR ( Inbound delivery create) EDI cannection

    Dear all,
    Kindly help me to create inbound delivery with BORGR transaction.
    Here the we have to create the inbound delivery in the system with the help of vendor number and material without using Scheduling agreement number in BORGR
    Please suggest the processing code and the function module required for the BORGR document posting.
    I have done the following steps u2026but not able to post the dummy idoc through WE19 .
    1.     Use standard message Type DESADV (T code: WE81).
    2.     Use standard IDOC type DELVRY05 (T code: WE30).
    3.     Assign message type  to IDOC Type ( Tcode: WE82).Message Type:-DESADV, Basic Type:-DELVRY05,Release 700
    4.     Use standard assignment of process code DELS with the message type DESADV ( Tcode: WE42)
    5.     Inbound Function Module :  IDOC_INPUT_DESADV1 ( T code : WE57)
    6.     Define Port type File (Tcode: WE21) Port u2013 EDI_ASN Inbound Delivery.
    7.      Define Partner Profile (Tcode: WE20) Inbound Parameters.
    8.     Enhancement can be done in inbound IDOC as per the business requirement. Business has confirmed Field name wise Inbound IDOC data which will be received from vendor and all fields are available in the standard IDOC type DELVRY05.
    Please help if anything more required for posting dummy idoc .
    Thanks and regards,
    koshti

    Hi Dick,
    just one additional hint as we had recently such problems :
    It my happen that DESADV creates an inb.del <b>w/o</b> packing the HUs (idoc status is 'yellow' instead of 'red'). To avoid this OSS #912470 is the solution.
    Kind Regards
    Kay

  • SAP Query Custom Field with ABAP Code

    Hi All,
    I have a custom field in my SAP query which has some ABAP code under it. The code finally writes some value to a variable. My question is do i need to explicitly link the variable in the ABAP code to the custom field OR it's done automatically. For some reason i don't see any value for this custom field. Thanks.

    Thanks Sandra

  • Procedure to create Custom IDOC

    Hi everybody,
    Can any one suggest me any link or document where can get step by step procedure to create a Custom IDOC in SAP. If no document, pls send me any good procedure to do so. Thanks in advance.
    Santosh.

    Hi,
    Creation of Custom IDOc type and message Type
    First Create Partner Profile(WE20 Tcode) and Port Definition in WE19 Tcodes.
    1.First create segments in WE31 Tcode with the required dataelements
    2.Create the Basic Idoc Type in WE30
    release the Segments and IDOC type.
    3.Create Message type in We81
    4.Assign the message type to IDOC type in WE82 T code
    5.Create the process code in We41 (for Outbound) WE42 (for Inbound)
    6.Create A fun module in SE37 starting with ZIDOC_OUTPUT_.. by copying some Inbound (for Inbound) Outbound Fun module
    7.Create Workflow setting if needed ..
    8. Assign the fun module to Idoc Type, Message Type and WF object (if it is there)
    9.Define setting for fun module in BD51
    10.In BD51 Define the settings for Fun module..
    10.Assign the Processs Code to Fun module

  • FUNCTION MODULE RELATED TO CUSTOM IDOC

    HI ALL,
    i have an requirement to create a catsdb custom idoc with four fields
           1.Personnel Number
            2. Date
            3. Activity Type
            4. Counter
       I created a custom idoc and had successfully send to receiver. now that idoc should be updated into databse tables.  here my problem is how to create a function module which should take care of updating data into database table at receiver side and also when i checked using WE02 at receiver side its showing an error 'Function module not allowed: IDOC_INPUT_STATUS' . for creating a process code i used IDOC_INPUT_STATUS function module at receiver side.
    is there any fm that automatically takes data and updates into databse table ctasdb at receiver side or if u want to create a custom Fm how to do it.
    any help will be highly appreciated.
    with regards,
    Suresh.A

    Hi,
    So for creating a process code you used IDOC_INPUT_STATUS function module at receiver side. whats that?
    Process code is created using tcode: we42 isn't it?
    What did you do please tell me.
    Thanks
    Dan

  • Issue in Program for mass creation of customer plans.

    Hello all,
    I am working on a program which helps mass creation of customer plans. My code works well, when no planning account is assigned,  but when I pass the planning account value into the Function module, it gives me an error saying ' Account cannot be displayed, please check your authorizations'. I donot have this problem, when I manually createthe customer plan in the CRM_UI.
    Please let me know the possible cause for this kind of message.
    Thanks,
    Disha.

    Hi Dishaa,
    I'm afraid that I don't have any other clues. Most often it is a difference in user. If you are absolutely sure that you are using the same user at the exact moment the authorization is checked it cannot be that.
    Kinda curious now what the solution to your problem is....
    Best regards,
    Guus
    Edited by: Guus Jansen on Feb 14, 2011 1:32 PM

  • Regd: Custom IDOC

    Hi,
    I have a requirement where in there is a custom IDOC with two message types one for inbound and other for outbound processing. The custom IDOC uses the following segments
    E1EDK01(Mandatory) , E1EDK02, E1J3K03, E1EDK14, E1EDP19.
    Now if i want to generate an idoc from data of Ztables. So i may require that i have to use
    some of the segments more than once. So i am planning to use the qualifier field in the segment (E1EDK14)  to distinguish the data and also i am using (J_3AQUALF, IDDAT)
    field in segment E1J3K03 for distinguishing some more data.
    Is this the correct way of doing it or is there an other way?
    Please advise.
    Thanks,
    Das.

    Hi Das,
    It is a correct way to distinguish data using qualifier in IDoc and also for mapping purposes as well.
    Regards,
    Ferry Lianto

  • Vendor Master Creation through IDoc with Multiple Company Codes

    I am trying to create vendor masters sent from a 3rd party into SAP using CREMAS05 IDoc.  I have the requirement that the vendor should be created in each of 3 company codes and the vendor number is internally assigned in SAP.
    I create my IDoc with the general data E1LFA1M and multiple E1LFB1M & E1LFB5M Children.  When I post the IDoc using IDOC_INPUT_CREMAS which uses Call Transaction, the vendor gets created for the first company code, but the IDoc errors on the vendor extension XK01 for the next company code with the error: "Fill all required fields SAPMF02K 0111 ADDR1_DATA-NAME1". 
    In debugging through this, it appears that the vendor number that gets created in the first XK01 transaction does not get passed into the data for the second XK01 call and SAP tries to create a new vendor instead of extending the newly created one.
    If I force the value in during debug after the initial call transaction into the variable h_lifnr, it works fine (Vendor created with multiple company codes.
    Any help would be greatly appreciated.
    -Larry

    I cannot give you exact solution, but can guess why this is happening, below is what I believe.
    I think Synchronous update is not happening in call transaction, second transaction is getting processed before the first one is saved, debugging it works fine, because we give system enough time to save while processing.
    Generally in call transaction we have MODE, if we pass S - then synchronous update happens, in your case, you need to find the way to incorporate this.
    Hope it helps.
    Regards,
    Ravi Kishore.

  • Custom idoc process code with change pointers

    Hai gurus
    Any body tell me how to maintain the change pointers in process code of our custom idoc.
    Thanks
    Krishna

    Krishna,
    can you write your request more detailed ?

  • Custom process code and FM for custom IDoc...

    Hello Experts,
    I created a custom IDoc based from ARTMAS05 IDoc. This is because we only need 3 segments and
    the standard idoc(Artmas05) contains so many segments that we need.
    Now, will I create a custom process code and FM for this? how do I go about this?
    Thank you guys and take care!

    Hello,
                 Here are the Steps that we need to be following while creating a Custom Process Code with Custom Function Module. ( Since the Segments to be handled are very Less, I am recommending that you go for a Custom Function Module).
    1. Go to SE37 Create a Function Module. Please ensure to Create it with the IMPORT / EXPORT /TABLES parameters exactly in the way that they exist in any Standard SAP Inbound FM (Refer to IDOC_INPUT_ORDERS for example).
    2. Once our FM is Ready (Need not be Complete with the Code to go ahead with the Process Code Creation) and Active, the next Step is to Create an Entry in the Transaction Code BD51 where we will register the Function Module.
    3. Next, we'll have to go to T-Code WE57 where we'll have to make an entry for the Function Module with the IDoc Type & Message Type.
    4. Finally, go to WE42 and Create a New Process Code and assign the Function Module and the Message Type.
    NOTE 1 : The Process Code is, as we know, Client Dependent. So, once you create a Process Code, we need to have it migrated to the Testing Environment to Start & Carry Out Testing.
    NOTE 2: If Step 2 & 3 are missing, then we'll not be able to assign the Function Module in WE42 while Creating Process Code.
    Hope it was helpful.
    Thanks and Regards,
    Venkata Phani Prasad K

Maybe you are looking for

  • Finding the path to Oracle home

    Hi I am trying to get the value of "oracle home" (e.g OraDb11g_home1) and display it within my java program, not sure how to do this. One possible way it to parse the ContentsXML/inventory.xml file. The only drawback I can think of is that a user may

  • How to make acquired values to zero during exection of program

    Hi I need a help from you guys . I created a small application of Encoder , purpose of which is to increase the count values. if i have to make zero to the count values ,I have to stop the exection then run again . Is there any other method by which

  • IMac crashes when trying to run Time Machine to 500 gig Time Capsule

    After working fine for several months, every time my iMac tries to run Time Machine to my 500 gig Time Capsule the mac crashes. The grey veil cascades down the screen and I have to hold the power button down for a while to restart. Any suggestions.

  • Filtering data in DataGrid

    hi i am new to AS3. As I was going thru live docs, i was able to load data from an xml file into a DataGrid, I want to know how to make it clickable - on clicking i want a specific data of a column display in a TextArea Here is my xml <sites> <urls l

  • Webdynpro Error-Message

    Hi, do somebody know the following message? I don't know, if I did someting wrong, or if it's a error from SAP. The initial exception that caused the request to fail, was:    com.sap.tc.webdynpro.progmodel.context.ContextConfigurationException: DataN