Which iDoc/FM for Inbound AB Accounting Document ?

We need to generate an iDoc from an external source which will create an AB Accounting Document in SAP R/3 (transaction would be FB01). There would appear to be various possible candidates with regards to Basic Types, Message Types, Function Modules etc, for example :
Message Basic Type FM
FIDCC2 FIDCCP02 IDOC_INPUT_FIDCC2
ACC_DOCUMENT ACC_DOCUMENT02 BAPI_IDOC_INPUTP
We are running 4.70 110. I would appreciate some guidance as to the most appropriate iDoc/Message/FM to use.
Many thanks,
Paul Read.

Found answer through trial-and-error.

Similar Messages

  • How to use Bapi BAPI_ACC_DOCUMENT_POST for g/l account document posting

    Hi all,
    I am using BAPI_ACC_DOCUMENT_POST bapi for g/l account documents posting.as I am first time using BAPI in my program.can anyone give details about how to use this BAPI for document postings.what importing parameters need to be passed , which exporting parameters need to be passed and which tables need to be used.  
    Thanks in advance.
    Regards,
    Harshada

    Moderator message - Please search before asking - post locked
    Rob

  • Table for link between Accounting document and Billing document

    Which is the table for link between Accounting document and Billing document ?
    Thanks & Regards

    Ø Go to SE16N, enter table BSAD
    Ø In the Reference Field (VBELN) enter the Billing Document no. 
    Tips:
    Ø Make sure that only those billing documents will be considered whose accounting documents actually exists
    Ø No Accounting documents will be displayed for Credits, Free of charge orders and those acc. Documents which have been cancelled.

  • Error occurs, BAPI_ACC_DOCUMENT_CHECK for creation of accounting document

    Hi Experts,
    I am creating accounting document using BAPI_ACC_DOCUMENT_CHECK  Bapi F.M.  Profit segment number  is mandatory ( T.code KEDR)  for G/L account 411103 .when i am using this G/L account for creation of accounting document, occurs below error message.
    1.Field  Prof. Segmt  is required field  for G/L account 0495 411103
    2. Account 411103 requires an  assignment  to a CO Object.
    Please let me know how i can resolve this problem using with BAPI.
    Thanks
    Jaya Reddy

    The BAPI you have mentioned is used to check whether a posting to accounting is possible.  You can use the Bapi "BAPI_ACC_DOCUMENT_POST" for posting accounting documents.  Depending on the GL account configuration you have to pass PROFIT CENTER / COST CENTER to the BAPI.
    Regards
    vinod

  • Standard IDoc Type for Inbound NonPO Vendor Invoices - FB60

    What should be the perfect standard IDoc Type for Inbound NonPO Vendor Invoice posting. Tcode FB60.
    I found IDoc Type FIDCCP02 but the Function Module 'IDOC_INPUT_FIDCC2' for FIDCCP02 is not released.
    In the same way many other standard function modules like - IDOC_INPUT_ACLPAY, IDOC_INPUT_FIDCCH, IDOC_INPUT_ACC_INVOICE_RECEIPT and few more are not released.
    My question : If at all I have to use standard IDoc Type, Message type and Function module (Released) for Inbound NonPO Vendor Invoices, then what should be the solution from SAP ?
    Thanks,
    Veeru.

    Hi,
    IDOC_INPUT_FIDCC2 for FIDCCP02 works for us in ECC6.0
    If you want Automatic tax calculation functionality using FIDCCP02.. then FIDCC2 is not correct message type for you. In that case you should probably go for :
    Msg: INVOIC
    Basic type: INVOIC02
    FM: IDOC_INPUT_INVOIC_FI
    Process code: INVF
    Thanks,
    Kumar

  • When idoc failes for inbound sales orders then how to trigger a mail notifi

    Hi All,
    When idoc failes for inbound sales orders in SAP then i would like to send an email notificaiton to particular user id. Could you please let me know the settings for this requirement.
    Thanks in advance..

    Closing thread as there are no replies

  • Separate line item for taxes in accounting document of MIGO

    All SAP Gurus,
    As we can have separate line item for Freight amount (Freight amt credited) in accounting document for MIGO.
    Similarly is it possible to have separate line item for tax amount which is inventoried.
    Regards,

    Hi Rajan,
    Freight is from pricing procedure whereas tax is from taxing procedure.
    Tax cannot be shown in separate g/l in MIGO.
    Reason:
    If u wanna show tax as separate item then we need to debit tax a/c in migo as well as it has to go to inventory which is not possible(double accounting enrty on debit side).
    I too tried to do the same by specifying 2 for posting indicator and selecting non deductible for the nonsetoff account key used in the taxing proceudre in OBCN but it is behaving like setoff tax.
    U can also try doing the same and then check.
    Reg
    Raja

  • Which iDOC Type for Credit/Debit notes generated from SD Module ?

    Hi,
    We are implementing an EDI Solution for SD Invoices which would involve sending EDIFACT Messages generated out of mapping the SAP iDOC TYPE INVOIC02 to the EDIFACT fields.
    We also have to send Credit and Debit Notes generated from SAP in the SD Module in the same path. We are currently planning on using INVOIC02 for doing this.
    My Question: Is this the proper approach ? We don't want to use the Credit / Debit advises in FI-GL to post to Credits to Customer Account.
    Is there any other iDOC Type or message type that we should be using for SD Credit/Debit Notes ?

    Hi Mahesh,
    Thank you for your help.
    In my client location data is posted non-sap to sap through SAP XI/PI.
    so i need to tell the xi guy to which IDOC is used for this interface and technical names.
    Can you help me.

  • Idoc WHSORD for inbound delivery

    Hello,
    We want to send inbound deliveries to an external WMS (not SAP WM) by using an output in the inbound delivery.
    I tried to use idoc WHSORD (basic type DELVRY01) as for Outbound delivery.
    I obtained an error message when processing the output : "The message record of the message control contains a partner role with a partner type LS that cannot be used here. Only the 'KU' and 'LI' partner types are allowed."
    <u>Configuration done</u> (same as outbound delivery) :
    Output : Medium "6 EDI" / Partner type LS
    Partner profile (WE20) : Partner type LS / Partner role LS /Message control : Application E1 / process code DELV.
    Finally, I've been able to generate one idoc from the inbound delivery by using medium "A ALE" and partner type LI "vendor". But I need to do it for a LS partner as we do want to maintain partner profile for each vendor.
    Is this due to some missing configuration linked to application E1 (i.e allow partner type LS ?) ?
    How can we solve this ?
    Thanks a lot for your help

    Hi zhiqiang,
    In order to test inbound idocs, you can use transaction WE19 to create manually idocs.
    As pre-requisite, you have to maintain ALE configuration : port and partner profiles.
    Then in WE19, you can create an idoc from message type : fill all the fields you need to and delete unuse segments. Then click on "Standard inbound" and your idoc will be received in your SAP system.
    Check the status in transaction BD87.
    To fill correctlly your idoc :
    1. You can find documentation on message type in transaction WE60 (when you go in this transaction, check the documention is "active" => Goto => user settings => "Documentation output" and "field value output" must be ticked)
    2. In WE19, for some fields, if you press F4, you will get list of possible values.
    Good luck,
    JP

  • Which Idoc type for Quality release process and Inventory reconciliation/adj. with 3PL

    Dear experts,
    could you please provide your suggestion on which Idoc type to use for following two scenarios between Client and 3PL vendor (Logistic provider):
    1st scenario:
    - Products are released in QM in clients SAP. As a result of this action stock status is changed. This information should be sent to 3PL vendor. 3PL vendor receives the information, changes the inventory status in its system and sends confirmation back to the client. Is there any Idoc type that can be used?
    2nd scenario:
    - 3PL vendor sends stock reconciliation static report to the client. Client receives the report and compares it with own report. Exceptions are reviewed and adjusted upon agreement between Client and 3PL. Once 3PL adjusts the stock, this information is received in Client system and processed subsequently. Any suggestions for an Idoc with Stock reconciliation report and also for stock adjustments?
    Many thanks for each idea to everyone in advance.

    Hi Ramesh,
    thank you for this idea. Unfortunately it seems not be applicable for our system as it is ECC 5.0 and INVRPT Idoc type I can only find in ECC 6.0.
    Do you have any other idea or we have to build a new custom Idoc type?

  • BAPI for copying an Accounting Document

    Hi,
    I have to copy an existing accounting document and create a New Accounting document.
    For creating i will use BAPI_ACC_DOCUMENT_POST.
    If there is a function module for this, please suggest.
    Please let me know how to copy the existing accntg document??
    Regards,
    Saurabh

    Hi Sourabh,
    try passing obj_key with your source document number in
    BAPI_ACC_DOCUMENT_POST.
    I am not sure whether that will work or not.
    The round about way will be select the document details FI tables and pass it BAPI_ACC_DOCUMENT_POST.
    Hope this helps you.
    Thanks,
    Arun

  • Why for P.O. Accounting document will not generate.

    Hi,
    In T.Code ME21N why Accounting Document will not generate,
    please give brief information,
    Thanks
    Samsunder

    Hi,
    In case of creating a P.O (purchase orde) no Accounting Document will be generated.Accounting entry will be generated At the PGI (post goods delivery , movement Type 601)
    The accounting entry will be
    cost of goods sold  Dr.
           to Inventry Account  Cr.
    With regards,
    Sudipto

  • 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

  • Mapping the IDOC fields for Inbound PO

    Hi,
    I am trying to map the fields for PO for IDOC type ORDER05, but unable to do so for the following IDOC fields in segments.
    Document Date
    Vendor
    Account Assignment Category
    Delivery Date
    Requirement No.
    Requisitioner
    Purchase Requisition
    Preq Item No.
    Outline Agreement
    Outline Agreement No.
    What fields in the IDOC match these in SAP R/3.
    Thanks,
    Randy.

    Hi Did you manage to get this IDoc working? I'm having the same problem with the mapping and the documentation is really bad.
    Thanks.

  • IDoc Serialization for Inbound processing

    Hi Techies,
    I have a requirement of sending the IDocs from XI to SAP in the same order in which they were sent from the sender SAP system.
    i have a special constriant here which says "if the message get stuck in the Integration Engine (may be because of any runtime error) the messages sent after this message should not be processed.
    How can i achieve this, please help.
    Regards,
    Jeet

    Hi,
    This will help you..
    http://help.sap.com/saphelp_erp2004/helpdata/en/bd/277264c3ddd44ea429af5e7d2c6e69/content.htm
    Setting up inbound qRFC queues for serializing IDocs using the IDoc Adapter
    Regards,
    Sarvesh

Maybe you are looking for