How manage IDOC processing IDOC_INPUT_INVOIC_FI (post FB01 or park FBV1)

Hi,
i would like use standard FM IDOC_INPUT_INVOIC_FI (and IDOC_INPUT_INVOIC_MM) for processing IDOC invoic02 but i need to manage when i post idoc (using tcode FB01) and when park (FBV1). Default FM IDOC_INPUT_INVOIC_FI read these parameters from T076S but i need change parameter in user-exit(?) dynamicaly.
form programmparameter_lesen tables para_tab
if t076s-ediprp = 'X'.
        if verarbeitung = 'FI'.
          para_tab-tcode = 'FBV1'.
        elseif verarbeitung = 'MM'.
          para_tab-tcode = 'EDI4'.
        endif.
      else.
        if verarbeitung = 'FI'.
          para_tab-tcode = 'FB01'.
        elseif verarbeitung = 'MM'.
          para_tab-tcode = 'EDI1'.
        endif.
      endif.
Thanks

Hi,
I have the same problem. Did you find an answer to this?
thanks

Similar Messages

  • How to do collective/mass posting of documents parked through T-code: MIR7

    Hello,
    I just want to know if we can do collective posting of documents parked through T-code: MIR7 (Invoice Verification)? If yes, please give me the T-code and teach me how to do it. Right now, we can do mass posting for the direct FI documents only (T-code: FBV0). I tried it several times for documents parked through T-code: MIR7, but the system always prompts an error message saying that "Document cannot be posted since
    document balance is not zero". But when I display and post the document one by one the system allows me to do so. Then I thought that maybe because it was created in logistics, mass/collective posting should be done under logistics also.
    Thanks & Best Regards,
    Odette

    I could not see any such mechanism in MIR7. It is not possible to post them in mass. (logistic invoices)
    Whereas FI as you said can be done in FBV0. You can even create batch and post through SM35.
    Regards,
    Ravi

  • Idoc for document posting (FB01)

    HI,
    How to populate data for inbound idoc.I will get data from flat file.
    i need to populate data which i will get it from flat file into FB01 as inbound idoc.
    Regards,
    gollapudi

    check this IDOC :ACC_DOCUMENT03

  • Similar with FB05,how should i process 'transfer posting with clearing'?

    Hi my friends,
         Customers provide an excel file that contains detial of invoices paid(Doc No, Customer No, Invoice No, Payment Amount), then i need to implement FB05 Function and transfer posting with clearing.
          I'd like to use FM 'Posting_interface_clearing', but i am not clear how i should set two parameters: payment amount and  rfopt-xrptz ( editing options->open items -> enter payment amount for residual items ).
         I refer to Program RFBIBL00, and who tell me how to fill value in  the two table FTPost and FTClear.

    hi,
    use rfbibl00 with tcode FB05 and structueres <b>BSELK and BSELP</b>
    -> look documentation with se38 to that report
    A.

  • IDOCs processing - MM or FI invoice - if docum is complete- post else park

    Hello,
    i load xml file into idoc (edi_data_incoming) -  in the file are MM and FI invoices. But now i need to process these idocs. If idoc could be posted (idoc has every mandatory data) then post idoc else park document. I need to know how to check (decide) when i can post document and when park. For posting i would use these FM:
    IDOC_INPUT_INVOIC_FI
    IDOC_INPUT_INVOIC_MRM.
    1)Do  these FM have any simulation of posting? Then i am able to decide when should  i post and when should i only park document.
    2)what FM use for parking MM and FI invocices - IDOCs?
    What is your idea?
    Thanks

    check and apply SAP Note 501524

  • How can we find the Idoc number which posts the material document in SAP

    Hi All,
    How can we find the Idoc number which posts the material document in SAP. We could not able to find the IDOC number from the material document which was posted by Idoc.
    Thanks
    Chandru

    Hi,
    In MIGO you can go to service of object(Just above show overview) and check 5th option workflow you will find the idoc number.
    regards
    suresh

  • How to control IDOC processing in XI

    hi
    I have scenario where File --> XI --> IDOC
    Source structure
    Header           1...1
        Detail         0..unbounded
    Trailer             1..1
    For every detail i need to generate 1 doc
    My requirement is that i dont want to send all the IDOCs at one shot from XI.
    trfc connection should be open just once for all the IDOCs and not single IDOCs are posted.
    Is there any transaction from where i can control my IDOC processing.
    Need urgent help.
    Thanks ,
    Loveena

    Hi Loveena,
    in a scenario, for instance, where you send IDOCs of type LS (logical system):
    1. In the sender system, call transaction WE05 to display the outbound IDoc. The IDoc partner type of both receiver and sender is LS.
    2. On the Integration Server, call transaction SXMB_MONI (Integration Engine Monitoring Monitor for Processed XML Messages) to display the message.
    3. In the receiver system, call transaction WE05 to display the inbound IDoc.
    if it helpful reward points are appreciated

  • How to stop the duplicate idoc processing ? whar need to done SAP R/3

    Hi All
    If the Same Idoc is processed to SAP R/3 then what to do for not processing
    the duplicate IDOC ?
    Or some thing like this...
    If by mistake same idoc processed then how to avoid to process the idoc?
    what i need to in SAP R/3 side?
    Regards
    Kiran lvs

    Hi
    some thing like this:Using T.code: we19 ...Idoc processed a day ago
                                           today by using the same t.code we19 ..processed the
                                           same  idoc, what  i sent a day ago.
                                           Here how to stop this duplicate processing ?
    I hope this is clear...else pl put a note
    regards
    Kiran lvs

  • How we will process error IDOC s.

    Hi Experts,
    can any body tell me how we will process the idoc when we got the error.
    Thanks in advance.
    -Bhaskar.

    bhaskar rao wrote:
    Hi Experts,
    can any body tell me how we will process the idoc when we got the error.
    Thanks in advance.
    -Bhaskar.
    Hi,
    When an IDOC have some errors you need to set status for this IDOC by filling table IDOC_STATUS(           IDOC_STATUS                   STRUCTURE BDIDOCSTAT) and table RETURN_VARIABLES            (RETURN_VARIABLES              STRUCTURE BDWFRETVAR).
    code sample:
    LOOP AT IDOC_CONTRL.
      Set IDOC status
        CLEAR IDOC_STATUS.
        IDOC_STATUS-DOCNUM = IDOC_CONTRL-DOCNUM.
        IF FLAG_ERROR_HAPPENED = C_FALSE.
          IDOC_STATUS-STATUS = '53'.       "OK!
    JH/02.02.98/4.0C  KPr100004993 (Anfang)
        Fill Return variables
          CLEAR RETURN_VARIABLES.
          RETURN_VARIABLES-DOC_NUMBER = IDOC_CONTRL-DOCNUM.
          RETURN_VARIABLES-WF_PARAM = 'Processed_IDOCs'.
          APPEND RETURN_VARIABLES.
        Verknüpfungseintrag anlegen
          READ TABLE T_IDOC_MATNR WITH KEY DOCNUM = IDOC_CONTRL-DOCNUM
                                  BINARY SEARCH.
          IF SY-SUBRC = 0.
            RETURN_VARIABLES-DOC_NUMBER = T_IDOC_MATNR-MATNR.
            RETURN_VARIABLES-WF_PARAM = 'Appl_Objects'.
            APPEND RETURN_VARIABLES.
          ENDIF.
    JH/02.02.98/4.0C  KPr100004993 (Ende)
        ELSE.
          IDOC_STATUS-MSGID = I_MERRDAT-MSGID.
          IDOC_STATUS-MSGTY = I_MERRDAT-MSGTY.
          IDOC_STATUS-MSGNO = I_MERRDAT-MSGNO.
          IDOC_STATUS-MSGV1 = I_MERRDAT-MSGV1.
          IDOC_STATUS-MSGV2 = I_MERRDAT-MSGV2.
          IDOC_STATUS-MSGV3 = I_MERRDAT-MSGV3.
          IDOC_STATUS-MSGV4 = I_MERRDAT-MSGV4.
          IDOC_STATUS-STATUS = '51'.       "ERROR!
        Fill Return variables
          CLEAR RETURN_VARIABLES.
          RETURN_VARIABLES-DOC_NUMBER = IDOC_CONTRL-DOCNUM.
        return_variables-wf_param = c_wf_par_processed_idocs.
          RETURN_VARIABLES-WF_PARAM = 'Error_IDOCs'.
          APPEND RETURN_VARIABLES.
          WORKFLOW_RESULT = 99999.
        ENDIF.
        APPEND IDOC_STATUS.
      ENDLOOP.
    Regards,
    Gy

  • How can u creat LSMW port in Idoc Processing

    how can u creat LSMW port in Idoc Processing
    actullay i'm using Lsmw with bapi

    Hello Ronei
                 *After giving the project ,sub project ,object & short description
                      *go to menu bar click on settings  in that select idoc inbound processing ,
                      *in that screen click on maintain port push button
                      *port creation screen will be displayed in that left menu expand the file
                      *after that select file_port
                      *click on copy button
                      *provide your port name
                      *provide the short description
                      *after that deselect the uni code check box
          --->*this is the main step
                     *in the directory you will provide the path of your flat file other wise your
                      project will be terminated after 13 th step .
    thanks .
    prasad gandepalli     

  • How to manage parallel processing for queue JMS/MDB?

    Hello, we are developing a system in WebLogic Server 10g (10.3.0) that contains multiple JMS queues associated with each in an MDB. We need know how manage the parallelism of the message for each queue? for example:
    Queue 1: up to 4 messages in parallel
    Queue 2: up to 2 messages in parallel
    Queue 3: up to 5 messages in parallel
    Can also perform this configuration from the WebLogic Server Admin Console?
    Thank you very much,
    Lucas.

    Thanks a lot Tom for the reply, I have read about the descriptor setting 'max-beans-in-free-pool' and I searched this concept at the Administration Console without success.
    I suppose other way is create a “Session Pools” under the JMSServer, and then create a “Consumer” and define the setting “Messages Maximum”. One of the disadvantages is that “Session Pools” don’t support JTA, from the documentation:
    +Session pools enable an application to process messages concurrently. Session pools are now used rarely, as they are not a required part of the J2EE specification, do not support JTA user transactions, and are largely superseded by message-driven beans (MDBs), which are a required part of the J2EE specification.+
    I continue reading the MDB chapter of the performance and tuning guide in the documentation, thanks for any contribution to the topic.
    Lucas.

  • How to know whether we are in Inbound Idoc processing ?

    Hi,
    Can we know from any system variables that whether we are in Inbound Idoc processing?
    Rgds,
    Antony

    Hi Antony,
    Inbound or Outbound is clssified based on Direction Filed.
    If we have IDOC Number chk in EDIDC its direction
    If Direct = 1(Outbound) or =2 (Inbound) i think
    Regards,
    Poornima

  • Inbound idoc processing by workflow

    Hello,
    How can I find if an inbound IDoc has been processed via workflow ?
    following are details -
    1)status records 50 and 64 for the idoc show RFC user ID whereas 62 and 53 show WORKFLOW_020 user ID.
    2)manual re process in test system using WE19 has all four status records by login user ID.
    3)BD67 values for this process code was checked for the start events.
    4)I checked standard task 30200090 following oss note 325361
    5)The invoice document posted via this idoc has created by user ID as WORKFLOW_020 
    I do not have full knowledge of inbound idoc processing via workflow and I am in the process of learning the same. Kindly help.
    thank you very much in advance,
    Bhakti

    Hello,
    How can I find if an inbound IDoc has been processed via workflow ?
    following are details -
    1)status records 50 and 64 for the idoc show RFC user ID whereas 62 and 53 show WORKFLOW_020 user ID.
    2)manual re process in test system using WE19 has all four status records by login user ID.
    3)BD67 values for this process code was checked for the start events.
    4)I checked standard task 30200090 following oss note 325361
    5)The invoice document posted via this idoc has created by user ID as WORKFLOW_020 
    I do not have full knowledge of inbound idoc processing via workflow and I am in the process of learning the same. Kindly help.
    thank you very much in advance,
    Bhakti

  • Inbound Idoc processing issues - Partner Profiles - error status 56

    Hello All,
    I'm having a little difficulty posting an idoc coming from MDM.  It's a CREMDM04 xml coming from an MDM system.  It is getting mapped through PI and is being split into ADRMAS02 and CREMAS04 Idocs.  The message is being passed through XI and being posted to the ECC system, but certain fields in the EDI_DC40 header table are not being populated correctly (i believe).  I'm using nothing but standard mapping/material from the SAP Business Content for XI.  After looking through the standard XSLTs i cannot find the field-to-field mapping where the fields below are being populated.
    The RCVPOR value (SAP[SID]) is correct when i view it in SOAP Header, but does not appear in the remote system under the receiver port for the inbound idoc.
    The RCVPRN value ([String Value]) is incorrect in the SOAP Header and does appear in the remote system under the receiver partner number for the inbound idoc.  How is the RCVPRN value being populated? 
    SOAP Header in IDocOutbound tag
      <SAP:RCVPOR>SAP[SID]</SAP:RCVPOR>
      <SAP:RCVPRN>[String Value]</SAP:RCVPRN>
      <SAP:RCVPRT>LS</SAP:RCVPRT>
    I've been trying to trace down the string value for the RCVPRN, but i cannot find it anywhere.  Perhaps i'm just overlooking it?
    When i set the proper values (port = SAP<SIDofECC> and partner number = <LSnameof ECC>) using WE19 in the remote system then the partner profile is found and i'm left with different error to please specify an address group.
    Any help is very much appreciated! :-D

    Hi Jason ,
    Just check out if you have done the following steps most of us make minor mistake here ....... I think this would solve your problem
    To Configure the IDOC SCENARIOS ,PROCEED AS FOLLOWS
    STEP 1:ALE SETTINGS TO POST IDOC INTO SAP R/3
    We need to do the following settings in XI
    1) Create an RFC Destination to the Receiving System in transaction code (SM59)
    a) Choose create
    b) Specify the name of the RFC destination
    c) Select connection type as 3 and save
    d) In the technical settings tab enter the details SAP SID/URL and system number#
    e) Enter the Gateway host as same details above SID/URL
    f) Gateway service is 3300+system number#
    g) In the Logon /Security tab, enter the client, user & Password details of Destination system
    h) Test the connection and remote logon.Both should be succesful
    2) Create Port Using Transaction Code IDX1
    a) Select Create New button
    b) Enter the port name as SAP+SID (The starting char should be SAP)
    c) Enter the destination client
    d) Enter the RFC Destination created in XI towards R/3
    e) Save
    3) Load Meta Data for IDOC Using transaction Using Transaction (IDX2)
    a) Create new
    b) IDOC Message Type
    c) Enter port created in IDX1
    SETTINGS IN SAP R/3
    We need to do the following settings in R/3
    Logon to Sap R/3 System
    1) Create an RFC Destination to XI in transaction code (SM59)
    a) Choose create
    b) Specify the name of the RFC destination
    c) Select connection type as 3 and save
    d) In the technical settings tab enter the details SAP SID/URL and system number#
    e) Enter the Gateway host as same details above SID/URL
    f) Gateway service is 3300+system number#
    g) In the Logon /Security tab, enter the client, user & Password details of Destination system
    h) Test the connection and remote logon.Both must be succesful
    2) Create communication Port for Idoc processing Using Transaction(We21)
    a) First Select Transactional RFC and then click create button
    b) Enter the destination port name as SAP+SID (The starting char should be SAP)
    d) Enter the RFC Destination created in SAP R/3 towards other system.
    e) Save
    3) Create Partner Profile with Inbound Parameters (WE20)
    a) Create New
    b) Create the Partner no. name as same the logical system name of the destination system
    c) Select Partner type LS
    d) Enter details for Type: US/USER, Agent, and Lang
    Then Save
    e) Select Partner no. and LS which were create above
    f) Now we have to give some Inbound Parameters.So click on ADD TO Create Inbound Parameter
    g) Select Message type
    h) Double click on Message Type and Then Enter the details for Message Type and Process Code.
    I) save
    4) In Transaction SALE, Create Logical System
    a). Go to Basic Settings-> First Define logical systems
    and then assign logical systems
    b) Double click on Define the logical systems
    c) Give data for your Logicaal System and Name
    d) Now click on Save.Here one window may appear just click on Continue.Now the Logical System name is ready
    e) Assign the logical system name to the client
    do let me know if it helped
    Edited by: Tom  Jose on Feb 21, 2008 9:04 AM

  • MIRO / F-53 in IDOC process

    we have a requirement where in we need to post invoice using idoc_input_invoic_mrm FM (coming as INVOIC02 IDoc) and once posted successfully, immediately clear the document using F-53..
    What is the best approach to do this?
    1) clone IDOC FM and call BAPI to post F-53? Do we need to issue COmmit work before F-53 to ensure that invoice posting is commited?
    Or this is not feasible?

    Generally inbound IDocs handler FM is called by number of ALE layer FMs which manage also commit to data base.
    The call stack for immediate IDoc processing:
    - program RBDAPP01
    - FM APPLICATION_IDOC_POST_IMMEDIAT
    - IDOC_START_INBOUND
    - IDOC_INPUT
    -- form IDOCS_PROCESS (here customizing is resolved and actual IDoc handler FM is dynamically called)
    --- FM TRANSACTION_END with actual COMMIT WORK
    This is an example which shows that you have to do your own commit after calling IDOC_INPUT_INVOIC_MRM and before document clearing. In addition all "create" routines inside IDOC_INPUT_INVOIC_MRM are called with addition ON COMMIT - so actual commit is out of control of IDOC_INPUT_INVOIC_MRM.
    Regards,
    Maxim.

Maybe you are looking for

  • How to send a mail without exposing my address?

    Hi. Can I hide my email address? Thanks : )

  • Release 4.2(1) Build 15 Patch 4 - faulting module SchemeLayer.dll

    Hi All, For the last few day's I am getting the following error on one of my acs servers. "Reporting queued error: faulting application CSAdmin.exe, version 0.0.0.0, faulting module SchemeLayer.dll, version 0.0.0.0, fault address 0x0002c370" It runni

  • List of companies using SAP in US and abroad

    I have been trying to find who uses SAP and other ERPs. Where can I find this information. Can you please point me to sources that have the list of companies using ERP in US and abroad. I searched within SAP, Oracle etc. but could not find the list o

  • Updating A Remote Database Copy

    I have a SqlExpress DB on my server.  I have a remote copy for security/backup reasons.  Because the DB file(and .bak file) is about 2 Gb, it take a while to copy the whole thing to the remote machine.  I believe there is a way to use the log file to

  • Is there a table type ATTRIBUTE that can be defined in an ABAP object?

    Hi. Within SE24 on the Attributes tab, is there a way to define an attribute of type TABLE? If you put in STANDARD TABLE as the reference type, it does not allow a generic table type. What I want to do is pass in a standard table type to my construct