Idoc No field is Refreshing in bd87

Hi
I have developed a report in which after displaying in  alv format, the user will select certain idoc record and click on process button, it should call 'BD87' transaction with idoc number in docnum field of the 'BD87' selection-screen.For this I have used subimit via selection- screen using selection-screen key word. Till now it is working fine .But when I execute the BD87 transaction, the idoc field is being refreshed automatically. And I cannot get the correct solution.Can anybody help me in finding the solution.

Dear!
  After you have made sure that u completely checked fields in IMG > LOGISTIC GENERAL > MATERIAL MASTER > FIELD SELECTION > MAINTAIN FIELD SELECTION FOR DATA SCREENS there may be another reason for that.
Check whether any transaction variant has been set for mm01 (material master). Check T.Code SHDO for this.
Reward if useful.
yuvi.

Similar Messages

  • Replaced value is not getting relected in IDOC segment field

    Hi,
    Need your help for the below issue.
    I am replacing the PO # with Delivery Doc # . But the replaced value is not getting reflected in the IDOC segment field(e1bp2017_gm_item_create-po_number.).
    Function Module  which I am using is IDOC_INPUT_MBGMCR as a copy.
    Here is my code given below:
    SELECT
                SINGLE vbeln
                  INTO lx_vbeln
                  FROM lips
                 WHERE vgbel EQ e1bp2017_gm_item_create-po_number.
    Move lx_vbeln TO e1bp2017_gm_item_create-po_number.
    MOVE-CORRESPONDING e1bp2017_gm_item_create
                   TO goodsmvt_item.
    Then this is passed as  TABLE in "BAPI_GOODSMVT_CREATE".
    Please do the needful.

    Hi Dheepa,
    Check it in debug whether the filed is empty or having po#, when ur code is executed for the replacement. if it is empty, po# is populated after ur code. in this case you need to write the code in suitable place.
    Reddy

  • How to map idoc segment field E1IDB02-FIIKONTO with BSEG-ESRNR.

    Hi,
    I have searched for lot of threads in the forum , and also i tried myself but i am not able to map this fields segment with my logic, so please anyone kindly contribute in mapping idoc segment field  with the logic given below:
    idoc type :PAYEXT  outbound idoc.
    message type: PEXR2002
    This is my logic: i need to populate the ISR number(BSEG-ESRNR  ) in idoc segment field( E1IDB02-FIIKONTO)
    DATA : str1 TYPE string,
          len1  TYPE i,
          len2  TYPE i,
          str2  TYPE string,
          str3  TYPE string.
    str1 = '01-1234-4'. ---> BSEG-ESRNR  "ISR Subscriber Number
    REPLACE FIRST OCCURRENCE OF '-' IN str1 WITH '_'.
    REPLACE ALL OCCURRENCES OF  '-' IN str1 WITH space.
    CONDENSE str1.
    len1 = STRLEN( str1 ).
    IF len1 LT '9'.
    len2 = '9' - len1.
    CASE len2.
       WHEN '1'.
         REPLACE ALL OCCURRENCES OF '_' IN str1 WITH '00'.
       WHEN '2'.
         REPLACE ALL OCCURRENCES OF '_' IN str1 WITH '000'.
       WHEN '3'.
         REPLACE ALL OCCURRENCES OF '_' IN str1 WITH '0000'.
       WHEN '4'.
         REPLACE ALL OCCURRENCES OF '_' IN str1 WITH '000000'.
       WHEN OTHERS.
    ENDCASE.
    ELSEIF len1 EQ '9'.
    REPLACE ALL OCCURRENCES OF '_' IN str1 WITH '0'.
    ELSEIF len1 GT '9'.
    REPLACE ALL OCCURRENCES OF '_' IN str1 WITH space.
    CONDENSE str1.
    ENDIF.
    Thanks in Advance.

    Resolved.

  • Inbound idocs segment fields

    Hi,
    Iam new to idocs and a functional consultant. I need to know whenever we receive the inbound idocs and if i see the segments of the inbound idoc, do the fields which i see in the segments are the sap fields.????/ for instance if the inbound idoc needs to create a sales order, then the fields of the segments of such an inbound idoc are the normal sap sales order fields ??
    do i need to give functional specs to the abapers that whenever the inbound idocs is received the segments fields need to be mapped to sales order fields if such an idoc needs to create a sales order ??
    regards
    sachin

    Hi Sachin,
    Most of the IDoc segment fields are simmilar to SAP transaction fields e.g. most of the ORDERS IDoc segment fields will be simmilar to what you can see in VA01/VA02 screen fields.
    Some fields may have different names.
    In the case of few segments which may repeate in IDoc with different qualifiers (such as partner details, date segments), fields will be same but different qualifier value decides where these field values will be populated in the Order.
    If you are using standard function module to create Order, it will take care of mapping IDoc segment fields to VA01/VA02 screen fields. But if it is a Z function module, then you need to specify the mapping.
    Hope this information will help you.
    Regards,
    Mahesh Pakhale

  • IDoc string field to JDBC date field - Not working

    Hello everyone,
    Once again I must ask you something that is keeping me..
    I had a interface type RFC ASync to JDBC SQL Server, it was working fine. Then, I was asked to change to a type iDoc ASync to JDBC SQL Server.
    At first, it was not a problem, just manual work. But them, I am getting an error.
    In the RFC, I had a date field, that was directly related to the date field on the JDBC destination, so the mapping was pretty much straight forward. The SQL INSERT command was working fine on this cenario.
    Now, in iDoc, this field was automatically converted to a string, and somehow, PI is not understanding that string has to be mapped to a date field in the JDBC.
    Is there any 'workaround' for me to do this?
    Thanks!
    Ricardo Sancio Lóra
    Brazil

    The issue here is that somehow, the same SQL insert command that was working, does not work anymore.
    This is the SQL command took from RWB log monitor:
    INSERT INTO  aniversariantes_sap (matricula, nome, nascimento, unidade) VALUES (00000070, 'Ricardo Lora', '19851216', 00000000)
    If I run this query on my DB it works.
    But, in PI, it's not, here is the error:
    Could not execute statement for table/stored proc. "aniversariantes_sap" (structure "ANIVERSARIANTES_SAP") due to com.microsoft.sqlserver.jdbc.SQLServerException: Syntax error converting datetime from character string.
    I´ve tried cast() and convert() using mapping 'habilities', but also, does not work. Work if I run in the DB, but not if PI runs it.
    Wierd..
    Ricardo

  • Idoc Segment Fields

    Hi,
    I am having a problem with the display of idoc segment fields. When i check the Idoc segment contents in WE02 it is displaying the fields which dont have the value in the DB table along with the fields which have the data. To avoid this what is the procedure. I dont want to display the fields in the content of segment which does not contains the data.
    Plz help me out.
    Regards
    Santosh

    Hi,
    U have to use for reduced message type...U need to filter the segments which  u don't want...In BD53 u need to create reduced message type....
    plz go through the below link..
    http://help.sap.com/saphelp_erp2005/helpdata/en/d3/06f6679aaf0e44b67ca6d6b58d91df/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/0b/2a6702507d11d18ee90000e8366fc2/content.htm
    Regards,
    Nagaraj

  • Quick Question - iDoc 'empty' fields?

    Hi eveyone!
    Quick question before leaving for holiday
    I just finished my scenario 'iDoc to JDBC (Stored Procedure)' and it works just fine.
    But, I realize that if a field is empty IN THE IDOC, this field is not COMING to SAP-PI, therefore, I can't map it to the Stored Procedure.
    Is this behavior normal? I mean, the field not come from iDoc because is empty?
    (I can see the field in the segment, WE19 in R3 (empty), but not in WE02 neither in the INCOMING of SAP-PI Monitor, it's just not there, because it's empty at the origin).
    I´m just 'afraid' I would have to do this special treatment for EACH field...:(
    Thanks guys!
    Ricardo Sancio Lóra
    Brazil

    Is this behavior normal? I mean, the field not come from iDoc because is empty?
    Empty fields are not shown in PI monitoring, so it's ok.
    I´m just 'afraid' I would have to do this special treatment for EACH field...:(
    If the fields at target side are mandatory then you need to take care in mapping.

  • CREMAS05 Vendor idoc other fields

    Hi,
    Basic type CREMAS05
    Vendor master data distribution
    Released since Release 700
    1). In idoc it is showing the
         REGIO : Region (State, Province, County)
    &  LAND1 : Country of company only, but i want its text.
    Ex: For 22 - Tamilnadu &
          for IN - India.
    2). When i set a Deletion flag for any vendor using T.Code XK06, in generated idoc,
    LOEVM field value will be 'X',
    if vendor is active its value is ' '.
    LFA1-LOEVM-Central Deletion Flag for Master Record
    E1LFA1M : Segment for general vendor data
    LOEVM : Central Deletion Flag for Master Record
    i hv to put the constant value TRUE, if vendor is active &
    FALSE if deleted, for the mapped field in XI.
    Pls let me know hw to solve the above requirement.
    Regards,
    Balaji

    Hi,
    IDoc contains 2 Segments:
    Seg1 & Seg2.
    Seg2 is the child of Seg1.
    Seg1 contains field:
    CODE
    Seg2 contains fields:
    DESCRIPTION
    HIERARCHY
    When i trigger the idoc, the data is stored as:
    Seg1:CODE: 1001
    Seg2:DESCRIPTION: test1,
    HIERARCHY: 00
    Seg1:CODE: 1002
    Seg2:DESCRIPTION: test2,
    HIERARCHY: 01
    Seg1:CODE: 1003
    Seg2:DESCRIPTION: test3,
    HIERARCHY: 02
    Seg1:CODE: 1004
    Seg2:DESCRIPTION: test4,
    HIERARCHY: 03
    creating the duplicate segments as shown above.
    This data is mapped to the structure in XI.
    The structure to map will be as follows:
    str1
    ---ID1
    ---DES1
    ---ID2
    ---DES2
    ---ID3
    ---DES3
    i've to map depending on the field HIERARCHY condition.
    IF HIERARCHY = '02' THEN
    ID1 = 1003.
    DES1 = TEST3.
    IF HIERARCHY = '01' THEN
    ID2 = 1002.
    DES2 = TEST2.
    IF HIERARCHY = '00' THEN
    ID3 = 1001.
    DES3 = TEST1.
    How to map this condition based, in the MESSAGE MAPPING?
    pls help in solving this if possible with a screen shot.
    Regards,
    Balaji

  • BDC, IDOC and Field-Exits

    Dear Friend,
             I want to get idea of BDC, IDoc and Field-exits. Can anybody tell me from where i can get the idea. Give me links!

    Hi,
    U can refer the following link
    http://www.sapgenie.com/abap/tips_and_tricks.htm
    Also u can search in the code sample part of sdn to get some idea.
    Thanks & Regards,
    Judith

  • Idoc enhancement with new fields and refresh in MII 12.1

    Hello all,
    I'm using one standard idoc LOIPLO to transfer planned orders from ERP to SAP ME 5.2
    I have enhanced this idoc to add some new "custom fields" -> On the ERP side I can see my new fields in the idoc, but when idoc is received in MII, I don't see my new fields (it's still the "old" idoc version). In 5.1, I remember that we had to stop/start the message listener in MII and new fields were available, but in 5.2 it does not work.
    -> Message listener is now configured at Netweaver level and we stop/start it, but the new fields are not in.
    Any idea how to "refresh" the idoc version in MII ?
    Thanks and regards,
    Michaël.

    Restart the NW server
    Restarting the Java process should be enough...
    Perhaps also via the "cache refresh" tool normally used for Webdynpro stuffs...

  • IDOC Custom Fields are not coming in MII

    Hi Guys,
    I am receiving Standard IDOC (MATMAS) with Custom segment. Custom segment having two Z-fields and One Standard field. While fetching the IDOC at MII end, I am able receive IDOC except Z-fields, Custom Segment is coming perfectly with the one Standard field but missing Zfields.
    I'm using MII 12.1.5 Build(92). Please provide your suggestions on this issue.
    Thanks!

    Check if your MII is capbale of reciving the custom fileds. check mapping on sender and reciver side if z fileds are mapped correctly.
    Check and evert,
    Santosh Sarda

  • Inbound Idoc - Date fields not getting saved

    Hello,
    I have created inbound idoc scenario in SAP. I receive Idoc from non SAP system to SAP system.
    then data from IDoc is saved into different tables, for that I have written one function module (attached to process code)
    One of the segments in IDoc type has date as a field. It is of type sy-datum.
    When I receive Idoc in SAP only date fields are not getting saved in tables.
    Is anything specific need to be done for date fields? please advice.

    check which format you are getting into sap and make sure you are coverting in into required format.

  • Blank spaces at the end of an IDoc text field get lost when posted to R/3

    Hi Guys,
    I am facing the following issue:
    In an XML file-to-Idoc scenario, there are spaces at the end of a text field in the inbound XML file, which I can see when I open the inbound file with a text editor like notepad, and they are kept after XI mapping is executed (I can see them in message mapping simulator). However, it seems that these spaces get lost once the IDoc is posted to SAP R/3 and they are not visible on SAP R/3 side.
    Do you have any idea ? Thanks.
    Best Regards,
    Evaggelos Gkatzios

    That means SAP is removing the spaces from IDoc fields, where you spaces are not allowed. Does it create any problem?
    Thanks,
    Nabendu.

  • How to Read Idoc - Segment fields values and status messages

    Hi,
      I am having one requirement as i want to read the segments along with the field values and also i want to read all the status messages.
    first i read the idoc data from EDIDS and segments data from EDID4 and the staus messges from T100. but still i am not getting all the status messages.
    is there any other table which contains the information of IDOC segments and field values and also the status messages.
    Regards,
    Kumar

    You need to use
    V_MSGNO = EDIDS-STAMNO.
    CALL FUNCTION 'MESSAGE_PREPARE'
      EXPORTING
        MSG_ID   = EDIDS-STAMID
        MSG_NO   = V_MSGNO
        MSG_VAR1 = EDIDS-STAPA1
        MSG_VAR2 = EDIDS-STAPA2
        MSG_VAR3 = EDIDS-STAPA3
        MSG_VAR4 = EDIDS-STAPA4
      IMPORTING
        MSG_TEXT = V_TEXT.
    WRITE: / V_TEXT.

  • Idoc segment field length changes

    Hi friends,,
    I am new to idoc.
    My requirement is in my segment
    i am having 5 fields and also this segment is already realeased one.
    i wnat to change the field length from 10 to 20 . how to do this ?
    actually what i did is
    1. i cancel the release for that segment.
    2. in that field inside the dataelement i changed the field length from 10 to 20.
    3. data elemnt get chaged from 10 to 20 but Export length for that field in Idoc segment still retain the 10 only
    can you plz how to resolve this
    deva

    Hi,
    The way you used is right. ( cancel release or create a new segment )
    After you cancel release, try delete that field, and insert a new one.
    If it isn't valid still,  create a new segment instead.
    Regards
    Sam

