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 Messages

  • Which kind of IDOC for invoice posting ?

    I have a requirement where I have to look at the incoming IDOCS send by vendors through EDI. Now if the IDOC posting fails to create invoice, I have to create a custom report for all the failed invoices posting (status 03).
    My question is when the vendor will send invoices via EDI IDOCS, will that be INVOIC01 or INVOIC02. Because I will be reading segment data of these invoices to create the report.
    Also, can someone guide me through as how to create data for incoming INVOICES IDOCS for testing purpose ?
    Regards,
    Rajesh.

    Solved myself

  • Automatic clearing for document posted via FBB1 with foreign currency

    Hi SAP Gurus,
    Can anyone help to explain on why does the document posted in FBB1 with document currency USD was auto cleared even without satisfying the rule in OB74. But when the document currency is SGD it can be automatically cleared.
    Scenarion is as below
    OB74 set up:
       Accty type: S
      From acct: 12000
      To account: 12000
      Criterion 1: Business area
      Criterion 2: Assignment
    G/L account : 12000
    Account currency : SGD
    Post JV document via FBB1:
         Dr 12000
         Cr 20000
         Document curreny : USD ; amount: 0
         Local currency: SGD ; amount: 200
         Assignment: Test A
         Business area: 'blank'
    *When I run F.13 above document was cleared and the clearing doc contains below
           Dr 20000
           Cr 12000
    But when I post in FBB1 with same entries as above, only changing the document currency to SGD it will not be cleared via F.13.
    Appreciate your explanation on why does above scenario happened.
    Thank you in advance.

    HI,
    while posting the entry through FBB1 then system will not consider the exchange rates as per ob08 and etc.,
    you can define the local and foreign currency values as per your wish while posting the FBB1.
    I hope above will clear you issue. Thank you.
    Reg
    Madhu M

  • 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

  • IDocs for items posted with special G/L indicator

    Hi all!
    Is it true that the idoc types for open items (acc_billing, acc_invoice_receipt) are not able to post items with special G/L indicator.
    Does this mean that i have to implement a program of my own which builds up a FIDCCP02 idoc to post open items from a legacy system for migration??
    Thanks for your advice.
    Axel

    Hi Sukumar: This is a migration project from one R/3 4,6C to another one (5.0). Exits in this area may have influence on postings to be distributed immediately when posted in the source system to any target system. My task is, to migrate existing open items including special G/L items. There is just a transaction to create such idocs (GAL3), but i do not see, what this transaction would help. So a program of my own must be created.

  • Enhancing standard IDOC for invoice posting

    Dear All,
    I have a requirement where IDOC_INPUT_INVOIC_MM, which a standard inbound function module to post invoices through PO, is used. In addition to the standard functionality, now the requirement is that, if PO is blank then PO would be created using BAPI_PO_CREATE, followed by goods movement by BAPI_GOODSMVT_CREATE, finally invoicing posting would be done using BAPI_INCOMINGINVOICE_CREATE. Pls suggest how to add this functionality in the given standard Inbound IDOC.
    Regards
    Anand

    Hi Anand,
    U can create a Z function module  copy of that IDOC_INPUT_INVOIC_MM.
    Here put the condition
    If PO is blank
    ucan call PO Creation BAPI,GM BAPI and Invoice BAPI
    Else.
    Normal process
    endif.
    Assign ur Z functionmodule to Processcode.
    It will resolves ur Problem.
    Regards,
    Venakt.

  • BAdi for Statistical Posting F-38 & F-55

    Hi Experts,
    I am going to add additional fields in AR and AP - Statistical posting, F-38 and F-55
    I try to look for BADI to maintain it, i came across FI_HEADER_SUB_1300IM, with that, i am able to add the fields for FB01 but it seems cannot be added into F-38 and F-55.
    Any suggestion?
    Thanks!!

    Hi,
    For f-38 and f-55,
                                                                                    Enhancement/ Business Add-in            Description                                                                               
    Enhancement                                                                               
    SAPLF051                                Workflow for FI (pre-capture, release for payment)               
    RFKORIEX                                Automatic correspondence                                         
    RFEPOS00                                Line item display: Checking of selection conditions              
    RFAVIS01                                Customer Exit for Changing Payment Advice Segment Text           
    FARC0002                                Additional Checks for Archiving MM Vendor Master Data            
    F180A001                                Balance Sheet Adjustment                                         
    F050S007                                FIDCCH Outbound: Influence on IDoc for Document Change           
    F050S001                                FIDCMT, FIDCC1, FIDCC2: Edit user-defined IDoc segment           
    F050S002                                FIDCC1: Change IDoc/do not send                                  
    F050S003                                FIDCC2: Change IDoc/do not send                                  
    F050S004                                FIDCMT, FIDCC1, FIDCC2: Change outbound IDoc/do not send         
    F050S005                                FIDCMT, FIDCC1, FIDCC2 Inbound IDoc: Change FI document          
    F050S006                                FI Outgoing IDoc: Reset Clearing in FI Document                                                                               
    Business Add-in                                                                               
    BADI_ENJ_ALT_ADR                        Go to alternative vendor/customer data                           
    BADI_F040_SCREEN_600                    Screen Enhancement on F040 0600 Document Header                  
    BADI_FDCB_SUBBAS01                      Screen Enhancement 1 on FDCB Basic Data Screen (010, 510)        
    BADI_FDCB_SUBBAS02                      Screen Enhancement 2 on FDCB Basic Data Screen (010, 510)        
    BADI_FDCB_SUBBAS03                      Screen Enhancement 3 on FDCB Basic Data Screen (010, 510)        
    BADI_FDCB_SUBBAS04                      Screen Enhancement 4 on FDCB Basic Data Screen (010, 510)        
    BADI_FDCB_SUBBAS05                      Screen Enhancement 5 on FDCB Basic Data Screen (010, 510)        
    BADI_PRKNG_NO_UPDATE                    BAdI for Deactivating Update of Parked Documents                 
    INVOIC_FI_INBOUND                       BADIs for Inbound IDoc INVOIC FI (Vendor Invoice)                
    F050S008                                FIDCC1, FIDCC2 Inbound IDoc: Update Comparison Ledger            
    FBAS_CIN_LTAX1F02                       Tax interface                                                                               
    FBAS_CIN_MF05AFA0                       EWT - Downpayment Clearing - Tax transfer for CIN              
    ADJUST_NET_DAYS                         Change to Net Due Date                                         
    FISPLIT                                 Online Split: Cash Discount, Exchange Rate Differences         
    FI_AUTHORITY_ITEM                       Extended Authorization Check for Document Display (FB03)       
    FI_DOC_DISP_LI                          Diversion to Document Items (FB03)                             
    FI_FB08_SUBST_BUDAT                     FB08: Check Posting Date for Reversal of FI Doc. with FB08     
    FI_GET_INV_PYMT_AMT                     BAdI for determining the payment amount for an invoice         
    FI_HEADER_SUB_1300                      Screen Enhancement for Document Header SAPMF05A                
    FI_PAYREF_BADI_010                      BAdI: Payment Reference Number                                 
    FI_RES_ITEM_CURRENCY                    Document of Residual Item with Invoice Currency                
    RFESR000_BADI_001                       BAdI for Own Processing of POR Item                            
    FI_TRANS_DATE_DERIVE                    Derive BKPF-WWERT from Other Document Header Data              
    FVFZ                                    Replacement for Function Modules of Function Group FVFZ        
    AC_QUANTITY_GET                         Transfer of Quantities to Accounting - Customer Exit           
    If it is helpful rewards points
    Regards
    Pratap.M

  • BTE for complex posting in FB60

    Hi all,
    I implemented BTE 1030 and 1050 to capture the posting event via FB60 transaction. It works fine if I complete the document with the 'usual' post action.
    The problem occurs when I try to post with the funcion 'Complex Posting'.
    (FB60 --> Enviroment --> Complex Posting). In this case when i complete the document and post it the BTE don't works!! It looks SAP doesn't pass in the custom function implementation (1030 and 1050 interface). Can someone indicates me if exists some others BTE that I can use?
    Thanks!
    Lucio

    Transaction Code - FB60                     Enter Incoming Invoices
    Exit Name           Description
    RFAVIS01            Customer Exit for Changing Payment Advice Segment Text
    RFEPOS00            Line item display: Checking of selection conditions
    RFKORIEX            Automatic correspondence
    SAPLF051            Workflow for FI (pre-capture, release for payment)
    F050S001            FIDCMT, FIDCC1, FIDCC2: Edit user-defined IDoc segment
    F050S002            FIDCC1: Change IDoc/do not send
    F050S003            FIDCC2: Change IDoc/do not send
    F050S004            FIDCMT, FIDCC1, FIDCC2: Change outbound IDoc/do not send
    F050S005            FIDCMT, FIDCC1, FIDCC2 Inbound IDoc: Change FI document
    F050S006            FI Outgoing IDoc: Reset Clearing in FI Document
    F050S007            FIDCCH Outbound: Influence on IDoc for Document Change
    F180A001            Balance Sheet Adjustment
    FARC0002            Additional Checks for Archiving MM Vendor Master Data
    FEDI0001            Function Exits for EDI in FI
    No of Exits:         14
    USER EXIT
    http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm
    http://www.sapgenie.com/abap/code/abap26.htm
    http://www.sap-img.com/abap/what-is-user-exits.htm
    http://wiki.ittoolbox.com/index.php/HOWTO:Implement_a_screen_exit_to_a_standard_SAP_transaction
    http://www.easymarketplace.de/userexit.php
    http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm
    http://www.sappoint.com/abap/userexit.pdfUser-Exit
    http://www.sap-img.com/ab038.htm
    http://help.sap.com/saphelp_46c/helpdata/en/64/72369adc56d11195100060b03c6b76/frameset.htm
    http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm
    http://www.sap-img.com/abap/what-is-user-exits.htm
    http://expertanswercenter.techtarget.com/eac/knowledgebaseAnswer/0,295199,sid63_gci982756,00.html
    Rewards if useful.........
    Minal

  • I have number range issue for fi posting.

    hi gurus,
    i have number range issue for fi posting (fb01,fb50).
    problem in updating table glpca due to duplication of record.
    INSERT GLPCA FROM TABLE T_GLPCA .
    With Regards,
    Shakthi Raj N.

    error msg  after generating document no and it is not getting updated in data base
    error msg
    "Express document "Update was terminated" received from author "ecciabap""
    Client.......   750
    User.....   ECCIABAP
    Transaction..   FB01
    Update key...   C83B07DE4DADF13CB4950017A4AB8015
    Generated....   02.03.2009, 20:37:23
    Completed....   02.03.2009, 20:37:23
    Error Info...   00 671: ABAP/4 processor: SAPSQL_ARRAY_INSERT_DUPREC

  • Any standard IDOC  for Goods Issue and Goods Receipt ?

    Hi ALE/IDOC Experts,
    Seeking the experts advise on the following questions.could someone help us please..
    1. We are in need to post an IDOC which should do a Goods Receipt against the open PO - We are struggling to identify the right IDOC and its process code - Do we have any IDOC for that?
    2. We have to do a Goods Issue by posting an IDOC.Please help me in finding out the right IDOC (with Process code) for GI posting.
    We also have a plan to use ORDERS05 IDOC for GI posting by writing the customized process code (considering the future use of ORDERS05 to create SO). You could throw some light on this if possible.
    Thanks in advance,
    RGds,Vasanth.

    Hello Gajendra,
    Thanks for the timely input.I am thinking why not use ORDERS05 idoc and to have a custom code for that to do both GR/GI posting.Taking into account of future use of ORDERS05 in mind.
    I know for sure we can do that for GI.would it be possible to do the same for GR too
    If you can provide your suggestions on this that would be useful as you have already done that.
    Thanks in advance.
    RGds,Vasanth.

  • Outbound Idoc for Goods Recept

    Hi All,
    I need to setup Idoc for transfer posting from storage location to storage location,So currently there is no outbound process code for trigerring outbound idoc from SAP system to external system.
    I hope we have to create a new output type and segments to do this.
    B'coz , WMMMBXY and its segments are used for inbound idoc creation during GR. and theFM for this process is    L_IDOC_INPUT_WMMBXY
    Can somebody help me in writing an  outbound idoc program for goods receipt done in MIGO.
    Thanks in advance.

    Hi Shazia,
    Speaking in terms of EDI Idocs, system is not prepared for send Goods Receipts because normally is an incoming message not the opposite. All the output messages you can find are for printing purposes.
    So you need to configure everything for Output Determination and create a new function module to capture NAST message determination, retreive GR data, populate the Idoc and distribute it. Finally you have to create output process code, partner profile, port, rfc, distribution model, etc. etc.
    Your starting point is next IMG activities to configure new output type for EDI medium for application ME: Material Management>Invetory management and Physical inventory>Output Determination.
    Reward points if useful
    Roger

  • Post long text for document line item via FI-GL Inbound IDoc

    Hi guru,
    I am trying post extension ZFIDCP02 linked basic type FIDCCP02 and message type FIDCC2 IDoc in R/3 (4.6c) via IBM Websphere (Inbound IDoc),
    I am use inbound function module IDOC_INPUT_FIDCC2 and activate exit 008 (EXIT_SAPLF050_008) and exit 002 (EXIT_SAPLF050_002),
    In the extension ZFIDCP02 and under E1FISEG, I am add my segment  ZITEXT include field TDSPRAS, TDID, TDOBJECT, TDLINE.
    I am send  ZFIDCP02 IDoc via IBM Websphere no error  but all field TDSPRAS, TDID, TDOBJECT, TDLINE in my segment  ZITEXT not post in FI-GL.
    How can I  post long text for document line item (ZITEXT) in FI-GL ?.
    and I'm mean post ZITEXT to bank statement via IDOC.
    Please throw light on this  and  may be I  'm want solution or example ABAP code for exit 002 (EXIT_SAPLF050_002).
    Thanks in advance,
    Akkapong Pirachai
    CAT Telecom
    Edited by: Akkapong Pirachai on Aug 20, 2008 7:40 AM

    Close question because long time for answer.

  • How to mention posting keys for line items in IDOCS for fb01 posting

    Hi all ,
    I am using IDOCS for fb01 posting with posting keys 15 and posting keys 40 for line items .The data is in legacy file . I am using IDOC <b>ACC_GL_POSTING_01</b> for posting . Is there any way that I can mention the posting keys in the segment parameters of the IDOC.If there is anyone who have done fb01 posting with IDOCS,please help me with the code .Please treat the question as urgent .
    Thanks in advance

    Hi Arshad,
    There is no fecility to enter Posting keys explicitly.. It is determined automaticall by the Credit/Debit amounts u enter in GL data in the segments E1BPACGL08 and E1BPACCR08 and also it depends on the Customer and Vendor no.
    Sreedhar

  • Idoc for Posting data to FB01 transaction

    Hi,
    In my Interface, i need to post data to a SAP FI system->FB01 transaction from XI. The scenario is nonSAP system->XI->SAP FI.So what are the possibilites to post data to SAP FI->FB01 transaction. Is there any Idocs for that or any other method.
    Please share your ideas..Ponts will be rewarded for good inputs...
    Thanks

    Hi,
    You need to get the file with the required format from the sender system and there shouldn't be any mapping in PI. Also please check the below link on how to get the file structure.
    Re: File for 'RFBIBL00'
    There is also a help for the RFBIBL00 program. Check this too.
    http://help.sap.com/saphelp_45b/helpdata/en/35/a47e63763e0392e10000009b38f9b7/content.htm
    The file should be placed in the ECC application folder and this program needs to be scheduled with that file path. If you are not able to get the file in the required format then you may need to go with the IDOC or BAPI solution.
    ~Vaas

  • IDOC for F-53 Posting Payment Document ?

    Dear All,
    Please advise which IDOC i can use for Posting Payment Document ? I have scenario to send the IDOC payment document to others SAP system.
    Thank You and Best Regards
    Fernand

    I guess you can use the same messagetype for outgoing payments:
    report  zzinbound_idoc.
    data: g_idoc_control_record like edi_dc40 occurs 0 with header line.
    data: g_edidd like edi_dd40 occurs 0 with header line.
    data: g_e1bpache09 like e1bpache09.
    data: g_e1bpacar09 like e1bpacar09.
    data: g_e1bpaccr09 like e1bpaccr09.
    data: g_e1bpacgl09 like e1bpacgl09.
    parameter: mode type c default 'A'.
    refresh: g_idoc_control_record, g_edidd.
    clear:   g_idoc_control_record, g_edidd.
    *-Build Control Record -*
    g_idoc_control_record-mestyp  = 'ACC_DOCUMENT'.   "Message type
    g_idoc_control_record-idoctyp = 'ACC_DOCUMENT03'. "IDOC type
    g_idoc_control_record-direct  = '2'.              "Direction
    * Receiver
    case sy-sysid.
      when 'DE2'.
        g_idoc_control_record-rcvpor = 'SAPDE2'.     "Port
        g_idoc_control_record-rcvprn = 'IDOCLEGACY'. "Partner number
    endcase.
    g_idoc_control_record-rcvprt = 'LS'.             "Partner type
    g_idoc_control_record-rcvpfc = ''.               "Partner function
    * Sender
    g_idoc_control_record-sndpor = 'FILE_PORT'.      "Port
    case sy-sysid.
      when 'DE2'.
        g_idoc_control_record-sndprn = 'IDOCLEGACY'. "Partner number
    endcase.
    g_idoc_control_record-sndprt = 'LS'.             "Partner type
    g_idoc_control_record-sndpfc = ''.               "Partner function
    g_idoc_control_record-refmes = 'Customer clearing'.
    append g_idoc_control_record.
    *-Build Idoc Segments -*
    *-------E1BPACHE09 (HEADER)
    clear g_edidd.
    g_edidd-segnam = 'E1BPACHE09'.
    g_edidd-segnum = 1.
    clear g_e1bpache09.
    g_e1bpache09-bus_act    = 'RFBU'.
    g_e1bpache09-doc_date   = sy-datum.
    g_e1bpache09-doc_type   = 'DZ'.
    g_e1bpache09-comp_code  = 'BP01'.
    g_e1bpache09-pstng_date = sy-datum.
    g_e1bpache09-username   = sy-uname.
    g_e1bpache09-ref_doc_no = '0090000025'.
    move g_e1bpache09 to g_edidd-sdata.
    append g_edidd.
    *-------E1BPACGL09 (ACCOUNT GL) (Debit) (Factoring Partner)
    clear g_edidd.
    g_edidd-segnam = 'E1BPACGL09'.
    g_edidd-segnum = 2.
    clear g_e1bpacgl09.
    g_e1bpacgl09-itemno_acc = 0000000002.
    g_e1bpacgl09-gl_account = '0000157000'.
    g_e1bpacgl09-customer   = 'C6130'.
    g_e1bpacgl09-acct_type  = 'S'.
    g_e1bpacgl09-comp_code  = 'BP01'.
    *g_e1bpacgl09-costcenter = '0000001602'.
    move g_e1bpacgl09 to g_edidd-sdata.
    append g_edidd.
    *-------E1BPACAR09 (ACCOUNT RECIEVABLE) (Credit) (Customer)
    clear g_edidd.
    g_edidd-segnam = 'E1BPACAR09'.
    g_edidd-segnum = 3.
    clear g_e1bpacar09.
    g_e1bpacar09-itemno_acc = 0000000001.
    g_e1bpacar09-customer  = 'C6110'.
    g_e1bpacar09-comp_code  = 'BP01'.
    g_e1bpacar09-alloc_nmbr = '0090000025'. "BSEG-ZUONR ?
    move g_e1bpacar09 to g_edidd-sdata.
    append g_edidd.
    *-------E1BPACCR09 (CURRENCY AMOUNT)
    clear g_edidd.
    g_edidd-segnam = 'E1BPACCR09'.
    g_edidd-segnum = 4.
    clear g_e1bpaccr09.
    g_e1bpaccr09-itemno_acc = 0000000001.
    g_e1bpaccr09-curr_type  = '00'.
    g_e1bpaccr09-currency   = 'NOK'.
    g_e1bpaccr09-amt_doccur = -111.
    move g_e1bpaccr09 to g_edidd-sdata.
    append g_edidd.
    g_e1bpaccr09-itemno_acc = 0000000002.
    g_e1bpaccr09-curr_type  = '00'.
    g_e1bpaccr09-currency   = 'NOK'.
    g_e1bpaccr09-amt_doccur = 111.
    move g_e1bpaccr09 to g_edidd-sdata.
    append g_edidd.
    *-Create idoc -*
    *-Syncronous
    if mode = 'S'.
      call function 'IDOC_INBOUND_SINGLE'
        exporting
          pi_idoc_control_rec_40              = g_idoc_control_record
    *     PI_DO_COMMIT                        = 'X'
    *   IMPORTING
    *     PE_IDOC_NUMBER                      =
    *     PE_ERROR_PRIOR_TO_APPLICATION       =
        tables
          pt_idoc_data_records_40             = g_edidd
        exceptions
          idoc_not_saved                      = 1
          others                              = 2.
      if sy-subrc  0.
        message id sy-msgid type sy-msgty number sy-msgno
                with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      endif.
    *-Asynchronus
    else.
      call function 'IDOC_INBOUND_ASYNCHRONOUS'
        in background task as separate unit
        tables
          idoc_control_rec_40 = g_idoc_control_record
          idoc_data_rec_40    = g_edidd.
      commit work.
    endif.
    write: / 'Goto transaction F.13'.
    Edited by: Erik Hoven on Feb 24, 2009 12:55 PM

