Hi All ! need help in idoc !

Can a idoc be posted succes fully with out writting the inbound code....
What i mean is can we get the gree signal in the we02....only by writting the outbound and ale configuaration (Dist model) ?

HI,
We should write the function module than only we can the data.
Example function module .
Inbound IDoc Posting Function Module
In the receiving system, create a function module Z_IDOC_INPUT_ZRZSO_MT using SE37. Below, I have described the logic for the same.
Add Include MBDCONWF. This include contains predefined ALE constants.
Loop at EDIDC table
Check if the message type is ZRZORDER. Otherwise raise WRONG_FUNCTION_CALLED exception
Loop at EDIDD table
Append data from the segments to appropriate internal tables
For example: append data from ZRZSEG1 segment to the internal table of type ZCUSTOMERS
Update the DDic tables from internal tables
Depending on the result of the update, fill the IDoc status record (type BDIDOCSTAT) and append it to the corresponding table.
Status 53 => Success
Status 51 => Error
You can [3] download the sample ABAP code for the above function module here.
Inbound Settings
Define Logical Systems – Transaction SALE (Please refer to Outbound Settings discussed in [4] previous part)
Assign Client to Logical System – Transaction SALE (Please refer to Outbound Settings discussed in [5] previous part)
Maintain RFC Destinations – Transaction SM59 (Please refer to Outbound Settings discussed in [6] previous part)
Define Ports – Transaction WE21 (Please refer to Outbound Settings discussed in [7] previous part)
Generate/Create Partner Profile – Transactions BD82/WE20 (Please refer to Outbound Settings discussed in [8] previous part)
Assign Function Module to Logical message – Transaction WE57
Create a new entry
Specify name of the Function Module as Z_IDOC_INPUT_ZRZSO_MT
Also, specify Type as F, Basic IDoc type as ZRZORDER, Message type as ZRZSO_MT and Direction as 2 (Inbound)
Save the entry
Define Input method for Inbound Function Module – Transaction BD51
Create a new entry
Provide Function Module name as Z_IDOC_INPUT_ZRZSO_MT
Specify the Input method as 2
Save the entry
Create a Process Code – Transaction WE42
Create a new Process Code ZPCRZ
Select Processing with ALE Service
Choose Processing type as Processing by function module
Save the entry
On the next screen, select your function module from the list
Save the changes
Now you will be taken to the next screen
Double-click on Logical message
In the Assignment to logical message, specify the message type ZRZSO_MT
Save the changes
Send and receive data
On the sender system, execute the IDoc Generation Program. Check the status of IDoc using transaction WE02.
Check the status of the IDoc in the receiver system using transaction WE02. You can also check the contents of DDic tables to make sure that the records have been created in the receiver system.
Regards,
S.Nehru.