Maybe you are looking for

  • How to print in captivate 5 - no widget

    Hi, I've seen various posts about using a widget to print a window/slide  "made from" Captivate 5. As I work in gov and their security policy is restrictive (for good reason I suppose), I can't download this widget. Is there another way I can get a s

  • How do you import Maxthon bookmark folders into Firefox (without doing each .url individually)?

    Hi, I am trying to import all my bookmarks from Maxthon into Firefox,. Problem is all my bookmarks are in folders, but Firefox Import will only let me do one bookmark at a time. Is there any way to import all folders at one time or at least folder by

  • How to clear the down payment against the vendor invoice in the payment program?

    A down payment is made $25 Later an invoice is posted for $100 Now i want to Pay $75 to Vendor But the Automatic payment program  is not clearing the down payment against the vendor invoice. Could you please help how to clear the down payment against

  • ASE157 - Permission issue with BCP out under Solaris

    With ASE15.7 SP60 on Solaris10 u11, when data is bulk copied out using Sybase's bcp utility, the output file generated is having permissions Read/Write for the owner and Read for the group and no permissions for others even if the umask specifies dif

  • Migrate to Lightroom 3 with tags

    I have been able to migrate the pics from Photoshop Album Starter Edition 3.2 into Lightroom 3 but for the life of me can't figure out how to bring the tags across. Am I missing something simple .... Any suggestions would be greatly appreciated