Segment E1ADRM4 in idoc SHPMNT05 only allows 10 partners

We have to post an extension of Idoc type SHPMNT05, with all the shipment and delivery information. For a concrete shipment, we have 15 different partners. However, segment E1ADRM4 doesn't allow more than 10 iterations. Why the system only allows to post 10 partners? Will we need to implement a new Z-segment to post the rest of the partners or do you know any other alternative solution?
Thanks in advance.

Hi Carlos,
We encountered similar issue on another IDoc type, based on which I will suggest you to do the following.
You can go to WE30 -> SHPMNT05 IDoc double click on segment E1ADRM4 and check that it is arbitrarily defined to have a maximum number of 10 records in an IDoc. This is the reason why the system won't allow you to have more than 10 of these.
Since you can't modify this as it falls in SAP name space, what you can do is to create an extension to SHPMNT05 IDoc say ZSHPMNT05 and insert a Z1ADRM4 at the same level as E1ADRM4 below it. You can instruct the EDI / Warehouse / partner to populate and send these Z1ADRM4 segments when E1ADRM4 exceeds 10.
Inside IDOC_INPUT_SHPMNT function module you can copy the Z1ADRM4 segments as new E1ADRM4 segments and insert them below existing ones in EXIT_SAPLV55K_020 in internal table IDOC_DATA
Later in FORM shpmnt_application_process, SAP processes these segments and will call function SD_SHIPMENT_PROCESS to create the shipment. I verified that there is no limitation on number of E1ADRM4 segment that can be processed here (which again shows that the number 10 is arbitrarily chosen by SAP with the belief that it will never be exceeded!)
Subsequent to this, EXIT_SAPLV55K_022 is called. Here you can delete the extra E1ADRM4 segments that you appended, so that IDoc will not fail because of syntax check, just in case. This may or may not be required, you can check out.
You can see all the above sequence of processing in IDOC_INPUT_SHPMNT -> PERFORM SHPMNT_IDOC_PROCESS -> PERFORM shpmnt_application_process
Best regards,
Vishnu Tallapragada

