Problem filling segment E1BPADR1 in idoc Salesorder_createfromdat201

Ladies and Gentlemen,
I have a problem with populating segment E1BPADR1 in idoc SALESORDER_CREATEFROMDAT201.  My client is already using the idoc to successfully post Inbound Sales orders.  Now, they wish to add additional address data to the Sales Order Partner Address screen.  The standard partner segment (E1BPPARNR) permits them to fill some data which they are presently filling (i.e. Name 1, Street 1, Country, etc), but they have a requirement to fill additional fields Street2, Street3, etc. 
When I add fill segment E1BPADR1, the data in segment E1BPPARNR is removed from the created Sales Order so that the data from segment E1BPPARNR is deleted, and no new data from E1BPADR1 is updated. 
Has anyone experienced similar problems, and any ideas on how to get around it?  Points rewarded for useable suggestions.
Regards,
Steve

Done

Similar Messages

  • Test idoc SALESORDER_CREATEFROMDAT201

    i have run this test idoc as inbound idoc using we-19 transaction(test tool for idoc).. when im filling the data into the segments it is asking to enter shipt-to-party or sold-to-party details..but i cannot find these fields in any of the segments..so can any one solve this...can i know what are the mandatory segments in this idoc.
    BASIC TYPE        : SALESORDER_CREATEFROMDAT201
    MESSAGE TYPE : SALESORDER_CREATEFROMDAT2

    Hi,
    I checked idoc definition in WE30 and could not find any segment defined as a mandatory segment.
    Which function module are you using to process the idoc using WE19 test transaction?
    KR Jaideep,

  • 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

  • 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

  • Missing segment in invoice idoc

    Problem: A segment in IDOC is missing. This contains the internal record text of a pricing condition type... when i look at the condition type, no changes were made to it since it's creation and it is automatically determined in the pricing condition in sales order. The condition record text is optional but the business now wants to see this text.
    Question:
    1. I want to know the reason why this segment is missing?
    2. Does the condition type has something to do with it?
    3. How can I make this segment appear in the IDOC?
    thanks and i look forward to your replies...

    Hi,
    1. Check the FM module related to this IDOC. See where this segment is being populated. Put a break-point there and debug the code where it is failing to add this segment.
    2. Once you debug the code, you would come to know that if condition type has something to do with this or not.
    3. If you want this segment to populate on IDOC then find out the user-exit in IDOC processing ( most probably in FM ) and add this segment.
    If you tell me which IDOC/message type/process code you are using, i can tell you the user-exit and i might be able to answer too why the segment is not getting populated. Also let me know which segment you are talking about
    Let me know if you need any other information.
    Regards,
    RS

  • Finding Mendatory fields in a segment of an IDOC

    Hi All,
    Can anyone tell me how to find out the mendatory fields required in a segment of an IDOC if we are going to upload data using IDOC technology.
    Thanks in Advance.

    Hi Ginger,
    Can anyone tell me how to find out the mendatory fields required in a segment of an IDOC if we are going to upload data using IDOC technology.
    The fields in the IDOC can never be made mandatory but the Segments in the IDOC can be made mandatory.
    If segment is mandatory it means that atleast one field in the Segment should be filled.
    generally while defining the IDOC Header data is made as the mandatory segment with Minimum number  1 Maximum number  1 and rest all as optional and can occur more than once.
    Hope this clarifies!
    Regards
    Shital

  • Problem with segment segment E1EDK18

    I have a problem in while processing inbound idoc.
    I am able to post the idoc and create SO, I need to delete the segmentE1EDK18.If I dont delete, I am getting
    below error
    <b>Terms of payment in IDoc E1EDK18 have been transferred: Check data</b>
    Please help me out in posting the idoc with out removeing the segment manually.

    Cyril,
    Thanks for responding, I wanted to do with out any ABAP,
    and I have done the same.

  • 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

  • Segment Hierarchy - DEBMAS IDOC Creation

    Hi All,
    I am able to create a DEBMAS Idoc successfully but the segment hierarchy does not seem to be right.
    Can somebody tell me what fields are to be filled to create the correct segment hierarchy or point me to a standard program where DEBMAS idoc segments are filled?
    Thanks,
    Meghna

    Hi,
    there is no distribution of customer hierarchy.
    Therefore you will not find a proper segment in DEBMAS* idocs types
    You may look at [note 548716|https://service.sap.com/sap/support/notes/548716].
    BR
    Alain

  • Providing E1COKEY segment for CODCMT IDocs

    Hi there,
    i try to provide information for COKEY in E1COKEY segment of an CODCMT IDoc in a customer program. An Idoc with filled E1COKEY segment is posted succesfully without any effect on the COKEY table. I suppose that providing information for COKEY in the IDoc should affect the table and fill in the information there. I try this with external number range and i refer an external numer in that segment in an E1COEP segment of that IDoc.
    What is wrong at this intention? Where do i get more information about this segment? The description in WE60 is not sufficient!
    Background is, that without filled CO subkey field = key of COKEY in COSP different units in quantities will be mixed up and added together.
    Thanks for any hints.
    Message was edited by:
            Axel Kullmann
    Message was edited by:
            Axel Kullmann

  • How to add a custom segment in standard IDoc?

    Hi,
    I want to add a custom segment in stanard IDoc type (eg. MATMAS). I don't want to go for extended idoc (copying stanard idoc into zidoc and adding custom segment).
    Please tell me.

    Hello
    Transaction BD10 uses fm MASTERIDOC_CREATE_REQ_MATMAS which in turn uses MASTERIDOC_CREATE_MATMAS to create and distribute material master IDocs.
    Fm MASTERIDOC_CREATE_MATMAS belongs to function group MV01 in package MGV. Here you will find the user-exit function group XMGV.
    Perhaps EXIT_SAPLMV01_002 might be useful for you.
    Regards
      Uwe

  • Get the value of a particular field in a segment of an Idoc

    Hi All,
    I have a requirement where I need to write a report which will fetch the value of a particular field in a segment of an idoc.
    I have the idoc number segment and field name as input parameters by which I can fetch Sdata from EDID4 but the confusion is how to find the exact field value from that Sdata. How to Map the SDATA to the segment structure.
    Please advice...

    Hi,
    I have one last doubt that may be you people can help with... The user will be giving the segment name and field name as input. So by following Kesav's code while i can get all the values in the segment structure at runtime please suggest how to display any one field from that structure given that that particular field will come at runtime.
    EX: user gives an idoc number 123 (say belonging to Orders basic type)
                                 segment E1EDK01
                                 field  BELNR.
    So i need to display the value of E1EDK01-BELNR of idoc number 123.
    Please suggest how to achieve this....

  • Error when Adding a segment to an IDOC

    Hi I have added one segment to an IDOC through one user exit and it is giving the error with status 26.
    Here I am pasting the error details,
    The segment E1IDT02 does not occur at the current level of the basic type PEXR2001 (extension ).
    This error can have several reasons:
    The segment E1IDT02 is assigned to a group whose header segment does not occur.
    The segment E1IDT02 does not exist in the syntax description of the basic type PEXR2001 (extension ).
    The sequence of segments in the group in which the segment appears is incorrect.
    Previous errors ('mandatory' segment or group missing) may be due to this error.
    Can any body help me, and let me know what can I do to avoid this.
    Thanks,
    Deepak.

    Actually in the basic type of IDOC, there is no segment with this name. But I am adding this directly in an user exit. Can you tell me what is the actual procedure to add a new segment to the basic type of IDOC
    Thanks
    ravi

  • Problem in Segment count

    Hi guys,
    I have a problem with segment count.
    I.e. I want to count the customer , on the RESPONSE fact table, with a response by MAIL channel and response date >03/11/2009.
    On the segmentation module i create a segment:
    start with RESPONSE_METOD='EMAIL' (count 107 customer)
    Keep RESPONSE DATE > 03/11/2009 ( count 12 customer)
    TOTAL COUNT OF SEGMENT 12 customer. It's wrong because the correct answer is 7 customer.
    instead
    if i create a single "level of segmentation", as follow, it's work:
    Start with RESPONSE_METOD='EMAIL' and RESPONSE DATE > 03/11/2009 (TOTAL COUNT 7 customer)
    How is possible? I try to generate log file to look query but i receive the error "no log found" ( in rpd file i set log level at 2 for the user)
    Best reguards for some suggestion
    Bye

    Hello User -
    Try setting the log level = 7 for the user in the RPD, then save the RPD, clear cache in both RPD and presentation services, and re-run the request. This should allow you access to see the log in "Settings > Administration > Manage Sessions".
    Once you do this, maybe you can paste the log in your next post and we can better attack the issue?
    I hope this helps, and please give points if you found this useful!
    Regards,
    Jason

Maybe you are looking for

  • Reader xi hangs on opening

    I am running windows 7 and have installed the latest version of Reader xi.  The highlight functions stopped working, so I clicked opened "help" there was a window that opened on the right hand side with a status circle.  This circle frose and then re

  • Normal home page (Google) supplanted by Zugo. What gives?

    Previously, when I envoked Firefox 3.6, I went straight to a Google search page - that's what I wanted. I tried to d/l a MS DVD decoder and got something called PlayIt instead. The address line when I try to start Firefox turns to http://playitall.zu

  • Patching and upgrading streams

    We have streams set up between two sites. One site is primary and the second one would be secondary or the standby system (without using DataGuard). When we go operational, which we haven't yet. I am trying to determine how we would apply patches to

  • Packaging Indesign Files - Network to Desktop to Network

    Hi - I wanted to hear from people who work with InDesign files on a regular basis. I am not a guru with InDesign - so any advice/comments would be appreciated. Our end-users currently work with InDesign CS5 and CS6. Windows 7 Enterprise x64. I unders

  • Webi Report showing incorrect prompt from bex query

    Hello Gurus: I am facing a unique problem. I have a BEx Query which has a variable. I have built implement a BADI which restricts the variable values for the BEx Query. I have created an Universe on top of the BEx Query.  And I have created a webi Re