IDOC related issue

I have created an Z obj in WE30 with 3 segments on it, first one is mandatory segment and hierarchy 1,
second one is hierarchy level 2 and
3rd segment at hierachy level 3 with parent segment as 2nd segment.
I created a file in application server with data. in WE19 I am trying to test the file by using 'File as template'.
After execution when I see the layout all the 3 segments data is displayed at the same level, ideally the 3rd segment should be displayed as a subsegment of 2nd segment.
But it's not happening...what could be the issue?

Did you assign the PSGNUM (and HLEVEL) values correctly in the data segments?

Similar Messages

  • Idoc related issues

    Hi
    We have designed an alv report that will display idoc details for FINSTA01 idoc.
    On clicking release button on the alv output.
    I have to work on the following requirement.
    "Map FINSTA01 to PEXR2001 to create idoc. Show the report with new idoc no and old idoc no"
    Is there any function module to map the above idocs? How we will do that. Please give me details.After mapping how can I generate a new PEXR2001 idoc programmatically.
    Regards,
    Sucheta.

    Hi
    I have used the following code for this functionality. Please suggest where I am wrong.
    CALL FUNCTION 'IDOC_READ_COMPLETELY'           "To read the segments of finst01 idoc
      EXPORTING
        DOCUMENT_NUMBER                = tb_output-idoc
    IMPORTING
       IDOC_CONTROL                   = wa_edidc
      NUMBER_OF_DATA_RECORDS         =
      NUMBER_OF_STATUS_RECORDS       =
    TABLES
      INT_EDIDS                      =
       INT_EDIDD                      = tb_edidd
    EXCEPTIONS
       DOCUMENT_NOT_EXIST             = 1
       DOCUMENT_NUMBER_INVALID        = 2
       OTHERS                         = 3
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
             WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
         * Get data from the Idoc segments
    data: wa_edidd like line of tb_edidd.
    data: wa_Z1EXNA12 type Z1EXNA12, wa_Z1EXNA13 type Z1EXNA13, wa_Z1EXNA14 type Z1EXNA14,
          wa_Z1EXNA15 type Z1EXNA15, wa_Z1EXNA16 type Z1EXNA16, wa_E1IDKU1 type E1IDKU1,
          wa_E1EDK03 type E1EDK03, wa_E1EDK02 type E1EDK02,
          WA_E1IDT01 type E1IDT01 , wa_E1IDB02 type E1IDB02, wa_E1EDKA1 type E1EDKA1,
          wa_E1IDPU1 type E1IDPU1 , wa_E1IDKU7 type E1IDKU7.
          LOOP AT tb_edidd INTO wa_edidd.
            CASE wa_edidd-segnam.
              WHEN 'E1IDKU1'.
              wa_E1IDKU1 = wa_edidd-sdata.
              WHEN 'E1EDK03'.
              wa_E1EDK03 = wa_edidd-sdata.
              WHEN 'E1EDK02'.
              wa_E1EDK02 = wa_edidd-sdata.
              WHEN 'E1IDT01'.
              wa_E1IDT01 = wa_edidd-sdata.
              WHEN 'E1IDB02'.
              wa_E1IDB02 = wa_edidd-sdata.
              WHEN 'E1EDKA1'.
              wa_E1EDKA1 = wa_edidd-sdata.
              WHEN 'E1IDPU1'.
              wa_E1IDPU1 = wa_edidd-sdata.
              WHEN 'E1IDKU7'.
              wa_E1IDKU7 = wa_edidd-sdata.
              WHEN 'Z1EXNA12'.
              wa_Z1EXNA12 = wa_edidd-sdata.
              when 'Z1EXNA13'.
              wa_Z1EXNA13 = wa_edidd-sdata.
              when 'Z1EXNA14'.
              wa_Z1EXNA14 = wa_edidd-sdata.
              when 'Z1EXNA15'.
              wa_Z1EXNA15 = wa_edidd-sdata.
              when 'Z1EXNA16'.
              wa_Z1EXNA16 = wa_edidd-sdata.
            endcase.
            clear wa_edidd.
          endloop.
          data: tb_idoc_contrl type standard table of edidc with header line,
                tb_idoc_data type standard table of edidd with header line,
                tb_idoc_status type standard table of BDIDOCSTAT with header line,
                tb_ret_var type standard table of BDWFRETVAR with header line,
                tb_serial_info type standard table of BDI_SER with header line.
           clear wa_edidd.
          loop at tb_idoc_data.
           tb_idoc_data-DOCNUM = wa_edidc-docnum.
           tb_idoc_data-segnam = 'E1IDKU1'.
           wa_E1IDKU1-BGMTYP = 'PEX'.
           wa_E1IDKU1-BGMNAME = 'REMADV'.
           tb_idoc_data-sdata = wa_E1IDKU1.
           append tb_idoc_data.
           tb_idoc_data-DOCNUM = wa_edidc-docnum.
           tb_idoc_data-segnam = 'E1EDK03'.
           tb_idoc_data-sdata = wa_E1EDK03.
           append tb_idoc_data.
           tb_idoc_data-DOCNUM = wa_edidc-docnum.
           tb_idoc_data-segnam = 'E1EDK02'.
           tb_idoc_data-sdata = wa_E1EDK02.
           append tb_idoc_data.
         tb_idoc_data-DOCNUM = wa_edidc-docnum.
          tb_idoc_data-segnam = 'E1IDK02'.
          tb_idoc_data-E1IDK02 = wa_E1IDK02.
          append tb_idoc_data.
           tb_idoc_data-DOCNUM = wa_edidc-docnum.
           tb_idoc_data-segnam = 'E1IDT01'.
           tb_idoc_data-sdata = wa_E1IDT01.
           append tb_idoc_data.
            tb_idoc_data-DOCNUM = wa_edidc-docnum.
           tb_idoc_data-segnam = 'E1IDB02'.
           tb_idoc_data-sdata = wa_E1IDB02.
           append tb_idoc_data.
          tb_idoc_data-DOCNUM = wa_edidc-docnum.
           tb_idoc_data-segnam = 'E1EDKA1'.
           tb_idoc_data-sdata = wa_E1EDKA1.
           append tb_idoc_data.
            tb_idoc_data-DOCNUM = wa_edidc-docnum.
           tb_idoc_data-segnam = 'E1IDPU1'.
           wa_E1IDPU1-DOCNAME = 'PEX'.
           tb_idoc_data-sdata = wa_E1IDPU1.
           append tb_idoc_data.
          tb_idoc_data-DOCNUM = wa_edidc-docnum.
           tb_idoc_data-segnam = 'E1IDKU7'.
           tb_idoc_data-sdata = wa_E1IDKU7.
           append tb_idoc_data.
           tb_idoc_data-DOCNUM = wa_edidc-docnum.
           tb_idoc_data-segnam = 'Z1EXNA12'.
           tb_idoc_data-sdata = wa_Z1EXNA12.
           append tb_idoc_data.
           tb_idoc_data-DOCNUM = wa_edidc-docnum.
           tb_idoc_data-segnam = 'Z1EXNA13'.
            tb_idoc_data-sdata = wa_Z1EXNA13.
            append tb_idoc_data.
           tb_idoc_data-DOCNUM = wa_edidc-docnum.
           tb_idoc_data-segnam = 'Z1EXNA14'.
            tb_idoc_data-sdata = wa_Z1EXNA14.
            append tb_idoc_data.
           tb_idoc_data-DOCNUM = wa_edidc-docnum.
           tb_idoc_data-segnam = 'Z1EXNA15'.
            tb_idoc_data-sdata = wa_Z1EXNA15.
            append tb_idoc_data.
           tb_idoc_data-DOCNUM = wa_edidc-docnum.
           tb_idoc_data-segnam = 'Z1EXNA16'.
            tb_idoc_data-sdata = wa_Z1EXNA16.
           append tb_idoc_data.
          endloop.
          move wa_edidc to tb_idoc_contrl.
           wa_edidc-DOCTYP = 'PEXR2NA1'.
           wa_edidc-MESTYP = 'REMADV'.
           wa_edidc-IDOCTP = 'PEXR2002'.
           wa_edidc-cimtyp = 'PEXR2NA1'.
    DATA: W_DOCNUM TYPE EDIDC-DOCNUM.
           CALL FUNCTION 'IDOC_WRITE_AND_START_INBOUND'
             EXPORTING
               I_EDIDC                             = WA_EDIDC
             DO_COMMIT                           = 'X'
            IMPORTING
              DOCNUM                              = W_DOCNUM
             ERROR_BEFORE_CALL_APPLICATION       =
             TABLES
               I_EDIDD                             = TB_IDOC_DATA
           EXCEPTIONS
             IDOC_NOT_SAVED                      = 1
             OTHERS                              = 2
           IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
           ENDIF.
    data: tb_status type table of  BDIDOCSTAT with header line.
    append wa_edidc to tb_idoc_contrl.
    CALL FUNCTION 'IDOC_INPUT_REMADV'
      EXPORTING
        INPUT_METHOD                = 'A'
        MASS_PROCESSING             = ' '
    IMPORTING
      WORKFLOW_RESULT             =
      APPLICATION_VARIABLE        =
      IN_UPDATE_TASK              =
      CALL_TRANSACTION_DONE       =
      TABLES
        IDOC_CONTRL                 =  tb_idoc_contrl
        IDOC_DATA                   = TB_IDOC_DATA
        IDOC_STATUS                 = tb_idoc_status
        RETURN_VARIABLES            = tb_ret_var
        SERIALIZATION_INFO          = tb_serial_info
    EXCEPTIONS
      WRONG_FUNCTION_CALLED       = 1
      OTHERS                      = 2
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
         endif.
    The problem is tb_ret_var is returning nothing. When I am testing the newly generated idoc w_docnum of 'IDOC_WRITE_AND_START_INBOUND' fm in we19 it is generating a new idoc no. But the status of that idoc is 56. I am not getting the payment advice no.
    Please suggest what to do next
    regards
    Sucheta

  • In PP Interface related issues the role of functional consultant

    In PP Interface related issues what is the role of functional consultant .  what is the approach steps to analyse and resolve the issues  in XI, interface, idoc, etc.,

    For issues relating to interfaces, a functional person would need to diagnose what is causing the issue & thereby informing the technical person where to fix it, if the issue is due to system setup.
    As regards to the steps, I just wish there was a manual which read something like
    10 steps on how to analyze....
    unfortunately there is none that I have come across or even if one is ever written on those lines will be very specific, so not much of use for your need. A good approach would be to have a clear understanding of what the interface is supposed to do, which would assist you in fixing the issues.

  • Can we set up a forum for Security related issues?

    I know many of us think security is a Windows related issue, but from time to time there are security issues that may come up. I had a question so I looked and couldn't find a forum, so I posted in one of the OS X 10.6 sub forums.
    Thanks!

    I am a co-founder of Calendar of Updates http://www.calendarofupdates.com/updates/index.php?act=idx This is a site that is primarily a Windows based security forum (I switched about 4-5 years ago). Over the years, I've tried to grow the Mac side of our forum, but, as you may know, there is little or no interest in security within the Mac community. For many, the feel security is a Windows issue.
    It's a free site, so don't think I have a vested interest in growing the membership, I'm not an owner, either.
    I just created an *Apple OS X Security Issues* forum http://www.calendarofupdates.com/updates/index.php?showforum=209
    Right now it's an empty forum since it was created 10 minutes ago. Please feel free to join the forum and share security related issues and questions.
    I am not aware of any other forums that deal with OS X security issues
    exclusively, so this forum could be a good place to bookmark and visit from time to time.

  • To everyone with IOS6 Sound related issues & Others

    If you are facing a problem of not having any system sounds, notification sounds, no calls or other software sound related issues I'd suggest you read below it's a stupidly simple fix and it should solve most software issues after an immediate iOS6 update:
    After updating unplug the phone from your computer and leave the phone alone for 5-10 minutes, if you still have problems: reboot, wait a few minutes and all sound related problems should be fixed.
    When I updated to iOS 6 I had lost my system sounds, so I unplugged from the computer, rebooted the phone and still no go. I decided to just let the system "settle in" for a bit, let it lock and when I unlocked after 5-10 minutes sounds were back and everythings up and running again.

    Well, to break it down. After my sounds finally came back (2nd time losing them) last night I decided to restore the phone in itunes. I did it twice. First time I backed up my data. Second time I restored it as a factory iPhone. Both times guess what NO SOUNDS! I also realized that last night I had lost my sounds after charging my phone and unplugging it from the data cord. I still have ringtones (when someone calls), but text messages, emails, and any other alert tones do not work. I cannot turn the volume up or down with the side buttons and also music does not play. It doesn't even have a slide bar at the bottom.
    I am on the phone with apple care now. They seem to not be aware of the problem at all.
    While I was on the phone with them my sounds ended up coming back, imagine that. Hopefully every time I charge my phone I am not going to have this issue.

  • Many Sporadic Preview Related Issues

    Not sure if this is where to post/report Lightroom 5 issues or not, but here are preview-related issues I am experiencing...
    Preview panel "preview" freezes indefinitely.
    App very slow to load while creating new previews. (previews take forever to create and update)
    Wrong previews showing for wrong images when swapping between folders, etc. (ie: all photos, last import, custom collections)
    This one is a little different...
    Ratings lost when switching between folders, etc. (ie: all photos, last import, custom collections)
    This was a clean install that ran beautifully at first. Started noticing this more and more after using the spot tool. (my last step in processing a job)
    I use separate catalogs per job. Some as small as a few dozen images. (family stuff) Others, as large as 500-600. (engagement and wedding clients)
    Hope you are working on this. It's making work a struggle. I'm not just a "consumer". ;-)

    This is a user to user forum so the responces you recieve here will mostly be from users like your self. I am sure someone will respond on how to help dealing with the problem you are experiencing.
    The official forum for reporting bugs and making feature requests is at the web link below.
    http://feedback.photoshop.com/photoshop_family/products/photoshop_family_photoshop_lightro om

  • Unicode related issue in 4.6c to ECC 6.0 upgrade

    Hi
    I am doing upgrade from 4.6c to ECC 6.
    Here I am getting one unicode related issue.
    "The data object A948 does not have a component called ZZMATWA.".
    This type of issues , how can I resolve.
    I am very new to upgrade, Plese do help me.
    Regards
    Sandeep Reddy.

    Hi,
    Can you give the error what you are coming across.
    Regards,
    Suhas

  • IDOC related to employee deta

    Hello,
    Can anyone send me an example in IDOC related to employee details
    What are the steps to be followed for triggerring IDoc.
    Regards,
    Libin

    Hi Libin,
    As for finding your needed idoc.
       1. Choose the transaction WE09 (SAP Menu ® Tools ® IDoc Interface/ALE ® Administration ® Services ® IDoc Search by Contents ® WE09).
       2. Choose the Data Source button to specify whether you want to search for IDocs from the database or the archive (or both) .
       3. If you have set the u201AArchiveu2019 flag, you can select files in the archive information system, or  manually.
    Regarding to the steps to trigger an idoc , search SDN. But before that you will need to do ALE settings.
    http://help.sap.com/saphelp_nw04/helpdata/en/d5/edf15ddcdc11d1890c0000e8216438/frameset.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/dc/6b815e43d711d1893e0000e8323c4f/frameset.htm
    Rgds
    joel
    Edited by: joel trinidade on Feb 23, 2009 5:46 PM

  • Idoc related issuse

    Dear all,
    I have some problem in idoc related issuses.i preparing technical documents from FS.
    There are some filds coming from the client system to sap systmm,.there r nearly 7 field(parent).
    And 9 fields (childs).this is from cls to WBI . I have to conclude TO fileds fromWBI to sap.
    How can I pick the fields , shall I send all the fields or some paticuler fields only.. can any one …
    regars
    vc

    Hi Libin,
    As for finding your needed idoc.
       1. Choose the transaction WE09 (SAP Menu ® Tools ® IDoc Interface/ALE ® Administration ® Services ® IDoc Search by Contents ® WE09).
       2. Choose the Data Source button to specify whether you want to search for IDocs from the database or the archive (or both) .
       3. If you have set the u201AArchiveu2019 flag, you can select files in the archive information system, or  manually.
    Regarding to the steps to trigger an idoc , search SDN. But before that you will need to do ALE settings.
    http://help.sap.com/saphelp_nw04/helpdata/en/d5/edf15ddcdc11d1890c0000e8216438/frameset.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/dc/6b815e43d711d1893e0000e8323c4f/frameset.htm
    Rgds
    joel
    Edited by: joel trinidade on Feb 23, 2009 5:46 PM

  • Any BAPI or IDoc related to Warehouse Bin Master conversion

    hi all,
    Is there any BAPI or IDoc related to warehouse Bin Master conversion?
    Regards,
    Asha

    There is no standard BAPI / IDOC for this.
    Created custom BAPI for this.

  • How to add data in related issue field in issue tracking list sharepoint 2013

    Hi,
    I'm using out of box Issue Tracking List. In Related Issue I want to add some data like :- Business, Technical, HR, Contractor etc in right side so user can select one of them add it. Not sure how to add these data in Related Issue column. Please advice.

    Related Issues is a lookup column to the same list which is Issue Tracking List. so you can add new items where title is Business, Technical, HR, Contractor etc then you will get those under related issues.
    My Blog- http://www.sharepoint-journey.com|
    If a post answers your question, please click Mark As Answer on that post and Vote as Helpful

  • How to Handle BARCODE related issues in WebDynpro ABAP

    Hi All,
    How to handle barcode related issues in WDA?
    is it possible in WDA or not?
    please provide information or any links related..
    Thanks,
    raj.

    Hi ,
    You just need to install the software comes with the barcode scanner in the local PC and while reading you have to put the cursor on the field like inputfield . a barcode when interpreted by scanner is nothing but alphanumeric words.
    Regards
    Yash

  • Performane related issue in Production Server

    Hi,
    when i deploy the whole application in development server (by remotely logging into client server through vpn) it works fine .
    But when it is run at client side for system testing, user acceptance testing and
    integration testing it becomes very slow .
    Due to this performance related issue , we are not able to transfer the DCs to production server .
    We are sure it is not coming from R3 side (BAPIs etc) . It is coming either from the Webdynpro or Portal side .
    Can anybody help out regarding how to solve this issue .
    Thanks .

    Hi Narendra,
    Please elaborate what is QAS customization and production  customization.
    TR has been done properly.
    Let me give you an overview of the project.
    In Organisational Assignment a Zprogram has been written which captures additional information like Grade Code, Designation Code & Pay Sheet Code
    Its a govt. client. Combination of Grade Code & Designation Code is Pay Scale Grouping
    e.g if Grade Code is A01 & Designation Code is A005
    Pay Scale Grouping is A01-A005
    If we put the values in 0001(Org Assignment) for Grade Code(A01) & Designation Code(A005), A01-A005 comes automatically in Pay Scale Grouping for a particular Pay Scale Structure.
    But now the problem is Pay Scale Type doesn't come get defaulted in 0008 for a Personnel Area & Personnel Subarea.
    I have maintained PST in Tariff & Check Assignment of Pay Scale Structure in Enterprise Structure.
    But in 0008, We have to put PST manually. Since client is having only 1 Pay Scale Area for all Personnel Area & Personnel Subarea, so we don't have to bother for it
    Please tell me where can be the error
    Regards,
    Usha

  • What is the need of xi in idoc to idoc related scenarios

    Hi all,
                                                                                    Can any one explain me what is the need of xi in idoc to idoc related scenarios.\
    we can Send Idoc with out Xi right?                                                                               
    Thanks,
    Srinivas

    IDOC to IDOC Scenario
    pass through idoc to idoc scenario
    IDoc to IDoc Scenario with High Volumes
    SM58 Error For IDOC to IDOC Scenario

  • System relate issue

    Hi friends,
    im in guess of where to post system related issue, since this is my problem
    run --> drivers --> host file,
    i couldnt able to edit & save host file.
    Tried below steps:
    1. host --> properties --> Security --> add --> everyone --> given full control also.
    2. Not able to do that in administrator account alsoWhich is the right place to post this question.
    Regards,
    Saro
    Edited by: Saro on May 17, 2011 12:48 PM

    Hi,
    Probably in your OS provider support forum?
    Regards,
    Jari

