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

Similar Messages

  • Creating Conditions for Purchase Info Records using IDoc COND_A01

    Hi All,
    we are using IDOC COND_A01 to update and add conditions in ME12 transactions.
    But when we send a condition IDoc which contains 2 condition types (Segment KONP), the standard function call creates only one database entry in the table KONP. The entry in KONP is for  standard condition types PB00, but not  for company specific types (Say: ZABC) .But when we create them manually in ME12 maintaining an purchase info record  we get both the entries in the KONP database table.
    Has anyone come accross such a problem? Is there any special field in the IDoc COND_A01 which controls the creation of the condition types?
    Thanks for any answer!

    U should use basic type INFREC01 instead of NFRECMASS01.
    Within the FM there is a check for basic type like:
    check idoc type
        if f_idoc_control-idoctp <> c_idoctp_infrec01. " INFREC01
          raise wrong_function_called.
        endif.
    Edited by: Joyjit Ghosh on Sep 15, 2008 4:57 PM

  • 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

  • I need to use 1000 char in my  idoc, so how to define this in my table

    Hi,
    I am receiving a 1000 char from an external system. I should receive this through a separate segment in my idoc.But while creating a table with CHAR 1000, i am getting activation error.what could be the solution .idoc can transfer only CHAR data type. so i CANT use string.i tried using IDOCLINE data element. but for data type CHAR, only 255 length is allowed.
    Regards,
    Nakkeeran

    HI,
    what error you are getting and what declaration you are doing , if you can share then some one can help you.
    Basically there should not be any problem for declaring that.
    Try this
    data : Itab type table of  IDOCLINE .
    and this is not 255 chars it is 1000 chars long and will suit your req.
    Hope this helps you
    Raj.
    Edited by: Raj on Dec 16, 2008 3:57 AM

  • Segment filtering in IDoc -File scenario

    Hello
    I am currently working on IDoc to File scenario where I am distributing changes in materials to legacy systems. For the same I am using MATMAS IDoc and planning to use change pointers to track the changes of the same.
    The scenario is working fine but from fine-tuning perspective can i filter some of the segments from IDoc because I am hardly using few data from MATMAS IDoc.I checked the distribution model in R3 but i guess it allows us to define data filters.
    Thanks in advance.
    Regards
    Rajeev

    hi,
    thanks for the reply but i found one transaction in SAP BD56 where I guess we can specify segments to be filtered.
    Regards
    Rajeev

  • 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

  • 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

  • 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

  • Idoc segment version in idoc type

    hi,
    we have just upgraded our R/3 system from 4.6c to SAP ECC 6.0. We then tried to send idocs to SAP XI 3.0 SP 20. However the idocs failed due to wrong segment version of idoc. It did not match the loaded metadata in XI. I know that in WE20 you can control the segment version used to send to XI. In the communication channel in XI you can also set the segment version.
    So my question is: Is the correct way to handle sytems requiring diffenrent verions to import the newest metadat in idx2 and then  control the versions asper the above paragraph?
    Any comments are apreciated.
    kr Rasmus

    Hi,
    for sending IDocs to XI no adapter is necessary. It should be enough to reload the metadata in idx2:
    http://help.sap.com/saphelp_nw04/helpdata/en/ab/bdb13b00ae793be10000000a11402f/frameset.htm
    Regards
    Patrick

  • Finding Mendatory fields in an 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,
    Pls go thriugh the following forum link:
    Re: IDoc Mandatory feilds
    Regards,
    PePe

  • Modifying a message in error segment of an idoc

    Hi,
    I want to modify the error message that is getting displayed in the error segment of an idoc. It is coming form a standard message class and while debugging it was found that the control is going into a standard function which is used for generating a tranfer order . Is it possible to modify the message ? I  know the mesaage class(Standard) and the mesaage number as well.

    Hi ,
    Try this.
    You may be using a structure to populate the idoc status. Check that structure, there will be an option to give the message class and message number.
    Regards,
    Sharin.

  • 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

  • Reg: Deleting a segment of an IDoc

    Hi Experts,
    We have created an extension to IDoc (added a Z segment) in 4.7 ERP and transported to the ECC 6.0.
    I want to delete the segment in ECC 6.0, which we extended in 4.7.
    I believe one way is to delete the segment in 4.7 and export the transport from 4.7 and import into ECC 6.0
    Please let me know the ways to delete the segment from the IDoc in ECC 6.0.
    Regards,
    Venu V

    Hi Karthik,
    Thanks for the replay. I want to delete the IDoc extension (a z segment added to the basic type by using we30) in SAP ECC.
    There is a option of delete in we30. Can i use the same tcode to delete the extn of IDoc? or any other ways are there to delete the ZSEGMENT added to the basic type?
    Regards,
    Venu V

  • How To use External Message To Send IDOC From XI To R/3

    we need to split one source message to several IDOC To
    R/3,But Standard Imported r/3 idoc contains only one idoc per message,so we export the standart idoc to a
    xsd file and change it to a  multi "IDOC" segment structure and import back to xi again,after that,we create a message interface use the imported
    message type and use it to send IDOC to r/3 via idoc adapter,but at the "call atapter" step it gernarate a
    error:"Unable to interpret IDoc interface MI_IDOC_IN".
    what we should pay attention to when use external message
    to send idoc to r/3?
    (when use the imported idoc message to send  single idoc per message,it is no probelm)
    thx

    The way this works is:
    1. In your Message Mapping use the External WSDL defintion that you loaded after tweaking the "IDOC" Occurance.
    2. Then in your INTERFACE MAPPING use the orginal IDOC Name that you imported from R/3.
    3. Use the original IDOC Name in Integration Builder too.
    This should work.
    Thanks
    Ashish

  • Change segment name for Idoc created through BDBG transaction

    hi all,
    I have created a BO thru SWO1 transaction and then have used BDBG. Now for one of the segments in the IDoC which got generated automatically,i would like to change the segment name.This object was completed long time back and hence was released. Now we have been asked to get the segment name changed. But, when i try to click on the change button it says "<b>the object has been generated and hence cannot be changed"</b> Is there an work around for this? Pls reply. Thanx
    Regards,
    Venkat

    Hi,
    I have the same error. Did you solve it?
    Regards,
    Lyda

Maybe you are looking for

  • How to download a file from server to client m/c

    hi my requirement is, a form is displayed to user with a download button and onclick of download ,user will see a box with options open,save,cancel. if user clicks on open /save ,how to get the info about download is complete on client side because i

  • OS X Encrypted Disk Image Tool Buggy?

    Hi, I'm trying to create an encrypted file directory on an external HDD (My Book). I decided to try the OS X software to create one. I have tried both the following options, each of which has been buggy when transferring files into the created images

  • Outgoing Payment and Cash Account

    Hi All, When I try to make outgoing payment, I do enter the amount in payment and I try to press OK button. A message showing "A cash account is required. Choose a different account may cause inaccuracies in the cash flow report" What does the messag

  • AIR iOS app fails uploading to Apple (iTunes Connect)

    I've been trying to upload my iOS app to iTunes Connect via Application Loader but it fails every single time. I'm getting the following error(s); 'Unable to run the lipo command: ... Can't map input file ...' and 'Application failed codesign verific

  • Creating a drop down list using acrobat forms

    I'm working on a macintosh computer, sysem 10, acrobat 9. I'm a financial printer and I'm making a prepress order form in a pdf file I want to make a drop down list so that I can change print venders. The information in the drop down list will contai