Maybe you are looking for

  • The editing bars in the get info menu are blancked or disabled.

    Hi .... I got my Iphone for about 1 year. And I was the 1st member in my family to have an Apple product. since then I was searching the internet to solve the problem I face. I want to Edit my musics (alote of them has the same name and it is hard to

  • Customer payment methods and customer tolerance grps

    hello,   for lockbox customer what payment mehod do we assign in master record, also how do we go abt setting tolreance grp and where do we set this up. please let me know. thanks

  • [SOLVED] ldconfig: /usr/lib/libOpenCL.so.1 is not a symbolic link

    Hi. I use 64 bits arch with gnome and the ATI driver 13.6 beta installed from the AMD binary and I usually execute steam. Everything seem fine, but recently I receive a message when I update any package with pacman ldconfig: /usr/lib/libOpenCL.so.1 i

  • FIAA AS01, AS02 format & list in the description fields

    Hi Guru, I am adm. I have to do in: ANLA-TXT50 link to the table with the list of names (create table z* and link it to this field) ANLA-TXA50 display the date in special format so in the transaction AS01, AS02 the users can in Description field  cho

  • New OATS Release Available

    Hi OATS Folks, New OATS release(Oracle Application Testing Suite 12.3.0.1.0)  is available now. Oracle Application Testing Suite Downloads</title><meta name="Title" content="Oracle Application- Cheers, Deepu M