Maybe you are looking for

  • Problem while deploying a stateless Session bean

    hi, I am a beginner in J2EE. Please help.. I have encountered an error while i am deploying a session bean in IBM Webspere App Servere the eroor is D:\Program Files\WebSphere\AppServer\deploytool\itp>ejbdeploy.bat c:\account\dep loy\account.jar c:\ac

  • Boot Camp 3.3 fail to install on my iMac

    Hi, My iMac is running with Windows 7 Pro x64 wit Boot Camp 3.2. When I try to install Boot Camp 3.3 with Apple Software Update it ask me to reboot and I still have Boot Camp 3.2 running on my machine. If I download Boot Camp 3.3 and execute it manua

  • Getting the " You need to restart your computer.... " message !!

    Hello, i was checking my HD recently and it says i have some problems i need to insert the " installation disk " and repaire it. i inserted the disk and restart the Mac and pressed D once i press D it pops up a picture says " you need to restart your

  • Error Message 2330 while installing iTunes

    Alright, so first I plugged in my iPod Touch this morning, and tried to update it to 3.0. iTunes said I had to download iTunes 8.2 first ,so I did, and it went through fine. I plug in my iPod, updated it. But for some reason, it said I was still on i

  • How do I change unit price to 4 decimal for CUST_PO of Standard PO Styleshe

    Hi: We are currently using the standard "PO Output for Communication POXPOPDF" to print our PO. We like the output except for the unit price. We have the need to display the unit price with 4 decimal places instead of 2. I am new to XML publisher. Is