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

Similar Messages

  • 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

  • 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....

  • Regarding Mapping of fields for Repeated Segments in an IDoc

    Hello Experts,
    We have an Orders IDoc with segment E1EDK02 with Occurence 0..10.
    In this segment there are two fields QUALF & BELNR.
    We want to map a value (Yes or No) to 2 target fields based on the incoming values of QUALF & BELNR .
    Now the problem is that for the first occurence of segment E1EDK02 the mapping is working fine.
    But for the subsequent occurences of the segment wrong value is mapped to the target field.
    The context of both QUALF & BELNR is set to E1EDK02.
    Please help!
    Thanks in advance,
    Suraj

    Hello Suraj,
    The Source structure is of IDOC Orders05
    ORDERS05                     1..1
               IDOC                    1..1
                  Segment1
                  Segment2
                  E1EDK02          1..10
                        QUALF       0..1
                        BELNR       0..1
                  Segmentn
    Target Structure
    MT_ORDERDATA             1..1
                 TargetField1        0..1
                 TargetField2        0..1
                  ORDERITEM         0..unbounded

  • To add field in the segment of an IDOC

    Hi,
    Is there any impact on other IDOC types, if a field is added in the segment of an basic IDOC type.

    Hi,
    You can add the field VGBEL in the custom segment ZE1EDL24 and add this segment as a child segment to E1EDL24 and save it as an extension for the basic idoc type.
    You can populate the VGBEL field using custom code in the function exit.
    This would solve your problem.
    Please let me know if you have any further queries.
    Thanks,
    Mahesh,

  • Procedure to find mandatory field in an IDoc Segment

    Hi all,
    Please guide me to find mandatory field in an IDoc Segment.
    Ex: I went to MATMAS05 IDoc type. I know that E1MARAM and E1MAKTM are the mandatory segments for MATMAS05 IDoc Type.
    But, I would like to know what are the mandatory fields for E1MARAM or E1MAKTM segment.
    Please guide me to find mandatory field in an IDoc Segment (for the above example).
    Thanks,
    Sudarsan

    hi,  here I have a good suggestion to solve your problem.
    Assuem you are research which field is mandatory in your mastr data inbound. Let's suppost it's a material.  You already known how to create it in online t-code, which field should be filled, which view should be inputed.
    Then, configure you material related IDOC for outbound, make sure that system will send out a material IDOC to other partner system (it can be a dummy system)when you create it.
    Then check the sent IDOC, you can find out how SAP system fill the IDOC according to your input.
    You can get to know how to fill your IDOC in this way.

  • How to look for a particular field in the segments of IDOC ?

    Hi,
    I am looking at a particular IDOC which I will use to do data trasfer from lgacy to R/3 using BAPI in LSMW. Now I know a field which is required to create a given business transaction when igrating data. But there are 100's of segments on the IDOC.
    Is there a way I can see if the given field is present in any of the IDOC segment ? I don't want to dig though each and everys egment and find it out...
    Regards,
    Rajesh

    Try using WE09..There you have the option of searching by the idoc data..CHeck in the bottom of the selection screen
    Thanks,
    Naren
    Message was edited by: Narendran Muthukumaran

  • How can I find This field in what table OBMNG (Open quantity) Tcode Me23n

    hello,
    I need to find this field in a table and not in a structure because I am doing an extract. The structure that has this field is MEPO1320, but i cant pull data from it. I tried st05, where used in  and i could not find it, can someone help? please.

    Hi,
    Go To the structure in SE11 and put the cursor on the required field and try a where used list.In the selection criteria check the checkbox Tables and continue.If not for the field chk for the data element.
    Regards,
    Lakshman.

  • Unable to find consolidate field in Time off Process application

    Hi All,
    I create an aplllication for Time off process and unable to find "consolidate" field when selecting set up block parameters .I am using portals EP 7.0 Version
    Could you please help me in getting this ...
    Thanks ,
    Nararaju.

    Hi,
       we group parameters so that the output of process actions is automatically entered as input .We can consolidate parameter at Action,block adn process levels
    follow the below steps
    1. Select your Seq Block and click on the tab "Parameters" at the bottom pane
    2. Mark all the parameter (press ctrl for multiple ) and Click on Map
    3. Supply the Name and say create
    at last do a SavaAll
    hope this will solve ur problem
    cheers
    souza

  • Unable to find 0equipment field in 0pm_measurement, pls help

    Hi all,
             unable to find 0equipment field in 0pm_measurement (Measurement Results), the problem actually here is, may be i can add the field thru LO' extraction the field 0equipment to 0pm_measurement but it is not LO's extraction we can go for, its probably thru LIS or FI procedure i suppose. but if u have a different input, pls let me know. and if we have to add the field 0equipment to 0pm_measurement how should we go about. Thanks in advance.

    Hi,
    Could u tell me which procedure u have used for this as LO extraction is not possible through this & how u have added  equipment for this,as even I have the same requirement
    Thanks
    Maya

  • Adding a new field to a segment

    Hi,
    I need to add a field(unit price) to the segment(SDPI0D01_Z940EXT1). How do I do this. Please help me.
    Thanks
    Veni.

    Hi,
    Thank you SK. The info you sent is helpfull.
    Can some one please tell me How to add a field to existing segment. I went to WE30 and gave my segment name and choose Extension, when I tried to change it, It is saying 'Already released, display possible.' Can you please give me idea on how to proceed.
    Thanks
    Veni.

  • Removinga field from the segment which is already released

    Hi Folks,
        I have created a custom segment & released it. But later when I want to remove a field from it I'm not able to do so. I tried to cancel the release of the segment & then make the required changes but while tried to cancel the release I'm getting an error saying "Error while resetting release of segment ZDATA_BASIC_SEG". Kindly let me know how could I remove the field from this segment. For your information the current release of our system is 700 & the release of segment is also 700.
    Thanks & Regards,
       santosh

    Hi Santosh,
    As you said, current release of your system is 700 & the release of segment is also 700.
    I tried to test the possible errors during the release of the segment. Please have a breakpoint in the program LEDIJF05 in the form CHANGE_CLOSE_SEGDEF.  The error could be mismatch with the previous definition of the segment, where the release is not equal to 700.
    Message Id : EA, msg no 259.
    Please check.
    Hope this helps.
    Regards,
    Satish Kanteti

  • Why can't I find the field remark when I use LSMW to create customer master

    I want to create customer master data with LSMW.
    Object               0050   客户主记录
    Method               0000
    Program Name         RFBIDE00
    Program Type         B   Batch Input
    but I can't find the field 'Comments' which is in view general data -> address.
    pls help me to find it.
    tks!

    Hi,
    This is quiet simple.
    See when you enter your Tcode in LSMW & start recording, on the first screen where you enter the customer details to create, you see a tick below "Use central adress management"
    Just tick this & record you will get comment in your recording
    Hope this helps you
    Regards,
    Dhananjay

  • From what table I can find the field STTXT?

    From what table I can find the field STTXT (Description of maintenance status)?
    Regards,
    Subhasish

    Hello,
    Have a look at thgis thread.
    what is STATUS_TEXT_EDIT function
    Vasanth

  • Problem mapping a same field to a field in duplicated segment

    Hello,
    I have a problem with my mapping. I'm trying to map a MATMAS.MATMA05 to another MATMAS.MATMAS05 iDoc. The mapping for the other fields is ok except for the LTKZA.
    The idea is to duplicate the E1MLGNM segment in the target IDOC. Then I would like to have the LTKZA field for each segment mapped to the STOFF field(wich only appears once in the origin segment), with a small function that checks the value of the STOFF.
    My problem is that the LTKZA in the first E1MLGNM segment is populated with the right value, but the one in the second segment is not populated.
    Could anyone help with this issue? Do u think I can save the value of STOFF in variable, so that I can use it later?
    Thank you all for your help.

    Thank you Gordon,
    I combined the copyPerValue function and the SplitByValue and it worked fine.
    Sorry again to post the thread in the wrong forum.
    Regards,
    Natacha

Maybe you are looking for