Inbound Idoc customer number conversion

I am new to EDI and have a question to ask you both about inbound IDOC's. We have customers sending remittance advices through EDI. The customer numbers in them are their own customer numbers. In SAP, we maintain different customer numbers. Where do the mapping of the customer numbers take place -- In the EDI subsytem itself or in SAP? If in SAP, can you let me know the procedure to do this.
Any help will be appreciated and points awarded.
Thanks,
Nile.

Hey Fren,
1. Data Mapping
Within the framework of SAP EDI, the conversion of a business document in IDoc format to an EDI standard format (and vice versa) is the most important task performed by a subsystem. This process is resource intensive and, hence, is better done at the subsystem level than within SAP. The following conversions and translations are carried out by the subsystem.
Creating a control record for each inbound IDoc.
An inbound IDoc must have a control record. The EDI subsystem builds the control record using the information stored in its local repository or from the SAP repository.
Removing the control record during the outbound process.
The control record in the IDoc file is used by the subsystem for housekeeping functions, such as locating the trading partner profile. The data on the control record is not needed for translating the content of the EDI documents.
Translating data from IDoc format to EDI format.
For an outbound transaction, the EDI subsystem converts data in the IDoc format to a suitable EDI format.
Translating data from EDI format to IDoc format.
For an inbound transaction, the EDI subsystem converts data in the standard EDI format to IDoc format.
Bundling and unbundling IDocs.
If several IDocs are passed to the EDI subsystem in one file, the subsystem separates them into individual documents. Similarly, on the inbound process the subsystem can bundle multiple IDocs into a single file to improve performance.
2 Maintaining the Partner Profile
A partner is defined as the business partner with whom you conduct business and exchange EDI documents. These partners are not necessarily the same as the partners in the partner profile of SAP. However, the concept is quite similar. In SAP, the partner profile maintains parameters specific to the IDoc process, and in the subsystem the partner profile maintains parameters specific to the EDI process. Some typical attributes in a partner profile are
· A unique partner number
· The partner type (Customer, Vendor)
· The standard used (EDIFACT, ANSI X12, and so on)
· The version of the EDI standard
· The EDI message exchanged (850, 860, ORDERS, ORDCHG)
· A functional acknowledgment flag
3 Triggering the Inbound Process
After receiving an inbound EDI transmission and creating an IDoc file, the subsystem is often responsible for triggering the inbound process. SAP provides a program named startrfc to start any RFC−enabled function module from the operating system level. For the EDI process, the subsystem uses the startrfc program to
trigger the function module EDI_DATA_INCOMING. Chapter 6, "Configuring Basic EDI Components," provides the complete details and parameters of the startrfc progam.
4 Reporting Process Status to SAP
In an outbound process, after an IDoc has been transferred from SAP to the subsystem, SAP loses control over the process. However, SAP maintains visibility into the process by requiring the subsystem to report on the status of the process. SAP provides a file interface for the subsystem to send a status report at every milestone.
I hope you got some idea from this process.....
<REMOVED BY MODERATOR>
Warm Regards,
Abhi...
Edited by: Alvaro Tejada Galindo on Apr 25, 2008 4:36 PM

