Reg: IDoc Process for Shipment

Hi All,
For EDI Outbound process i am using the exit EXIT_SAPLV56K_002 to populate
the new Extended IDoc type for SHIPMNT01.
The problem is when i am appending the records into the IDOC internal table in exit..and  process IDoc, all segments are displayed in Same level in we02. There are no subnodes
When i doesn't append, the the segments are displayed in heirarcy manner
in we02. with subnodes
So, i need to display Segments in heirarchy Manner with sub nodes as basic Idoc type in WE30.
ASAP.............
Regards,
Hemanth......

Hi keerthipati,
when you append (or insert??) new segments into IDOC internal table, you should make sure, that all administrative fields are filled:
SEGNUM (number of segment) is a sequential number for every segment and
DOCNUM     IDoc Number
SEGNUM     Number of SAP segment
SEGNAM     Segment type
PSGNUM     Number of the hierarchically higher SAP segment
HLEVEL     Hierarchy level
Set PSGNUM as the segment number of the segment in hierarchy directly above. Look at an existing IDOC in SE16 to see the admin data. Compare this to the view you get in WE02 (or other) and set the correct HLEVEL.
This will help.
Regards,
Clemens

Similar Messages

  • IDOC structure for shipment document

    Dear All,
      I need to know the IDOC structure to use for shipment document which will be updated with the actual shipment start end end times.(for carrier stop confirmation update interface.)
    Please let me knnow.
    Thanks in Advance.
    KCR

    Hi KCR,
    Check the Message Type SHPMNT for IDOC types SHPMNT01,02,03,04,05.
    Thanks & Regards,
    YJR.

  • IDoc processing for same message type but diff extensions

    Hi
    I want to send idoc when a material is changed. Everything is in place and have also done a test scenario. In partner profile i had the message type linked to basic type and tested which is fine. Now i wanted to have one more idoc created for another extension having the same basic type and linked to the same message type. Have maintained the same in WE20 but when i executed BD10 i could only see one idoc been generated but i need to see two idoc (one for basic type and another for the extended) not sure where i'm missing. any pointers on it pls?

    Hi ,
    if you want to trigger the idoc  two times for basic type& Extension..
    1 ) you need to maintain  WE20 Partner Profiles (This is good already you did)
              --> But the Output type for Bsic type & extension type is same so output type is triggered Once so idoc is created One.
    2) try to create another Output type in T-code NACE for extension then two Idocs is created one for Basic and another for Extension.
    Regards,
    Prabhudas

  • Inbound Delivery Idoc processing for Purchase Order

    We are trying to create a Inbound Delivery for purchase order. We are using idoc basic type DELVRY03.
    When we are processing this Idoc we are constantly getting error :
    Item 00000 of purchasing document does not exist
    Message no. ME706
    Diagnosis
    Purchase order 00000 with item was not found.
    Procedure
    Enter a different purchase order.
    We have mapped the PO and PO Item fields to Idoc segment fields E1EDL24-VGBEL and VGPOS respectively.
    Let me know if anyone came across or know the reason for this message and remdy.
    Thanks in advance.

    Hi Milind,
    Did you get this to work?
    Thanks,
    Finbarr

  • Outbound idoc process for sales order using message control

    Hi All,
        I am changing sales order using VA02 , while saving sales number IDOC is creating but I am unable to see the data filling into segments. I think idoc is triggaring in background.
      Can you please tell how I can see the data filling in to segments
    Thanks in advance,
    SN

    keep the break point in the program RSNAST00
    at this particular code.
    perform (tnapr-ronam) in program (tnapr-pgnam) using returncode
                                                             us_screen
                                                             if found.
    and also Activate update Debugging , before pressing the save button in VA02.

  • Restrict IDOC processing through output control

    Hi,
    We want to send one idoc (ORDERS) only to a particular logical system while creating purchase order through output control
    Can anybody explain how we can restrict sending idoc to only one logical system?
    Thanks in advance

    You can control output processing for shipments(VT01n docs) based on overall status by maintaining Activity profiles for shipment types.
    SPRO: Logistics execution->Transportation->Shipments->Define and assign activity profiles.
    Type a variant name in the status field you want to process edi for the shipment type and click on maintain.
    Select shipment checkbox in the 'Print after save' box and enter the EDI output type.
    Regards
    Sridhar

  • Essential Transfer Parameters Missing in record during Inbound IDOC process

    Dear Gurus
    We are creating a Inbound delivery in one system, we have made all the custom settings for IDOC processing for inbound and outbound idoc in both the systems. Upon the execution of inbound delivery, the system 
    During the Inound delivery processing, the outbound IDOC is successfully distributed. However in the receving system, the IDOC is not posted and it throws the below erroe\r
    Essential transfer parameters are missing in record: 0180000055 000010 / Mess number 561 and message type E
    We are using Outbound IDOC mess type DESADV basic type DELVRY01 process code DELV with FM IDOC_OUT PUT_DELVRY
    In the receiving system message type DESADV , process code DELS, and FM IDOC_INPUT_DESADV1
    What is that which is going wrong.
    Please help me out
    Thanks

    Hello
    To create inbound delivery from outbound delivery, use following setting -
    Outbound idoc -
    idoc type - DESADV01
    message type - DESADV
    Process code - SD05
    FM - IDOC_OUTPUT_DESADV01
    Inbound iDOC -
    Message Type - DESADV
    Process Code - DESA
    FM - IDOC_INPUT_DESADV
    Idoc Type - DESADV01

  • Idoc segment for shpmnt notification for idoc type shpmnt02

    Hi gurus,
               I have to find the idoc segment for shipment notification,idoc  type which we are going to use is shpmnt02 or shpmnt01,Can any one of you please tell me the idoc segments for this idoc type with fields and table name?.Thanks in  advance.

    Hi Nagarathinam
    You can use transaction WE60 for documentation on IDOCs
    Best regards,
    Chris

  • Optimize inbound idoc process

    Hi everybody.
    Im trying to improve perfomance at inbound idoc process:
    For instance I have scheduled the program RBDAPP01to process inbound ORDERS every 5 minutes. (The number of inbound orders to proces are 300 aprox.).
    I have some question to choose the best variant to this job:
    - What's better in transaction BD51 set the FM as mass process or single process? I think to choose mass process It´d be better because the FM would be call less times.
    - What packing size I have to choose. I hope SAP recommends between 20-100.
    - Should I choose parallelling process? It´d help me to improve the process???
    Thanks a lot.
    Regards

    INBOUND_IDOC_PROCESS is the function module to be used before release SAP R/3 4.0; since release 4.0 you should use IDOC_INBOUND_ASYNCHRONOUS instead.
    Similarly as indicated by the previous posting IDOC_INBOUND_SINGLE replaces function module IDOC_INBOUND_SYNCHRONOUS for posting a single IDoc.
    Best wishes, harald

  • Creation of IS OIL TD Shipment using Inbound IDOC Processing?

    HI Expert,
    We are on IS OIL 4.72E version . As part of once of our requirement we need to process inbound shipment IDOC from SCM system and create the TD Shipment document in R/3 ..
    Delivery is already created in R/3 ; In SCM assginement of vehicle is done and IDOC is transferred to R/3.
    I want to know how to process this inbound shipment IDOC ; for creating only TD shipment not the delivery as it is already exist.. what is the process code and function module to be given in partner profile....
    Kindly explain me step by step if possible....
    Regards,
    Adityakumar Waghmode

    Hi,
    Function module field is used to define the path functionality of file generated.
    EDI_PATH_CREATE_CLIENT_DOCNUM is the recommned fucntion by SAP .
    Function is used to prevent unprocessed files being overwritten.Tihs function generates file directory path dynamically.
    Hope this helps.
    Thanks.
    Mark points if helpful.

  • A/R process flow with notice of readiness for shipment

    Hi,
    I'm trying to implement the following A/R process flow:
    - sales order
    - xx% A/R down payment invoice
    - notice of readiness for shipment
    - incoming payment
    - delivery
    - A/R invoice (xx% down payment to be deducted here)
    What's the best way to implement it?
    Thanks
    Fabio

    Hi,
    no, it's something different. It is because we want to be paid before shipping anything.
    In more detail:
    - we request a certain amount of down payment after the order and before starting production
    - we request final payment before we deliver goods
    Thanks
    Fabio

  • Working on LSMW using IDoc method for processing Open Sales Orders

    We are currently in middle of creation of a new instance of production for a different Business SBU. We are looking to utilise the LSMW tool using IDocs for uploading / transferring the open orders to the new box. If some one has worked on LSMW using IDocs, please get in touch and if you could share any documents on the process of utilising the LSMW tool using Idocs for any kind of conversions, it would be great. The following is a sample case.
    1. Each order will have multiple segments with different qualifiers under various segments.
    2. Multiple line items would be available under each order.
    Issues we are currently looking to solve :
    1. How do you manage to loop through the qualifiers during processing for the same segment.
    2. How do you prepare the tool to recognise the multiple line items of the same order.
    3. What kind of strategy needs to be used to create the input data file(s). Like, splitting the header and detail level information ?
    Note  : The volume of data we are looking at is somewhere around 40-60 thousand orders worldwide.
    Thanks in Advance.

    hI vikram check this link
    and reward points if helpful
    http://www.****************/Tutorials/LSMW/IDocMethod/IDocMethod1.htm
    http://www.jt77.com/system-dynamics/model-01395.html

  • Freight capitalization for STO process using shipment cost document

    Dear MM experts
    I have been testing and trying to charge freight to material using transportation module. I know how to do it in simple STO process without SCD (shipment cost document) but I am not able to do it with SCD.
    I have searched and tried every link I found on SCN. Unfortunately there are many open threads and non of them is answered or giving complete solution. For example I have tried this link where Ajit Kumar has explained the scenario in detail I am but unable to achieve my result. I have also tried other links and SAP note 427944 as well.
    Now what thing confusing me is accounting entries and documents/steps where these accounting entries will be posted.
    My current process is like this in plant to plant transfer under same company code
    STO > OBD > Shipment Document > PGI > Accouting Entry with 641 movement type. Material account debit and same account credit. > Shipment Cost document > GR with 101 without any accounting entry > Transfer freight cost to FI using Freight Service PO determination > Accounting Entry Freight Outward Expense Debit and Freight Clearing Account Credit > MIRO > Accounting Entry Freight Clearing Debit and Vendor Credit
    As you can see we are booking freight as an expense and not charging to material. Now what I want is that freight should be charged to material. If I am sending material from plant P000 to plant P201 under same comapny code then freight charges should be added in material cost in plant P201.
    I have done FRB1 condition type with accrual and copy shipment cost tick mark and other stuff suggested in all those threads but it is not working.
    My requirement is to understand the points where and what accounting entries will be created as per my new scenario which is same as old one except one difference which is to charge freight to material instead of booking expense in freight service PO.
    Lets take an example that material cost price is 100 and freight charges is 50. Now as per old threads at the time of GR against OBD system will create accounting document with 150 debiting the stock in plant P201. What about credit? If we have added freight here then what about 2nd accounting entry in my first scenario in which freight expense is debited and clearing account is credited? Could anyone please explain accounting entries and points where these entries will be posted?
    Another thing is that is it only possible with moving average price to charge freight to material or can we do this with standard price as well using some standard or customized solution?
    Detailed and easy to understand answer will be highly appreciated.
    Thank$

    Hi Moazzam ;
    Firstly, you can benefit Badi/s in package VTRA which is given belowed.
    Secondly , i think that  shipping method --> create sto with delivery --> create shipment document and shipment cost document (problem is starting so system will be create PO and service entry sheet automatically , can you try shipment document is non-related with cost document.
    Thirdly , you can post invoices charge to material with miro , if you success to direct freight costs to stock account (BSX).
    Also , you can benefit doc. sap behaviours for Std price/ Map --> Planned & unplanned delivery costs in mm
    I hope , you can manage your process ; for me standart way is the best.
    Regards.
    M.Ozgur Unal

  • RBDAP001 causing a short dump when submitted in a FM for IDOC processing

    Hi All Gurus,
    I have a situation wherein I need to automate the processing of failed INBOUND IDOCS.
    So the status of failed IDOCS could be 51 or 64 or anything like that.
    I tried using statement 'SUBMIT RBDAP001 with......'. in a custom FM , however I got a short dump.
    When I debugged I realised that RBDAP001 pops up a screen with the final IDOC processing result which probably may be the cause of dump. Dump message is 'CNTL_ERROR'.
    <u>So is there a way how I can suppress this screen</u> <b>OR</b> <u>use any other function module to process these inbound Idocs.</u>
    Appreciate your advise on same.
    Thanks and Regards
    RK

    Hi Rajiv,
    Please use program RBDMANI2 to reprocess IDoc with status 51.
    Also check program RBDINPUT for reprocessing IDoc with other statuses.
    Hope this will help.
    Regards,
    Ferry Lianto
    Please reward points if helpful.

  • Function module creation for IDOC processing...

    hi Experts,
                 i want to create a function module for idoc processing..
    message type: zashpmnt
    idoc type : shpmnt05
    plz tell me which standard FM is used... and tell me what changes i want to do in it....
    Tnx in Advance..

    Hello,
             If you are trying to process an Outbound IDoc for the SHIPMNT05 IDoc Type with an Extension, you can use the IDOC_OUTPUT_SHPMNT Function Module which is assigned to SHPM Process Code.
           In Addition, since you have an IDoc Extension, you are required to populate the Custom Segment / Fields. For this, there is a Customer Function / Exit called EXIT_SAPLV56K_002 which you can use it for adding your Custom Segments to the IDoc ZSHPMNT05.
           If you are writing code in this exit, make sure to create a Project in CMOD.
           Also, ensure that you've made the assignment in WE82 with the Message Type , IDoc Type & the Extension.
           For Inbound, if you would like to Create a Custom Function Module, you can follow the Naming Convention Z_IDOC_INPUT_SHPMNT for which you are required follow the below Steps.
    1. Register the FM as Inbound FM in BD51 T-Code.
    2. Assign the FM to IDoc Type & Extension in WE57.
    3. You'll need to Create a Custom Process Code in WE42 in which you are required to make add your FM.
    4. Maintain Partner Profiles in WE20.
    5. Have the Process Code Migrated to the Testing Environment as creation of Custom Process Code is a Customizing Activity and it requires a Customizing Request to be created / Migrated.
    6. Define the Parameters as defined in the Standard Inbound Function Modules such as IDOC_INPUT_ORDERS , IDOC_INPUT_DELVRY etc.
    Thanks and Regards,
    Venkat Phani Prasad K

Maybe you are looking for

  • Help with learning Elements 12

    I'm an older user.  Elements 12 is my first exposure to Photoshop.  I'm lost in the jargonese.  I cannot seem to wade through the tutorials with confidence.  I cannot afford $$ for costly seminars.  Where do I start to repair and/or resize older phot

  • Itunes doesn't see my devices

    I've recently plugged (USB cable) my ipod and my iphone in to the mac book pro that they are always plugged into for syncing and backing up via iTunes. However, now iTunes doesn't see these devices, nor any other devices I plug in. Anyone had this pr

  • Synchronizing Analog Output to Counter Input

    Hi! I'm really new to LabView. Pls help! I'm trying to obtain a set of stimulus signal and response signal from my motor for system identification. The stimulus signal will be generated by the Ao0 channel and response signal (quad encoder linear posi

  • I can't access Itunes Store from my computer (windows 7) - Itunes 11.1

    I always get the same error message: Itunes Store is temporally unavailable. Try again later. I've tried ALL "troubleshoot issues in Windows" from apple support, but I still can't access Itunes Store on Itunes 11.1.

  • Synchronization in Premiere Pro CC 2014 not working

    I keep getting this message when I try and do audio sync: All this despite the fact that I have the correct match RIGHT UNDER THE VIDEO.  This is an incredible feature, but for some reason it's not working.  Please help?