Similar Messages

  • Which segment in INVOIC IDoc holds Allowance value @ header level?

    Hi all,
    I want a segment in INVOIC IDoc to hold SAC (Service Allowance and Charge) Values @ Header level. Plz suggest me one. I know @ item level SAC values are stored in E1EDP26 segment. Tell me which segment i can use it for holding SAC values at header lever??
    Thanks,
    Creasy

    Thanks MxG for your reply.
    I have a scenario. I have to accommodate EDI SAC codes into SAP through IDocs(inbound vendor invoice (FB60)). I have around 4 to 6 SAC codes which have values that will be either credited or debited to GL accounts. some are at header level and some are at detail level.
    How come I implement this scenario. I have no clue to implement this scenario.
    Plz do reply.
    Thanks very much,
    Creasy

  • Add segments to an idoc already in the database?

    Hi All,
    I have a requirement to add segments to idocs that are already in the database.  I had hoped to use Function Group EDI1 to do so, but the FM EDI_SEGMENTS_ADD_BLOCK only works for creating idocs from scratch.  There is a FM EDI_CHANGE_DATA_SEGMENTS, but it appears to only allow changing segments that already exist, not adding new segments.
    How would you handle this one?  This is the first time I've been tasked with adding segments to an idoc OUTSIDE of a user exit during create, and I'm unsure how to proceed.
    Thanks,
    Bryan

    If it is standard IDoc segment, i am sure you can use this FM
    FU EDI_SEGMENTS_ADD_BLOCK
    Short Text
    EDI interface: Add block of data records
    Each call of the function module 'EDI_SEGMENTS_ADD_BLOCK' inserts a block of data records into the IDoc. In each case the EDI interface records the current position in the IDoc and appends the block of records at the end.
    The data records are transferred to the function module in an internal table. This table is NOT initialized in the function module, that is, the parent program must carry out an initialization (REFRESH) during a repeated call.
    Application data is transferred to the data record. The data record consists of a general administration part and of the field 'SDATA', which contains the application data.
    The administration part contains information that describes the data record in the context of the Intermediate Document (for example, the IDoc number).
    The fields 'SEGNAM' and 'HLEVEL' must be filled by the parent program.
    The fields 'SEGNUM' and 'PSGNUM' can be filled by the function module or can be transfered during the function module call. They are checked for consistency in this case.
    With the help of an ABAP/4 Dictionary structure, the field 'SDATA' can be split up and interpreted. The documentation for these structures can be found using the program 'RSEIDOC1'.
    The function module can only be called in 'CREATE' mode.
    Parameters
    IDENTIFIER
    IDOC_CONTAINERS
    Exceptions
    IDENTIFIER_INVALID
    IDOC_CONTAINERS_EMPTY
    PARAMETER_ERROR
    SEGMENT_NUMBER_NOT_SEQUENTIAL
    Function Group
    EDI1

  • New Header Segment in Extension IDoc

    Hi,
    I want to create a new header segment in Extension IDoc.
    I am not able to create. I want to extend the Basic IDoc DESADV01 by adding a new header segment (Batch numbers, ID's and with time stamp).
    The remaining segments should be under this segment only.
    Is it possible that or shall I create Custom IDoc?
    Thanks in advance.

    Hi,
    You can not create new header segment when extending IDoc type DESADV01.
    System only allows you to insert as child segment instead.
    If you still want to create new header segment, then you need to create a custom IDoc.
    Regards,
    Ferry Lianto

  • IDOC-Segment Created a idoc document against Billing document

    Dear All,
    Thanks in  advance.
    Already created a idoc document against Billing document and one of the IDOC segment is not in the IDOC document output segments(WE05) actually it missed the segment.
    so i want to add the segment which it was missed during generation of IDOC document against billing document.
    Example:
    a) IDOC document misses one segment let suppose "Seg1".
    b) In "Seg1" it have only one field let suppose "Field1".
    c) But "Field1" does not have any value while generation of IDOC document so it doesn't create the respective segment in IDOC document.
    d) so here, i want to edit the IDOC document to add the "Seg1" in the IDOC document and reprocessing the IDOC document.
    Please help on this issue.
    Regards,
    Sridhar.

    Hello,
              If your requirement is to have the Segment even with only 1 Field, you'll have to create an Idoc Extension in WE30.
             In order to populate the Custom Segment, Use the Customer Function '002' in the IDOC_OUTPUT_INVOIC which is EXIT_SAPLVEDF_002 where you can actually insert the Segment as a Child Segment of an Appropriate Segment.
            You can go for Custom segment with the IDoc Extension so that you dont have to manually insert the Segment again and again while reprocessing it.
    Thanks and Regards,
    Venkat Phani Prasad Konduri

  • Use of segment E1KONP in IDOC COND_A01

    We are today using the VARKEY field in segment E1KOMG in IDOC COND_A01 with all the fields in the spesified condition table for a condition type.
    Instead of generating X quantity of IDOC´s we would like to repeat the segment E1KONP with different customers. All the other fields in the condition table have the same values.
    The field customer is available in segment E1KONP.
    What can we do with the IDOC or other configuration to tell the IDOC using customer from segment E1KONP and not from field VARKEY in segment E1KOMG? We still need to use VARKEY for the other fields in the condition table, since we use som Z fields in our condition table.
    I am struggling findig documentation according to our problem.
    Best regards,
    Terje

    Hi Terje Pedersen,
    Did you get a solution to your problem?? I too am facing similar kind of problem. Instead of multiple IDOCS for COND_A01, I need to create only one.
    Please suggest.
    Thanks & Regards,
    Abhishek

  • TAX ASSESSMENT BASIS MISSING IN SEGMENT E1EDK04 FOR IDOC INVOIC

    Hello,
    Tax assesment basis is missing in segment E1EDK04 for IDOC INVOIC. In EDI messages,Tax assesment basis has to be sent in TAX segment together with VAT rate. When there is only one VAT rate this is not a problem as tax assessment basis is the total net amount (And we have it in the IDOC). On the other hand when there is more than one VAT rate in the invoice, we don't have in the IDOC the Tax assesment basis of each VAT rate.
    Did someone experience this issue ? How did you handle it ?
    Regards.
    Eric.

    Dear Eric
    The latest pack available now for these components are (for PI 7.1)
    SAP BASIS 7.11 support package 6
    SAP HR 6.04 with Support Package 44
    If you are in PI 7.0 then I suggest you download the latest patch from marketplace.
    Sourabh

  • Determining new segments for an idoc.

    hi guys,
    i have to map data on an idoc. the problem is that in the idoc there can be header and item segments. using an element referred as Id , i must be able to create a new segment for the idoc.
    can anyone please help me.
    thanks in advance

    Hi,
    You can use CreateIf Node function to create the segments based on the condition.
    <Condition>-CreateIf NodeFuction--<Node of the target segment>.
    The target segment will be created only if the condition is true.
    See the below link for more details.
    http://help.sap.com/saphelp_nw04/helpdata/en/14/80243b4a66ae0ce10000000a11402f/frameset.htm
    Regards,
    Shweta

  • Idoc SHPMNT05

    Hi,
    We are using the idoc SHPMNT05 to send shipment information to another system.
    Could you please tell me the segment type and the structure of these fields :
    - VTTK-ERNAM : Created by
    - VTTK-ERDAT : Created on
    - VTTK-AENAM: Changed by
    - VTTK-AEDAT : Changed on

    Hi Omar,
    As Edgar mention IDOC Basic type SHPMNT05 does not have above mention field.
    you can  also check with using tcode WE60 screen like below.
    you can  download all segment related  above basic type.
    If you needed  all four field then you can create extension for this basic type and assign new field in your extension segment .
    Regards,
    Prasenjit

  • Shipment idoc SHPMNT05

    Hi Idoc gurus,
    Where to find this shipment idoc SHPMNT05 specification/documents explaining each segment fields? Please direct me to the site/url link, thanks.

    I know the tcode WE30. I am searching for the a single point document explaining each segment fields in details. Any sites or link to bring me to this document/specification.

  • How do I only allow certain users to print in color?

    Product Name: HP Color LaserJet Professional CP5225dn Printer (CE712A)
    Operating System Installed: Windows 7 Enterprise (64bit)
    I work at a K-12 school and purchased the HP Color LaserJet Professional CP5225dn Printer (CE712A) for use in our computer lab. I would like to know if it is possible to have it so that only certain users can print in color (possibly put a password on it). I know the cost for color is higher, and therefore, would like it so that students have to approve through teacher if they want to print in color.
    We are running it on our Print Server (networked) not through USB.
    Thank you for the help.

    Hi,
    That's a very good question actually. In my corporate networks, we are talking about hundreds of laser printers and the ONLY thing we can do: only allow people access to a set of mono laser printers, not all printers. For example, the following printer is using B&W as default but can't stop users to print in colors if they could access to the resourse:
    Regards. 
    BH
    **Click the KUDOS thumb up on the left to say 'Thanks'**
    Make it easier for other people to find solutions by marking a Reply 'Accept as Solution' if it solves your problem.

  • I downloaded an album on itunes using my new itouch; but it's only allowing me to put three songs at any one time into the music app...how can i get it to just move them all in there?

    i downloaded an album on itunes using my new itouch; but it's only allowing me to put three songs at any one time into the music app...how can i get it to just move them all in there?

    hi philly, thanks for getting back to me, especially on such a busy day.
    I don't think that's quite the issue though. I bought an album and it appears in 'my purchases' within the itunes app. Yet, in order to listen to the music, i must use the 'music' app and in this application, there are only three tracks displayed at any one time from my downloaded album.
    I can 'download all' from the 'my purchases' section but that still doesn't help, it just keeps the last three tracks downloaded in the music app.
    I have the 'icloud' enabled and wondered if it had anything to do with that.
    i have successfully downloaded another full album totally into the music app, but this first album is causing me problems.

  • I want to set up Firefox to only allow certain pages to load - how do I do this?

    My children are having my old laptop and I dont want them to be able to 'stumble' across anything unsuitable.
    How can I set up Firefox so that it only allows pages to load from websites I choose?
    Thanx!

    See:
    * https://support.mozilla.com/kb/Parental+controls
    * http://kb.mozillazine.org/Parental_controls

  • I would like to transfer all data from my iPod classic to my new computer with windows 8.1. My old computer's cpu died. Utilizing iTunes which only allows iTunes albums purchased at iTunes store. The cd's were loaded via iTunes originally.

    I would like to transfer all data from my iPod classic to my new computer with windows 8.1. My old computer's cpu died. Utilizing iTunes which only allows iTunes albums purchased at iTunes store. The cd's were loaded via iTunes originally.

    Install disk drive from old computer in an external enclosure.
    Then copy the complete iTunes library from the disk drive to the disk drive in the new computer.

  • When I try open a .pdf file my Adobe Reader 11 only allows the download / save opening the related window and don't show me both options 1) open with ... and 2) save as.... probably someone flagged the choise... always perform this way ....

    When I try open a .pdf file my Adobe Reader 11 only allows the download / save opening the related window and don't show me both options 1) open with ... and 2) save as.... probably someone flagged the choise... always perform this way ....
    Could some one give help and let me know where I can probably find the settings option that allows me to change and switch to previous situation where it was possible to decide time to time how to proceed either opening the file or saving it ??
    Thanks in advance
    David

    What is your operating system?
    Open a PDF from where?  If online, in what browser?

Maybe you are looking for