Similar Messages

  • JDBC to IDoc (Custom inbound function module)

    Hi,
    In my scenario JDBC to IDoc, I am using a custom function module to change the planned order. When I exectue the function module in WE19, it works fine and the IDoc status is also updated correctly.
    But when I execute the entire interface right from JDBC, the status of the IDoc is set to 51 and the description it is giving is "No status record was passed to ALE by the application".
    Can any one help me with this, where exactly is the error?

    For IDOC status 51 : Inbound IDOC
    In WE19, Give the IDOC number & execute ... then put the cursor on the idoc control record . then click on the Standard Inbound push button on the application tool bar.it will show show all the details like partner no,type , message type , process code & function module name ...
    now put a break point in the function module .. & debug .
    if u r using customised inbound function module , then click on inbound function module .. there u will get a pop screen with FM name & debugging option in both background & foreground mode...

  • Non English characters conversion issue in LSMW BAPI Inbound IDOCs

    Hi Experts,
    We have some fields in customer master LSMW data load program which can
    contain non-English characters. We are facing issues in LSMW BAPI
    method with non-English characters Conversion. LMSW steps read and
    conversion are showing the non-English characters properly with out any
    issue. While creating inbound IDOCs most of the non-English characters
    replaced with '#' and its causing issues in creating customer master data in
    system. In our scenario customer data with non-English characters in
    the first name, last name and address details. Any specific setting
    needs to be done from our side? Please suggest me to resolve this issue.
    Thanks
    Rajesh Yadla

    If your language is a unicode tehn you need to change the options  like IN SAP you need to change it to unicode  in the initial screen Customize local layout(ALT F12) options 118  --> Encoding ....

  • Wrong customer number in ORDERS IDoc

    Hello gurus,
    we are trying to send MM orders from one of our company codes to another one (same system, same client).
    The ORDERS IDoc is sent without error, but the we get an error message on the inbound side:
    VKORG, VTWEG, SPART cannot be determined for customer 0000569630, vendor 0020011961
    Message no. VG204
    Diagnosis
    No sales organization, distribution channel or division were sent to the IDOC. This data is necessary if a sales order is to be added automatically. If this data is unavailable, you cannot create a sales order document.
    Procedure
    If data on the sales organization, distribution channel and division have not been entered in the IDOC, it must be determined using a user exit defined in the program.
    The thing is, the customer does not have the number 569630 in our system! Still the number is in the E1EDKA1 AG segment in PARTN. The vendor number is correct.
    Where does this strange customer number come from?
    Cheers
    Alicia

    hi,
    you have three possibilities to determine the organizational data in SD
    during the EDI inbound process.
    The first possibility is to send these fields in the Idoc-Segment
    E1EDK14 (Qualifier 006 - division, Qualifier 007 - distribution chanel,
    Qualifier 008 - sales organization, Qualifier 010 - sales group,
    Qualifier 012 - ordertype,  Qualifier 016 - Sales office)
    The second possibility to determine is table EDSDC. In this table You
    can make table entries for sales organization, distribution chanel and
    division per customer and vendor. You need an sold-to party and a
    E1EDKA1 segment with an filled vendor in field E1EDKA1-LIFNR.
    (transaction VOE2). Please check these settings.
    The third possibility is to fill it in the IDOC_INPUT_ORDERS user-exits.
    For error analyis, see SAP note 380603
    kind regards
    Paul Quinn

  • Status 64 "No filters , No conversion .."  when receipt an Inbound Idoc

    Hi expert,
    I transfers an idoc from client 200 to client 700. At client 200 the outbound idoc is transfer ok but on client 700 when receipt inbound idoc I have status 64 "No filters , No conversion , No version change ." I have writen a FM to process this inbound I think I have this status because I have not true parameter in Tcode we57 we42 but I don't know what parameter on those Tcode. Please help me please!
    Thank for reading!
    Screen we42 and we57:
    http://i612.photobucket.com/albums/tt203/talaai04071986/we57.png
    http://i612.photobucket.com/albums/tt203/talaai04071986/we42.png

    Hi Reddy,
    I can't find any error on my function. Can you find it for me?
    This is my code.
    FUNCTION Z_IDOC_INPUT_ZRZSO_MTC .
    ""Local Interface:
    *"  IMPORTING
    *"     VALUE(INPUT_MET) LIKE  BDWFAP_PAR-INPUTMETHD
    *"     VALUE(MASS_PROCESSING) LIKE  BDWFAP_PAR-MASS_PROC
    *"  EXPORTING
    *"     VALUE(WORKFLOW_RESULT) LIKE  BDWF_PARAM-RESULT
    *"     VALUE(APPLICATION_VARIABLE) LIKE  BDWF_PARAM-APPL_VAR
    *"     VALUE(IN_UPDATE_TASK) LIKE  BDWFAP_PAR-UPDATETASK
    *"     VALUE(CALL_TRANSACTION_DONE) LIKE  BDWFAP_PAR-CALLTRANS
    *"  TABLES
    *"      IDOC_CONTRL STRUCTURE  EDIDC
    *"      IDOC_DATA STRUCTURE  EDIDD
    *"      IDOC_STATUS STRUCTURE  BDIDOCSTAT
    *"      RETURN_VARIABLES STRUCTURE  BDWFRETVAR
    *"      SERIALIZATION_INFO STRUCTURE  BDI_SER OPTIONAL
    *"  EXCEPTIONS
    *"      WRONG_FUNCTION_CALLED
    Include File containing ALE constants
      INCLUDE MBDCONWF.
      TABLES : ZCUSTOMERS, "Cutomer Header
               ZSOHEADERS, "Sales Header
               ZSOITEMS. "Sales Items
    ***Data
      DATA : W_ZRZSEG1 LIKE ZRZSEG1,
      W_ZRZSEG2 LIKE ZRZSEG2,
      W_ZRZSEG3 LIKE ZRZSEG3.
      DATA : T_ZCUSTOMERS LIKE ZCUSTOMERS OCCURS 0 WITH HEADER LINE.
      DATA : T_ZSOHEADERS LIKE ZSOHEADERS OCCURS 0 WITH HEADER LINE.
      DATA : T_ZSOITEMS LIKE ZSOITEMS OCCURS 0 WITH HEADER LINE.
      WORKFLOW_RESULT = C_WF_RESULT_OK.
      LOOP AT IDOC_CONTRL.
        IF IDOC_CONTRL-MESTYP NE 'ZRZSO_MT'.
          RAISE WRONG_FUNCTION_CALLED.
        ENDIF.
    Before reading a new entry, clear application buffer
        LOOP AT IDOC_DATA WHERE DOCNUM EQ IDOC_CONTRL-DOCNUM.
          CASE IDOC_DATA-SEGNAM.
            WHEN 'ZRZSEG1'.
              W_ZRZSEG1 = IDOC_DATA-SDATA.
              MOVE-CORRESPONDING W_ZRZSEG1 TO T_ZCUSTOMERS.
              INSERT INTO ZCUSTOMERS VALUES T_ZCUSTOMERS.
            WHEN 'ZRZSEG2'.
              W_ZRZSEG2 = IDOC_DATA-SDATA.
              MOVE-CORRESPONDING W_ZRZSEG2 TO T_ZSOHEADERS.
              INSERT INTO ZSOHEADERS VALUES T_ZSOHEADERS.
            WHEN 'ZRZSEG3'.
              W_ZRZSEG3 = IDOC_DATA-SDATA.
              MOVE-CORRESPONDING W_ZRZSEG3 TO T_ZSOITEMS.
              INSERT INTO ZSOITEMS VALUES T_ZSOITEMS.
          ENDCASE.
        ENDLOOP.
    CUSTOMER HEADER *
       SELECT *
       FROM zcustomers.
       ENDSELECT.
       IF sy-subrc NE 0.
         INSERT INTO zcustomers VALUES t_zcustomers.
       ELSE.
          UPDATE ZCUSTOMERS FROM T_ZCUSTOMERS.
       ENDIF.
        IF SY-SUBRC EQ 0.
          IDOC_STATUS-DOCNUM = IDOC_CONTRL-DOCNUM.
          IDOC_STATUS-STATUS = '53'.
          IDOC_STATUS-MSGTY = 'I'.
          IDOC_STATUS-MSGID = 'YM'.
          IDOC_STATUS-MSGNO = '004'.
          IDOC_STATUS-MSGV1 = T_ZCUSTOMERS-KUNNR.
          APPEND IDOC_STATUS.
          CLEAR IDOC_STATUS.
        ELSE.
          IDOC_STATUS-DOCNUM = IDOC_CONTRL-DOCNUM.
          IDOC_STATUS-STATUS = '51'.
          IDOC_STATUS-MSGTY = 'E'.
          IDOC_STATUS-MSGID = 'YM'.
          IDOC_STATUS-MSGNO = '005'.
          IDOC_STATUS-MSGV1 = T_ZCUSTOMERS-KUNNR.
          APPEND IDOC_STATUS.
          CLEAR IDOC_STATUS.
          WORKFLOW_RESULT = C_WF_RESULT_ERROR.
          RETURN_VARIABLES-WF_PARAM = 'Error_Idocs'.
          RETURN_VARIABLES-DOC_NUMBER = IDOC_CONTRL-DOCNUM.
          APPEND RETURN_VARIABLES.
          CLEAR RETURN_VARIABLES.
        ENDIF.
    SALES HEADER *
       SELECT *
       FROM zsoheaders.
       ENDSELECT.
       IF sy-subrc NE 0.
         INSERT INTO zsoheaders VALUES t_zsoheaders.
       ELSE.
          UPDATE ZSOHEADERS FROM T_ZSOHEADERS.
       ENDIF.
        IF SY-SUBRC EQ 0.
          IDOC_STATUS-DOCNUM = IDOC_CONTRL-DOCNUM.
          IDOC_STATUS-STATUS = '53'.
          IDOC_STATUS-MSGTY = 'I'.
          IDOC_STATUS-MSGID = 'YM'.
          IDOC_STATUS-MSGNO = '004'.
          IDOC_STATUS-MSGV1 = T_ZSOHEADERS-VBELN.
          APPEND IDOC_STATUS.
          CLEAR IDOC_STATUS.
        ELSE.
          IDOC_STATUS-DOCNUM = IDOC_CONTRL-DOCNUM.
          IDOC_STATUS-STATUS = '51'.
          IDOC_STATUS-MSGTY = 'E'.
          IDOC_STATUS-MSGID = 'YM'.
          IDOC_STATUS-MSGNO = '005'.
          IDOC_STATUS-MSGV1 = T_ZSOHEADERS-VBELN.
          APPEND IDOC_STATUS.
          CLEAR IDOC_STATUS.
          WORKFLOW_RESULT = C_WF_RESULT_ERROR.
          RETURN_VARIABLES-WF_PARAM = 'Error_Idocs'.
          RETURN_VARIABLES-DOC_NUMBER = IDOC_CONTRL-DOCNUM.
          APPEND RETURN_VARIABLES.
          CLEAR RETURN_VARIABLES.
        ENDIF.
    SALES ITEM *
       SELECT *
       FROM zsoitems.
       ENDSELECT.
       IF sy-subrc NE 0.
         INSERT INTO zsoitems VALUES t_zsoitems.
       ELSE.
          UPDATE ZSOITEMS FROM T_ZSOITEMS.
       ENDIF.
        IF SY-SUBRC EQ 0.
          IDOC_STATUS-DOCNUM = IDOC_CONTRL-DOCNUM.
          IDOC_STATUS-STATUS = '53'.
          IDOC_STATUS-MSGTY = 'I'.
          IDOC_STATUS-MSGID = 'YM'.
          IDOC_STATUS-MSGNO = '004'.
          IDOC_STATUS-MSGV1 = T_ZSOITEMS-VBELN.
          APPEND IDOC_STATUS.
          CLEAR IDOC_STATUS.
        ELSE.
          IDOC_STATUS-DOCNUM = IDOC_CONTRL-DOCNUM.
          IDOC_STATUS-STATUS = '51'.
          IDOC_STATUS-MSGTY = 'E'.
          IDOC_STATUS-MSGID = 'YM'.
          IDOC_STATUS-MSGNO = '005'.
          IDOC_STATUS-MSGV1 = T_ZSOITEMS-VBELN.
          APPEND IDOC_STATUS.
          CLEAR IDOC_STATUS.
          WORKFLOW_RESULT = C_WF_RESULT_ERROR.
          RETURN_VARIABLES-WF_PARAM = 'Error_Idocs'.
          RETURN_VARIABLES-DOC_NUMBER = IDOC_CONTRL-DOCNUM.
          APPEND RETURN_VARIABLES.
          CLEAR RETURN_VARIABLES.
        ENDIF.
      ENDLOOP.
    ENDFUNCTION.
    Edited by: Cuong Nguyen Cao on Jun 2, 2010 6:51 AM

  • INBOUND IDOC REPROCESSING IN CUSTOM PROGRAM

    Hello,
    I have a custom program which displays the INBOUND IDoc data for the message type = ZSTLSP in the ALV format.
    Requiremt is that I shall select a record and change one of the coulmn contents . A button 'Reprocess' will be
    made available , when clicked it needs to reprocess the Idoc . The reprocessed idoc will be strored with the new values entered
    and the original idoc will be stored with status 70.
    Kindly let me know how to reporcess the IDoc in the custom program.
    Note that If I try to cakk l standard program RBDAPP01 to reprocess the IDOCs using SUBMIT statement. We can pass the IDOC Number, Message type etc. while submitting the program but CANNNT pass the changed SDATA field.
    Thanks in Advance!!
    Senthil

    I am able to change the value using FM IDOC_INPUT , but the changed values is not updateing in the databse.
    Maybe I need to do commit. kindly let me know how to do commit in this scenario.
    Senthil

  • How to find Outbound Idoc number from inbound Idoc number.

    Hi,
    I have one inbound Idoc in my system, then
    How to find the  idoc number from the system which sends that idoc(Outbound Idoc number).

    Hello
    You can use fm SREL_GET_NEXT_NEIGHBORS for this purpose.
    Scenario: An EDI purchase order is received by SAP-XI and forwarded as Inbound ORDERS IDoc to R/3. SAP-XI generates an (outbound) IDoc number which differs from the (inbound) ORDERS05 IDoc in the R/3 system.
    Calling fm SREL_GET_NEXT_NEIGHBORS with the following parameters:
    OBJECT-OBJKEY = <IDoc number, 16-digits>
    OBJECT-OBJTYPE = 'IDOC'
    MAX_HOPS = '99'            " <<< get all links
    I get the following result:
    0000000000133906                                   IDOC       CUSTOMER   OUTIDOC
    0000000000407402                                   IDOC                  INIDOC
    000000370383                                       BUS2012    CUSTOMER   OUTBELEG
    0010057944                                         BUS2032               INBELEG
    Outbound IDoc number
    Inbound IDoc number (ORDERS05)
    PO number
    Sales order (created from inbound ORDERS IDoc)
    Regards
      Uwe

  • Error in number range while testing inbound idoc via we19

    hi all,
    i have done all configurations but while testing the inbound idoc via we19 i am getting an error 'error in assigning number to idoc'..i checked and found that the number range object for idoc is edidoc in it number interval is defined from 1 to 99
    i dont think that anything is wrong with the number object..
    Can u tell me how dow i eliminate this error?

    Increase Higher limit the reason is when you look at current idoc number ( This idoc number already exists ) ,it will not create new idoc number.
    System will get the number from SNRO Based on IDOC Object.
    Just look at EDIDC and see the current idoc number.
    Simple example :
    I have one number - 100 ,it is already exists in database,if i insert same record to the database ,did system will accept ?
    Thanks
    Seshu

  • How to get Get IDOC Number for Inbound IDOCS

    Hi,
    I am using the FM -- IDOC_INPUT_HRMD for creating Inbound IDOCS.
    I populate the values for Control Record and Data Record and the IDOC is posted successfully and i get the status 53 in the status Table.
    But the problem is the field for IDOC number(DOCNUM in IDOC_STATUS Table of the FM ) is empty.
    How can i get the DOCNUM for the IDOC posted as a result of this FM ?
    regards,
    Siddhartha

    Hi Siddhartha,
    I think you cannot call IDOC_INPUT_HRMD fm directly from the external program as this fm only handles the application logic part and not the idoc number generation and save part.
    So I think you have to call IDOC_INBOUND_SINGLE from your external program and then get the IDOC number.
    Then if you need the status records then you need to call another fm and feed IDOC number that you have got from IDOC_INBOUND_SINGLE (there is one IDOC_READ_COMPLETELY but it is not a remote enabled fm)
    <b>OK, I just found one RFC enabled fm which you can use,
    <b>EDI_DOCUMENT_READ_ALL_STATUS</b></b>
    Hope this helps..
    Sri
    Message was edited by: Srikanth Pinnamaneni

  • Inbound idoc error in 51 Status of at least one serial number of item

    Dear Experts,
    There is one inbound IDOC which is in error with status 51 showing error Status of at least one serial number of item  is not allowed.
    Can you please advice why this error is coming.
    Thanks & Regards,
    Nikhil Kanegaonkar.

    An inbound IDOC in error will have the status 51, & it is marked for deletion it has a status of 68.
    http://www.dataxstream.com/2009/10/mass-status-change-sap-idoc/
    http://wiki.sdn.sap.com/wiki/display/ABAP/IDoc+Statuses
    Edited by: Krupaji on May 6, 2011 2:38 PM

  • Exact inbound Idoc or RFC for BP based on ROLE/Customer/Vendor ?

    Hi ,
    I need a inbound IDOC or RFC for Business partner in BP transaction posting based on Customer master or vendor master Role ...

    Hi Frederic,
    I need to post data in to BP transaction(customer master data and vendor master)  role using BODS via IDOC. Required IDOC's for posting. 

  • Inbound idoc processing using custom FM to cancel sales orders

    hello all,
             I have a scenario where i need to create a customized function module which is assigned to custom message type. and this function module is triggered when inbound idoc comes, which will process idoc data for cancellation of sales orders. If an errror occurs than the error during cancellation has to be reflected back in the idoc status.
          can anyone tell me how exactly i can log the status and reflect it back, how exactly can i do this
         And what are all the objects i need to create to succusfully execute  this scenario, i have created message type, function module, i am using orders05 do i need to create process code also.
    Thanks,
    krishnam raju.

    Hi Krishna,
       Hope you are done with the Inbound function module creation. But, just creation of function module would not be enough, what u said that is like creation of Process code should also be done.
    WE42 is the transaction code for inbound process code.
    And while creation of the process code, we need to do few things like:
    We need to create an entry of the inbound function module in BD51 transaction or so. And coming to updating of the status, open any of the inbound function module, you will observe that there is a standard subroutine which will update the IDOC_STATUS record. You can implement the same logic whenever you want to update an error message.
    Thanks,
    Adithya K

  • Custom inbound Idoc error handling/ Workflow

    Dear Experts,
            I have a requirement where in I created a custom inbound idoc, but now i need to handle the errors in the workflow and notify the users thru workflow on an error.
    Can some one please provide me a step by step guide on how to create a organizational unit, position and assign users to the position... and any other steps that need to be configured to notify the user on the error.
    I'm pretty new to all these organizational uints and workflow related stuff. Any step by step would really be helpful.
    Thanks for your time.
    -Amit.
    Moderator message: sorry, these forums cannot replace proper training, if there is step by step guides out there, then please use the search functions.
    Edited by: Thomas Zloch on Oct 31, 2010 11:50 AM

    Vittal,
    1. If your requirement is for a SAP Standard Basic Message type and a Z extension: Then you simply have to find out the 'Standard Task' associated with basic type. You shouldn't worry about extensions. The standard task will be triggered at input error.
    2. If your requirement is for a Z basic type i.e. you have created a customer IDOC for a custom processing: There are many dependencies on how you can achieve this. Firstly, you need to know how you're are processing this Z_IDOC. Are you using a standard FM or custom workflow or custom FM? There should be some triggering event within the processing of this Z_IDOC which will raise a certain flag when the error you want to capture happens (or when there is a generic error). You can configure this event in binding objects to trigger a workflow task. If you take a look at any standard tasks, you'll get an idea how the triggering event happens.
    Once the workflow task (you can use custom task or use a standard task i.e. by triggering a standard event within the IDOC processing program) is triggered, you can either send it to SAP inbox, e-mail, trigger another processing etc. This is altogether another story.
    So bottomline: For custom IDOC processing, you need to trigger an event when error happens. This can be a custom event or a standard event. This event should be linked to a task (custom/standard - check in SWETYPV). Bind all of these in PFTC. Once the task is triggered, you can do whatever you want to do with it.

  • Inbound idoc number

    Hi,
    Is there any way to get the inbound idoc number which created the sales order in the system.
    I have the sales order no. form that i want know the inbound idoc number which created this sales order.
    I am looking for any FM or Tables.
    Thanks,
    Patil

    Hi..
    Table EDID4 stores the Data records of an IDOC.
    You can search for SDATA field to get the Sales doc no.
    Try this Sample code
    report ztest1.
    tablEs edid4.
    data : it_data type table of edid4 with header line.
    PARAMETERS : P_MATNR TYPE MARA-MATNR DEFAULT '100-100'.
    DATA : V_pattern type string.
    CONCATENATE '%' P_MATNR '%' INTO V_PATTERN.
    SELECT   * FROM EDID4 into  table it_data
      WHERE  
      segnam = 'E1EDK01'  "To check the Segment name
      and  SDATA LIKE V_PATTERN
    LOOP AT IT_DATA. 
      WRITE: IT_dATA-DOCNUM.
    ENDLOOP.
    <b>Reward if Helpful</b>

  • How toset 2nd sales order number on the status application in Inbound Idocs

    Hi All,
    When processing inbound idocs in sales order we are splitting that idocs into two sales orders so for one sales order we are getting on Apllication with sales order number, But i want display second sales order number same as first one. can any one suggest me any function module for that....
    Regards,
    Sudhakar Reddy.A

    Hi ,
    Thanks for the relies i am writing the code in same FM (EXIT_SAPLVEDA_005) include (ZXVEDU07). this is for error message i wrote .
    Data : wa_e1ed19_E TYPE ty_e1edp19,
           wa_status1 type BDIDOCSTAT.
    if DIDOC_STATUS-status = '51' and DIDOC_STATUS-msgty = 'E' and DIDOC_STATUS-msgno = '382'.
    read table IT_E1EDP19 into wa_e1ed19_E with key idtnr = DIDOC_STATUS-msgv1.
    if sy-subrc = 0.
    wa_status1-docnum   = DIDOC_STATUS-docnum.
    wa_status1-STATUS   = DIDOC_STATUS-STATUS.
    wa_status1-MSGTY    = DIDOC_STATUS-MSGTY.
    wa_status1-MSGV1    = wa_e1ed19_E-idtnr.
    wa_status1-MSGV2   = wa_e1ed19_E-posnr.
    append wa_status1 to DIDOC_STATUS.
    clear wa_status1.
    endif.
    endif.
    Regards,
    Sudhakar Reddy .A

Maybe you are looking for

  • TM errors on one MBP, not on a second, different files keep choking it

    I've had Time Machine running fine using a LaCie external drive on 2 different MacBook Pro's. I still have both, and what I did recently was resuscitate the old one, stick a new user account on it for my wife, and now she's using it. One thing I foun

  • Emails in Mail OS X

    So here's the thing. i erased a few contacts from my address book and when i start typing the first few letters of the person i want to email, i notice that the person whose information i erased still appears in the To: box. This is really annoying.

  • Problem with  printer resources

    hello .. how can i use printer resources in to my application       PrinterJob printJob = PrinterJob.getPrinterJob();by using above code i am accessing printer job. prinetr resources displaying correctly,but when i move it , my background frame is no

  • Problem with confirmation

    Hi all, I am working in SRM 4.0 and I have a shopping cart that when it is approved, PO was created..... In this moment I need to create a confirmation, but I go to web transaction Confirm Good/Service, search by PO, the system shows PO to do the con

  • Digital Juice? Is it good and worht the money?

    I am looking at buying the new Sound FX program from Digital Juice, for transition sounds when I do my videos, is this a good program and does it have lots of transition sound effects, like the ones use on most tv shows? Or is there a better program