Similar Messages

  • Hi All, Need help my iphone 4 lock after upgrape ios7.1 (no service). i buy a secondhand phone not know first apple id. please advise how to normalize

    Hi All, Need help my iphone 4 lock after upgrape ios7.1 (no service). i buy a secondhand phone not know first apple id. please advise how to normalize

    You will need the original owner of the iPhone to unlock it for you, or the iPhone will remain useless.  It has been Activation Locked, which is described here:
    http://support.apple.com/kb/HT5818

  • Plz , need help on IDOC mapping

    Hi friends
    I need help on mapping IDOC (invoic02) to a customer fields to be sent to a printhouse .
    The idoc contains several Item lines , from 1  and up after for instance
    The fields  E1EDP01-MENGE and E1EDP26-BETRG  could be repeated many times , the customer wants  eah line item (quantity , price and subtotal )  in separate  lines.
    What is the best approach to do the mapping , and how can I loop in the idoc segments in order to get each line separetly.
    Many thanks in advance.

    Hi
    Thanks again , plz bear with me as i am new to this kind of assignment.
    This is a part of my requirement, so i suppose that I have to create a Data type as node for the customer fields corresponding to the node in IDOC and just map the source node to the target node , and it will repeat it self as many times as there is line items in the sales order.
    Customer fields              Idoc fields.
                        segment E1EDP01
    DETAIL_ANTAL     E1EDP01-MENGE  -  LOOP
                         segment E1EDP26
    DETAIL_STK_PRIS     E1EDP26-BETRG - QUALIFIER = 001- LOOP
    DETAIL_SUBTOTAL     E1EDP26-BETRG - QUALIFIER = 003 LOOP
    If I change the context of the source, will it not affect the source node at all.
    best regrads.

  • Hi all, need help in PL SQL?

    I am new in this industry. I have my training going on ORACLE PL SQL.
    Can somebody help me out:
    1.) How do we write program to add two numbers and then printing them as output.
    2.) How do we write program to read from a file and then write to another file.
    3.) How do we write program to send an email from your program.
    4.) How do we write program to create random numbers.
    Thanks in advance. . .

    Hello;
    This forum is dedicated for Oracle Beehive, if you need help and advices on SQL/PL-SQL please open a thread on the following forum: PL/SQL
    About your third question, if you want to send an email from Beehive the best way is to perform that through the Web Services.
    Fred

  • Need help for IDOC inbound function module !

    Hi guys please help me to create a IDOC inbound function module.
    What are the parameters and tables.
    How to write the code.
    What it does.
    Please send me one inbound func module code if possuble
                                                                                  Thanks

    Hi,
    You need to create an inbound function module. Then define the process code in transaction we42 and attach the function module to this process code.
    In the function module you create you need to define tables of types EDIDC (Control record (IDoc)), EDIDD (Data record (IDoc)) and BDIDOCSTAT (ALE IDoc status (subset of all IDoc status fields)).
    Regards,
    Soumya.

  • Need help in Idoc--very urgent.

    Hi guys,
    i am working on an object where i need to post the data from legacy system to F-27 transaction using Idoc.i hv found two idocs input_idoc_fidcc1 and input_idoc_fidcc2 for posting the data..
    Can anyone help in finding the right idoc for triggering the f-27 transaction with the reason...
    coz both are perfoming almost the same functionalities...
    its very urgent guys..
    kindly help me full marks wud be given...
    regards
    Sahil

    Hi,
    The function module is related to post the idoc type FIDCPP01
    and posts the complete FI document. and as coming to second function module along with Tax you can post item wise with holding tax dataalso. So you choose the required function module based on the data you need to post. If you need not post with holding tax details dont fo for second function modules.
    Reward if find useful

  • Need help on IDOC to file interface.

    Hi Folks,
    I am working on IDOC to file Interface. We are pushing 15 Idocs from SAP R/3 system to SAP PI. Idocs in R/3 system are in correct order. When it comes nto PI system IDOC order is diffrent.
    For Example :  I am sending 6 idocs 1000, 1001,1002,1003,1004,1005 from R/3 system. WHen these idocs coming into PI its order is changing so in PI system IDOCS order is 1000, 1004,1001,1005,1002.  But, I want IDOCS are should be same as R/3 system.
    For handling this issue, what are the necessary steps I need to follow in PI?
    Thanks,
    Enivass

    Hi Enivas,
    Check this link regarding serialing IDOC: http://help.sap.com/saphelp_nw04/helpdata/en/bd/277264c3ddd44ea429af5e7d2c6e69/content.htm
    http://www.saptechnical .com/Tutorials/ALE/Serialization/page1.htm
    Thanks,

  • Need help in IDOC Creation

    Hi Guys,
    I need to create a Vendor Master using LSMW via IDOC Process..What are all the points needs to consider..
    Thanks
    Prabhu

    In LSMW object attributes... give like this..
    Message Type         CREMAS                      Vendor master data distri
    Basic Type           CREMAS04                    Vendor master data distri
    Enhancement
    after that continue normal LSMW procedure.

  • Need help on IDoc for Picking, Packing and PGI against the Sale order

    Hi All,
    I am new to this IDoc stuffs. Below is the scenario for which I would like to know the details of the IDoc...
    Business Case:
    1. Storage location is a HU Managed but not WM managed.
    2. This storage locations is managed by a third party
    3. Outbound delivery document against the SO will be created by our personnels in SAP for this storage location.
    4. Picking, Packing and PGI needs to happen/post via Idoc. (By packing here, i refer to assign the HUs that are already created for the materials and is available in the storage location and not repacking)
    Is there any standard IDoc that can be used here to Pick, Pack and post PGI. We would like to have picking and packing in a first idoc and PGI on the second idoc.
    Thanks,
    Prashant

    Hi Typewriter,
    Thanks for your reply on this post..
    The business process is as below (it was changed recently to have the creation of OBD, pick HUS and then post GI via single IDOC)
    1. We have a storage loc in our enterprise structure that is HU managed but not WM managed.
    2. This storage loc is being maintained by a third party.
    3. SO will be created to be shipped out of this plant/sloc.
    3. The stocks at this storage loc will be Special stock "E" against the sales order. And the stocks will be Packed in HUs.
    4. The third party is informed to deliver the stocks (HUs - that do have the special stock number which internally refers to the the SO number and the line item number) directly to ship to party address in SO.
    5. The 3rd party will physically ship the HUs to customer and send in the details that they have shipped goods against the sales order.
    6. The details sent by the 3rd party will be received in SAP to create OBD for the sales order, Pick, Pack and post GI. This can happen via a single IDOC..
    I am now planning to create a custom IDOC type referring to the standard IDOC type DELVRY03 and message type DESADV and to use a custom BAPI/FM.
    Do you think I am using the right ones?
    Thanks,
    Prashant Kumar

  • Need help on IDOC

    Hi All,
       My requirement is likes this.
        I have to create a segment which will have 200 Chars field and it needs to be add to the standard IDOC type /AFS/Invoic02. And already it has to extend types. This segment should call for particular sold to's. When i tried to add new extended type to the standard type the previous extended type is taking by the program. so how to get to extended type for an IDOC type.
    Regards,
    Naidu

    Hi,
       I have added the new segment to an old extended one. when i am texting it the segment is not displaying in the second level it is diaplaying in first level.
      I have created new segment in we30 and added in we31.
    In we31 i have cancled the release and added the segment and released. After this do i need to do any activation.
    regards,naidu

  • Need help with IDOC CREMAS_03 mapping

    i was not able to figure out what values to assign to the following mandatory fields.
    BEGIN
    EDI_DC40(node not mandatory)
    SEGMENT
    TABNAM
    DIRECT
    IDOCTYP
    MESTYP
    SNDPOR
    SNDPRT
    SNDPRN
    RCVPOR
    RCVPRN
    i am trying to map the following structure to the CREMAS_03
    Vendor_MT
    VendorNumber
    LastName
    SearchTerm
    Currency
    Address
      Street
      City
      Zip
      Country
    i appreciate ur time and help

    you dont need to map EDI_DC40, In the message mapping right click on the EDI_DC40 segment and click on disable field.
    In the IDoc receiver communication channel, you should uncheck <b>Apply control record values from payload</b>
    regards
    SKM

  • Need Help on IDOC ACK

    Hi,
         i Have a doubt on ACK of IDOC.actually the scenario is file to IDOC.in this scenario we are posting PO's to SAP R/3 from a legacy system.after posting into SAP system we want to get an acknowledement back to the legacy system.for that ack which idoc type we'll use in the scenario IDOC to File?

    Hi Narayna
    Find the solution.
    This Feature is Available under SP 18 and we are on SP16
    http://help.sap.com/saphelp_nw04/helpdata/en/42/c8f66bc7a56bb0e10000000a1553f6/frameset.htm
    Check this document on handling IDOC acknowledgements. This might give you some pointers.
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/f6d2d790-0201-0010-9382-b50b499b3fbe
    nk
    http://help.sap.com/saphelp_nw04/helpdata/en/44/932e8896b610bbe10000000a422035/content.htm
    <b>Pls reward if useful</b>

  • Hi  all , Need help on Core Services , RFC and Enterprise Services

    Can  anyone provide me links on how to use Core Services , RFC and Enterprise Services.
    I need to communicate with two systems , one uses RFC and the other uses Enterprise Service , so I need to differentiate between them .

    For RFC:
    http://help.sap.com/saphelp_nwce10/helpdata/en/8f/0f6f4132f15c58e10000000a1550b0/frameset.htm
    For modelling external services:
    http://help.sap.com/saphelp_nwce10/helpdata/en/45/174ae492ef5d79e10000000a11466f/frameset.htm
    For Web services:
    http://help.sap.com/saphelp_nwce10/helpdata/en/44/f6087db2b12952e10000000a11466f/frameset.htm
    Developing first web service:
    http://help.sap.com/saphelp_nwce10/helpdata/en/46/917a26cf75581ce10000000a1553f7/frameset.htm
    http://help.sap.com/saphelp_nwce10/helpdata/en/27/e49122a62d4dc189b7308c2b0c852e/frameset.htm

  • Need help on idoc scenario

    Hi,
    I am working on idoc to file scenario.
    if idoc has some modification has done then what are the procedure do i follow.
    Is it necessery to import idoc again and do th mapping.
    Give me suggestions.
    Thanks,
    Seenu.

    Hi,
    Idoc Metadata is required in the PI System. Once the Scenario runs there should be a reference structure in PI to know what the IDoc Structure is.
    IDX2 step is not mandatory, Idoc Metadata will get automatically created in the PI server once you run the scenario. If still the Metadata is not present then add through IDX2. Provide IDX1 port configurations are correct.
    Also, in your case it's better to reimport Idoc to PI system as the structure is changed in the SAP R/3 system for Idoc.
    In PI 7.1, u can make the changes in the Mapping itself to the structure, the Mapping wn't be affected. In PI 7.0, if u do any changes in the structure , Mapping will be affected. Need to re do the Mapping.
    Thanks,
    Sreejith

  • HT1766 Hello All-  Need help retrieving photos/notes from iCloud.  Thanks in advance.

    Hello all,
    I have backed up my iphone from the settings app on my iphone to my icloud acct and I am trying to retrieve my photos and notes.  I do not see a place on my icloud home page to find these items.  When it was MobileMe it had a photo area on the homepage.  Since the change to iCloud I do not see a place...yet it says it backs up everything. So I am confused.  I would hate to have to email myself hundreds of photos and notes.  Please help- my phone is on it's last legs!
    Thank you,
    KT

    If you are syncing Notes in Settings>iCloud you should find a Notes folder in Mail on icloud.com.  Syncing photos requires turning on Photo Stream, but you won't see your photos on icloud.com even if you do.  They are only synced to devices connected to your iCloud account with photo stream enabled.  To enable iCloud (and Photo Stream on your computer see http://www.apple.com/icloud/setup/).

Maybe you are looking for

  • Adobe Form Layout is not loading from webdynpro abap

    Hi Experts, I am creating adobe forms using webdynpro.If i double click on the adobe form name from UI element properties,i am getting an error: 'Error while opening document' Also in diagnosis it is written as: 'An error occured in the desktop appli

  • Problem with thumbnails in Bridge CS4

    I was having a problem with Adobe Bridge crashing on me when I was looking at a large amount of images - like all my 2011 images. I'd read online that I needed to purge my cache and delete my preferences by holding down the ctrl key when starting Bri

  • Final Cut Pro X- automatically changes video color

    When I bring new media into a project, in the viewing screen it changes the color. I have turned off all color settings and the problem still consists. In the project editing strips the color is fine but when viewing it is tinted purple. Any help?

  • Debugging data in spatial

    I have shape file converted to oracle spatial fromat using shp2sdo.exe. I did load the data but when I try to validate it , give me the following .I do understand that 13349 means self crossing and 13356 means duplicates . How do I eliminate these er

  • How do I get Snow Leopard?

    How do I get Snow Leopard for my Mac Mini?