Incoming IDOC error

Hi All,
When i tried to post a incoming IDOC which will result in a BDC session and we post the IDOC as a accounting document, iam getting a Error message of <b> Post document ( screen not found )</b> with a status 51, Can any of you let me know about this error, will reward with points for answers.

Hi
May be the BDC session is not recorded well, check the program again.
May be the code added in the program is relating to the screen which is not available at the time of document posting ( these screen numbers will be diferent for each window/pop up window - like seperate screen number possible of additional information screen, profitability segment screen, other information screen, etc.) check the same with ABAPer
VVR

Similar Messages

  • Incoming IDOC Error "No batch input data from the screen SAPMV45A 4001"

    Hello ,
    The Incoming IDOC with Message type 'ORDERS' is triggering the error message "No batch input data from the screen SAPMV45A 4001" with message no 00344 . There is an SAP note 785000 to handle this type of error message which has been already implemented. Still we are encountering few IDOC error's  at the time of sales order creation. The IDOC reaches status 51 throwing the error which is again reprocessed through BD87 .
    We are unable to replicate the similar scenerio in Development & Testing systems as it works fine.
    Can any one kindly advise how to eliminate the error "No batch input data from the screen SAPMV45A 4001" message at the time of Incoming IDOC processing.
    Thanks in advance.
    Best Regards
    Sateesh

    Dear Sateesh
    Check this link where the same topic was discussed
    [ VA01/VA02: batch-input error in IDoc processing|http://www.sapfans.com/forums/viewtopic.php?f=21&t=313032]
    thanks
    G. Lakshmipathi

  • IDOC Error Notification - WorkFlow

    <b><u>ALE-IDOC Master Data Distribution</u></b>
    We have a busines requirement to email/notify an agent when an incoming idoc has an error-status. Please let me know how to proceed with this.
    Thanks in advance!

    Hi,
    if you are using the Inbound FM to process the IDoc, then you can very well use the work flow.
    after processing the IDoc you will come to know the status of the IDoc .if any errors are there you can generate workflow.
    Regards
    vijay

  • IDOC Error Notification

    <u><b>ALE-IDOC Master Data Distribution</b></u>
    We have a busines requirement to email/notify an agent when an incoming idoc has an error-status. Please let me know how to proceed with this.
    Thanks in advance!

    Hi Sam,
    Most common IDOCS already have some preconfigured tasks, use transaction SWETYPV. Find the object type (IDOCxxxx) and event INPUTERROROCCURRED. Make sure 'Type linkage active' is on.
    In your EDI/ALE partner profile you maintain where these notifications go to under 'Post Processing-Permitted agent' or something equally obscure.
    Cheers
    Mike

  • How to park invoice ( Incoming Idoc )

    Hi,
    I have a requiremnt where i need to park the incoming idoc(INVOIC01).
    I am using the standard program
    "IDOC_INPUT_INVOIC_MRM".
    I made the copy of this FM into a Z Function Module and
    using "MRM_CREATE_INVOICE"
    passing RBSTAT_NEW = 'A'
    which is for parking and this is giving errors.
    Kindly give me the solution to this problem.
    Thanks & Regards
    Lakshmi

    would try with example from include LFMYC_CCLF16:
    **--Enable message handler
        CALL FUNCTION 'MESSAGES_INITIALIZE'.
        CALL FUNCTION 'MRM_INVOICE_PARK'
          EXPORTING
            i_rbkpv           = l_f_rbkpv
            i_xupda           = 'D'
            i_simulation      = l_simulation
            i_rbstat_new      = '2'
            ti_drseg          = l_t_drseg
         IMPORTING
           te_errprot        = l_t_mrm_errprot
          EXCEPTIONS
            invalid_status    = 1
            update_impossible = 2
            error_message     = 3
            OTHERS            = 4.
        IF sy-subrc <> 0.           "MM document parked?
          l_f_return-id         = sy-msgid.
          l_f_return-type       = sy-msgty.
          l_f_return-number     = sy-msgno.
          l_f_return-message_v1 = sy-msgv1.
          l_f_return-message_v2 = sy-msgv2.
          l_f_return-message_v3 = sy-msgv3.
          l_f_return-message_v4 = sy-msgv4.
    *----- write message into message text field
          MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4
                INTO l_f_return-message.
          APPEND l_f_return TO c_t_returns.
        ENDIF.                   "MM document parked?
    Please let me know whether is worked for u not?a

  • How to keep incoming IDoc-No.?!

    Hi, i am a freshman and i need some help!
    Because we send IDoc from R/3 to R/3 across XI we want to have the same IDoc-No. in receiver system like it was given in sender system.
    We already activated the checkbox "Apply control record values from payload" but when we check in IDX5 the inbound and outbound idoc-no. differs.
    I read that this should be possible to achieve that the inbound and outbound no are the same! How can i achieve this solution?!
    Can u help me!?
    br

    Ok, now i want to do a RFC-Lookup to the Table IDXRCVPOR for getting the original incoming IDoc-Number.
    I use this code in field-mapping:
    String DBTABLE = a[0];
    String lookUpField = d[0];
    String WHERE_CLAUSE = b[0]+" = "+"'"+c[0]+"'" ;
    String sapClient = "100";
    String hostName = "server";
    String systemNumber = "00";
    String userName = "USER";
    String password = "PW";
    String language = "EN";
    JCO.Repository mRepository;
    JCO.Client mConnection = JCO.createClient(
                   sapClient,
                   userName,
                   password,
                   language,
                   hostName,
                   systemNumber );
    // connect to SAP
    mConnection.connect();
    // create repository
    mRepository = new JCO.Repository( "GenericRFCMappingLookup", mConnection );
    // create function template to select data from any table
    JCO.Function function = null;
    IFunctionTemplate ft = mRepository.getFunctionTemplate("RFC_READ_TABLE");
    function = ft.getFunction();
    // Obtain parameter list for function
    JCO.ParameterList input = function.getImportParameterList();
    // Pass function parameters
    // set import parameters table name and RFC
    input.setValue( DBTABLE, "QUERY_TABLE");
    input.setValue( "," , "DELIMITER");
    //Fill the where clause of the table
    JCO.ParameterList tabInput = function.getTableParameterList();
    JCO.Table inputTable = tabInput.getTable("OPTIONS");
    inputTable.appendRow();
    inputTable.setValue(WHERE_CLAUSE,"TEXT");
    mConnection.execute( function );
    //Find the position of the field that has to be lookedUp
    JCO.Table lookupFieldPos = function.getTableParameterList().getTable("FIELDS");
    int pos = -1;
    for (int i = 0; i < lookupFieldPos.getNumRows(); i++)
              lookupFieldPos.setRow(i);
              if (lookupFieldPos.getString("FIELDNAME").equals(lookUpField))
              pos = i;
    //Get the exact lookupvalue from the position obtained above
    JCO.Table valueSet = function.getTableParameterList().getTable("DATA");
    for (int i = 0; i < valueSet.getNumRows(); i++)
              valueSet.setRow(i);
              String resultSet [] = valueSet.getString("WA").split(",(?=(?:[^\"]*\"[^\"]*\")*(?![^\"]*\"))");
              result.addValue(resultSet[pos]);
    mConnection.disconnect();
    But when i try a test in mapping i am getting this error:
    Runtime exception during processing target field mapping /SYSTAT01/IDOC/E1STATS/DOCNUM. The message is: Exception:[com.sap.mw.jco.JCO$Exception: (104) RFC_ERROR_SYSTEM_FAILURE: A dynamically specified column name is unknown.]
    Can somebody help me again?!

  • Enhancement for Incoming IDOCs

    Hi All,
    For the incoming Idoc the invoices are getting parked for the success status 53, after checking whether GR is done or not.
    My requirement is that the Invoice should be parked even if the IDOC status is Error ie 51.
    The Message type is - INVOIC
    IDOC type is - INVOIC01
    and the process code is INVL
    How to go about it ?

    Hi Reddy,
    Thanx, can u elaborate this..
    DP

  • Terminated by user problem in  incomming  idoc while creating the sales ord

    This is a file to idoc issue.
    Idoc basic type: ORDERS03
    When an SO is created by an incoming idoc, problem comes with status u201Cterminated by useru201D with 51 status.
    When we tried to post this issue in BD87 t.code the document posts with out any issue.
    We are not able to create this issue in Quality box as well,
    Experts let us know if you have ever faced such problem in user system.

    "Terminated by user" means what it says. Someone has physically interrupted processing of the IDoc. That's all there is to it.

  • IDoc error In case of ERS procedure, please enter terms of payment

    Hi,
    I tried to use BAPI_PO_CREATE1 to post purchase order. However, I encountered this error.
    IDoc error In case of ERS procedure, please enter terms of payment
    I passed the payment term in IDOC PORDCH. Segment E1BPMEPOHEADER-PMTTRMS has value filled out. This value is passed into the BAPI correctly but for some reasons, it got cleared out in the BAPI. Any ideas or suggestions would be greatly appreciated.
    Thanks

    Check
    BAPI_PO_CREATE1 -  E 06 436 In case of account assignment

  • Get File name from incoming IDoc

    HI All,
    I am in an IDOC to File scenario using Fcc. (R/3 --> XI --> 3rd party)
    I need to use the  idoc-number(EDI_DC40-Docnum) as my output file name. I planned using variable substitution but there it expects me to get the idoc number from payload which I do not have it in. (refer c ode below)
    As I understand, variable substitution can be used only on payload(the FINAL data set that we will be writing to the file).
    Can we use the data which is part of incoming IDOC and not part of payload(final data what we are writing to file).??
    Other idea was to map this IDOC no to a field in final file, but this field should not be written in the output file, so am confused about how to achieve this.
    E.g
    *Incoming Data*
    IDOC
      |_EDI_DC40
        |_DOCNUM
    Final data (Payload)
    Header
    Data
    Trailer
    As seen in my example above I do not have the IDOC no in the final data so how do I use the Idoc no as my filename? Apprecaite your help on same.
    Regards
    Shirin

    Hi
    You can use dynamic configuration to get the file name .
    Use Adapter Specific Message Attributes for the target Comm Chanel check the indicator for filename in the advanced tab of CC
    create a UDF with i/p as file name  i.e the Idocnum field and
    paste this code
    DynamicConfiguration conf = (DynamicConfiguration) container.getTransformationParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
    //conf.removeAll();
    DynamicConfigurationKey key = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/File","FileName");
    //String filename= conf.get(key);
    conf.put(key, fileName);
    key= null;
    return fileName;
    PS: use cache as value in UDF
    ands assign the o/p of this UDF to a root node

  • IDoc Errors in ECC

    Hi Experts,
    what kind of IDoc Errors can occur in ECC for the scenario :
    ECC sending <b>PO</b> to Ariba(E-commerce hub, using third party adapter) and in receiving back <b>Order confirmation</b> from it.
    Thank you,
    <b>MK</b>

    Hi,
    This depends on the design and landscape and also Disaster Recovery or High Availability Plan.
    some hints:
    1. Connection Problem: Because of timeout , unavailability of the Receiver system.
    2. Data Problem may cause you the error in IDoC posting [ probably functional/Business Team should look into this]
    3. User ID and Password Maintenance - it may hit sometimes
    4. If any pre-requisite process is required to process this IDoC, then problem in the pre-requisite process will lead the problem
    these all kind of problems you may face..
    Rgds , Moorthy

  • Problem in processing incoming IDOC

    Hi All,
    I have a problem while processing Incoming IDOC in the system.
    While I try to process and FI IDOC (without purchase order) in the system, by giving the appropriate GL account and cost centre where the document should get posted to (in transaction WE19), I find that the system creates the IDOC successfully with status 53. However, it creates a parked document in the system for the vendor.
    When I try to post the document through transaction FBV0, the system asks for a cost centre. Can you please clarify, why the system is asking for a cost object though it is given in WE19 transaction. Ideally while processing the IDOC the system should post the document directly as it has all the relevant details in the IDOC right?
    (Just for info, I have given the GL account details in segment E1EDP19 with qualifier 002 and the cost centre in segment E1EDP30 with qualifier 045)
    Expecting your help in this regard.
    Regards
    Nagarajan N

    Hi
    You can use WE19 to debug the Idoc FM.
    Check this link if it is helpful:
    Debugging Idocs
    Regards
    Neha

  • Idoc error - basetype not found

    Hey,
    I try to configure a netweaver system (aii) and a r3 to communicate with each other.
    the aii system did not have the base type matmas01 to receive a material via bd10 from r3 to aii.
    I only send a material with a number and that`s it.
    I created a basetype in the aii with segment E1MARAM and the fields msgfn, matnr, mbrsh, mtart.
    Is this enough?
    Then I assigned the Zaidmatmas to this new created base type zmatmas1. I configured in WE20 the parameters for the partner profile and gave him a zmatmas1.
    Then I sent a material via BD10, but it does not appear under the producs in my aii. why?
    what else should i do to achieve this?
    In my R3 I have a status 3 and a green light, but in the aii there never is an incoming idoc. (not even a failure msg, just no connection, although the rfc works properly)

    In my R3 I have a status 3 and a green light, but in the aii there never is an incoming idoc.
    Check if u have any entry in sm58 of R3
    Regards,
    Prateek

  • IDoc Error 51 - Make Entry in All Required Fields

    hi,
    I am using a scenario where an idoc is being posted into an R/3 system from a legacy application. For some reason I keep getting Idoc error 51 (Document not posted).
    Once I drill down further, the specific error states "Make entry in all required fields". Have checked to make sure all mandatory fields have been mapped and proper constant values have been specified.
    But cannot seem to get rid of the problem. Could anybody help out in determining how else to troubleshoot this and identify the possible cause?
    thx,
    Manpreet

    Manpreet,
    What IDoc Type you are trying to post ? One way is debugging the inbound function module using WE19. The second option is talking to a functional consultantor who worked, what fields are needed for that particular IDoc.
    I wouldn't care much about whether the IDoc is posted or not because, it is the ABAP ALE/EDI consultant's job to do that. The only way XI Developer is concerned is when it is not posting, ABAPer would tell what's missing.
    Hope this info helps.
    regards
    SKM

  • File to IDOC - Error Inbound -56

    Hi,
       I am doing file to Idoc. (CREMAS01).. My scenario in
    RWB is successful. But in R/3 it is shwoing IDOC
    error :"EDI: Partner profile inbound not available".
      I created Partner Profile in R/3(logical name of BS-
    sender file). Still is shwoing Error.
    Regards,
    Mukharji
    Message was edited by: Mukharji T

    Hi Mukharji,
    I hereunder give you the step by step procedure for File to IDOC scenario.  Cross check whether you have done all these:-
    SLD
    1) Create a Product/Software Component
    2) Technical System pointing to R/3 system
    3) Business System for the above technical system
    In the Repository
    1) Import the Software component created in the sld
    2) Create a namespace,
    3) import the idoc and then create sender data type/message type etc and mapping
    4) Mapping Rules is depends on the requirement
    In the Directory
    1) Create a Scenario /import the business system
    2) Create Receiver/Interface determination
    3) Create communication channels for sender and receiver
    4) Sender Agreeement and Receiver Agreement.
    Then the file adapter configuration is depend on the input file format.
    Also you need to have Logical destionation created in the XI , and the IDX1 entry
    In R/3 Port, Partner profiles etc should be created
    Have a look into this document~
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/877c0d53-0801-0010-3bb0-e38d5ecd352c
    While doing an File -> XI -> IDoc scenario, The Points to noted are:
    1. You don’t need a DT, MT or a message interface for the IDOC as it itself acts as the Message Interface.
    2. You import the IDOC and use the same in your mapping.
    3. In this configuration note that you will need a sender agreement for the file.
    4. In this configuration note that you will also need a receiver agreement for the IDOC.
    For any File -> XI -> IDoc scenario ref:
    /people/anish.abraham2/blog/2005/12/22/file-to-multiple-idocs-xslt-mapping
    Hope this helps you.
    Regards.
    Praveen

Maybe you are looking for