Bapi to create finance document for a customer

Hi ,
  Can any one of you please tell me how to create a finance document of type(BLART ex: Z3) for a customer with the details customer number , invoice number, Billing date(baseline date) and a price value , G/L account number, Payment terms , Payment method ,   Due days, Text.
Please tell me BAPI name and also tell me how to pass the data to that bapi.
Thanks in advance.
Regards,
Manju
Edited by: manj1325 on Jan 13, 2010 8:38 AM

Ya Thank you very much.
   I will give you the fields that i need to pass please let me how to pass and where to pass.
Accounting document number (BELNR)
customer
baseline date(ZFBDT)
price(WRBTR)
G/L account number (SAKNR)
payment terms(ZTERM)
payment method(ZLSCH)
due days(VERZN)
text(SGTXT)
and document type(BLART) - Z3
Please let me.I have not time to analyse it now.Thats why i am asking.
Thanks in advance
Edited by: manj1325 on Jan 13, 2010 11:10 AM

Similar Messages

  • Creating change documents for VDH1N-customer hierarchy

    Hi
    i need to create change documents so that i can read the changes and extend DEBMAS06 to send customer hierarchy data to non-sap system using IDOC.
    can anyone let me know how to create change documents to customer hierarchy ...

    Hi
    i need to create change documents so that i can read the changes and extend DEBMAS06 to send customer hierarchy data to non-sap system using IDOC.
    can anyone let me know how to create change documents to customer hierarchy ...

  • How to create matreial document for ten line items (10 documents) by BAPI

    Hi
    how to create matreial document for ten line items (10 documents) by BAPI_goodsmvt_create
    i created but it gives error as "no ites were transferre
    and i need code also.
    thanks in advance

    Prabhu Peram wrote:>
    > >
    Gareth @ Atos Origin UK wrote:
    > > Prabhu,
    > >
    > > You have been on SDN a long time and have a decent amount of points - why do you feel the need to simply cut and paste standard SAP documentation? _-----> I least bother abt the Points, and i never ask somebody to give points to me , if u have any doubt on it , u can check all my postings ? All it does is fill up the SDN servers with replicated data which the original poster could quite easily access themselves via SE37----> Sorry I have seen ur Posting/Reply,dont assume that i do copy & paste for sake of Points.Njoy SAP.>
    > > Gareth.
    >
    >
    >
    > regards
    > Prabhu
    Prabhu.
    I didn't question you about points at all - I was making the point that you have been on SDN a long time and have a lot of points.  Therefore you should know better than to simply cut and paste standard SAP help.  If you don't copy and paste for sake of points, what do you do it for?  It serves no purpose other than to fill up the servers here on SDN.  The original poster appears to have access to a SAP system and SE37 and wants to know how to call a BAPI - they can easily go to SE37 and read the documentation themselves.  Posting it here just adds noise and makes searching harder, as well as taking up more and more space on SDN servers.
    Gareth.

  • Unable to create Accounting document for my Outgoing excise Invoice

    Dear All,
    I am implementing sales from Factory. I am unable to creat accounting document for my Outgoing excise invoice.  When I click the Utilization button, The excise invoice type is selected Deemed.
    1. How to control which Which Excise invoice type should be selected in J1IIN.
    2. For Deemed exports will system not genererate Accounting document for Excise Invoice?
    3. Where to view the excise invoice document types (Like Billing and order types)
    Thanks & Regards

    For deemed export sales,
    -Accounting documents will not get generated. (ref: Excise Acct Determination in CIN settings, you will not find Excise Tranraction type:ARE3 for which G/L account will not be assigned)
    -Excise Invoice type will be automatically triggered based on configuration : Excise Group / Series Group detetermination.
    - For Deemed Exports , only Quantity will get updated in RG1, but not the value. thats the reason, accounting document will not get generated.
    - This excise invoice is created, for - to update the RG1 registry / ARE3 creation.
    hope it clears
    regards,

  • Duplication of Purchase Order while creating sales orders for a customer

    when we try to create sales order for one customer it have to create by picking up the purchase order from the table linearly.
    But the problem is that here when we are trying to create multiple sales orders the same purchase order is being picked.
    for example..when we create sales order 1 the purchase order picked is PO1 and
    for creation of sales order 2 the same purchase order PO1 is being picked up instead of PO2.
    No idocs are being generated in this, even to check them..
    How shall i resolve this...? Please help me out ASAP

    Hi Kumar,
    Thanks for the reply. But actually the problem is that this is related to some customized table in the project. When a EDI Batch job runs in the background then automatically the SO is created and the PO is being picked from the table(custom table) and then posted against the respective SO. we are not aware of that job which is triggering this to debug. Once if we can know that particular batch job or pgm or edi or idoc what ever it is then we can debug.
    Do you have any idea how can we find that particular pgm/edi/idoc/job name which triggers this creation of SO?

  • Create delivery  document for line item 5 only manually

    Hi Sap Experts,
    We have scenario, we have created sales order with 10 line items while creating delivery we don’t want to show all the 10 line item to delivery creator (creating delivery manually).
    We will send him mail saying that create delivery  document for line item 5 and we will provide him material number and delivery date and shipping point with sales order number.
    We don’t want to use partial delivery option that split the delivery and we don’t want to use VL10C tcode also.
    What are options we have and how to customize this scenario?
    Kindly suggest.
    Regards,
    Kotli

    Can you be clear in your requirement?
    One requirement is user should not select line items other than the one instructed to them
    The other requirement is delivery split should happen based on item category
    If your requirement is first one, you need to go with user exit USEREXIT_MOVE_FIELD_TO_LIPS in include MV50AFZ1 but I am not sure, on what logic, coding to be included in this exit.  If your requirement is second one, then just try in your system and share the outcome how system is functioning.  You will come to know how standard SAP works.
    G. Lakshmipathi

  • Creating Intermediate Document for purchase order

    Hi gurus i am working With  ALE Concepts ,could any one tell me how to Create Intermediate Document for purchase order
    regards,
    Peachimuthu.

    hii...
    See to create idoc for purchase order
    u hve to create
    1. Idoc Type
    (here u will create segment and segment type)
    2. Now create message type
    3. Link idoc type to the message type
    4.Check Login System number if not assigned than assign it (generally basis ppl do dis job)
    5. Create RF destination and ports also (according to demand)
    6. Now finally create partner profile and linked with the system to u wnt to send an idoc..
    Regard
    Arpan Maheshwari

  • FM or  BAPI to  create 1001  IT   for Central Person

    Hi Friends
    I need FM or BAPI  to create 1001  relationship for  OTYPE  CP  ' Central Person ' .
    FM     HR_CENTRALPERSON_INSERT   is  there to create IT 1000 for CP   i  need for  1001 IT
    anybody pls guide me.
    Regards
    Meeta

    Hi 
    Thanks for your response 
    i have to create CP for  B209   relations type ( subtype )
    but prog giving me error   ( Relationship CP B 209 P cannot be maintained  using basic trainsaciton )
    CALL FUNCTION 'RH_RELATION_MAINTAIN'
                           EXPORTING
                             ACT_FCODE                 = 'INSE'
                             ACT_PLVAR                 = '01'
                             ACT_OTYPE                 = 'CP'
                             ACT_OBJID                 = '01119840'
                             ACT_ISTAT                  =  '1'
                             ACT_RSIGN                 = 'B'
                             ACT_RELAT                 = '209'
                             ACT_SCLAS                 = 'P'
                             ACT_SOBID                 = '01119840'
                             ACT_BEGDA                 = SY-DATUM
                             ACT_ENDDA                 = '99991231'
                           ACT_PRIOX                 =
                           ACT_PROZT                 =
                           REL_ENDDA                 =
                          EXCEPTIONS
                            MAINTAINANCE_FAILED       = 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.
    Regards
    Meeta

  • Which BAPI can Create handling Unit for VL02N.

    Dear All,
         Which BAPI can Create handling Unit for VL02N.
    The Business is: VL02N, click head toolbar PACK, then call up handling Unit.
    Thanks

    Hi sun!
    I'm facing the same requirement since three days and i'm not able to get it workin.
    Did you resolve the problem and if yes which function modules did you use?
    Thanks in advance!
    Florian
    Edited by: Florian Visintin on Sep 17, 2009 10:21 AM
    Edited by: Florian Visintin on Sep 17, 2009 10:22 AM

  • How to create print document for payment to customer through cash journal

    Dear Sirs,
    I have a problem with print document from cash journal. I enter a payment to customer (when I turn the money to customer) and the system makes right posting, but when I try to print this point, system printing document for incom from customer. I'm using business transaction for customer posting in cash journal. I would like to know how I have to manage this posting - payment to customer, or incoming from vendor (returnes advances from emploee)?

    Hi,
    please check whether the two solutions below work:
    1. create a contract with milestone billing plan where there are only down payment billings, so that on the basis of the contract you can generate down payment requests and then relevant down payments, release the contract to a sales order which can then be delivered and billed, manually clear the billing document with the down payments
    2. from FI module, create down payment requests via t-code F-37 directly, and then down payment posting, generate sales order directly, and then deliver and bill, manually clear the billing document with the down payments

  • Looking for Idoc / BAPI to create measurement document in PM IK11

    Hi All
    I am working on interface development wherein I need to use a BAPI or IDOC or combination of both to create measurement document in PM.
    Do you guys know how can we do it easier way. Is it that I can post idoc directly or need to post it using a BAPI.
    I am trying to avoid any BDC or CT for this purpose. Please guide on how to do that.
    Amol

    I don't find them listed in the BOR, but look at function modules named like: BAPI_MP*.
    You might be able to utilize these for both the measurement point and the measurement document.  At another assignment, I had a situation with IDOCs that could call up to 12 BDC/CT sessions, etc.  I wrote a function module that was triggered by the inbound IDOC start process, and I utilized BDC and CT to do the IK01, IK11, etc.  Using a BAPI would have been better, but the code was really pretty simple for the measurement stuff, since the transactions are simple and easily recorded.

  • How to create express document for custom screen

    Hi All,
              I am working on ALV OOPS report. Created one container and splitted into 3 parts. One for header 2nd for ALV GRID and 3 rd bottom/footer part. I want option SEND on report that will create express document. however there is option SEND for ALV grid only. I want this for complete report not only for alv grid. Could anybody help me to get the solution? Is there any FM for it???

    Prabhu Peram wrote:>
    > >
    Gareth @ Atos Origin UK wrote:
    > > Prabhu,
    > >
    > > You have been on SDN a long time and have a decent amount of points - why do you feel the need to simply cut and paste standard SAP documentation? _-----> I least bother abt the Points, and i never ask somebody to give points to me , if u have any doubt on it , u can check all my postings ? All it does is fill up the SDN servers with replicated data which the original poster could quite easily access themselves via SE37----> Sorry I have seen ur Posting/Reply,dont assume that i do copy & paste for sake of Points.Njoy SAP.>
    > > Gareth.
    >
    >
    >
    > regards
    > Prabhu
    Prabhu.
    I didn't question you about points at all - I was making the point that you have been on SDN a long time and have a lot of points.  Therefore you should know better than to simply cut and paste standard SAP help.  If you don't copy and paste for sake of points, what do you do it for?  It serves no purpose other than to fill up the servers here on SDN.  The original poster appears to have access to a SAP system and SE37 and wants to know how to call a BAPI - they can easily go to SE37 and read the documentation themselves.  Posting it here just adds noise and makes searching harder, as well as taking up more and more space on SDN servers.
    Gareth.

  • 'BAPI_GOODSMVT_CREATE' takes more time for creating material document for the 1st time

    Hi Experts,
    I am doing goods movement using BAPI_GOODSMVT_CREATE in my custom code.
    Then there is some functional configuration such that, material documents and TR and TO are getting created.
    Now I need to get TO and TR numbers from LTAK table passing material documnt number and year, which I got from above used BAPI.
    The problem I am facing is very strange.
    Only for the 1st time, I am not finding TR and TO values in LTAK table. And subsequent runs I get entries in LTAK in there is a wait time of 5 seconds after bapi call.
    I have found 'BAPI_GOODSMVT_CREATE' takes more time for creating material document with similar issue, but no solution or explanation.
    Note 838036 says something similar, but it seems obsolete.
    Kindly share your expertise and opinions.
    Thanks,
    Anil

    Hi,
    please check if some of following OSS notes are not valid for your problem:
    [Note 838036 - AFS: Performance issues during GR with ref. to PO|https://service.sap.com/sap/support/notes/838036]
    [Note 391142 - Performance: Goods receipt for inbound delivery|https://service.sap.com/sap/support/notes/391142]
    [Note 1414418 - Goods receipt for customer returns: Various corrections|https://service.sap.com/sap/support/notes/1414418]
    The other idea is not to commit each call, but executing commit of packages e.g. after 1000 BAPI calls.
    But otherwise, I am afraid you can not do a lot about performance of standard BAPI. Maybe there is some customer enhancement which is taking too long inside the BAPI, but this has to be analysed by you. To analyse performance, just execute your program via tr. SE30.
    Regards
    Adrian

  • BAPIs to create sales orders for Returns and Debit Memo Request

    Hi,
    I have to create a sales order for document type Returns as well as a debit memo request.The BAPI 'BAPI_SALESORDER_CREATEFROMDAT2' is giving the following error message for Debit Memo Request document creation as well as for Returns.
    761 Unpermitted combination of business object BUS2032 and sales doc. category L
    I found BAPIs:
    ‘BAPI_CUSTOMERRETURN_CREATE’ for creating sales document of type ZDRE and SD document category ‘H’.
    ‘BAPI_DEBITREQUEST_PROXY_CREATE’ for creating sales document of type ZDDR and SD document category ‘L’.
    please let me know if anybody have used them. If so what values need to be passed to I_UPLOAD_ID,I_DESTIN,I_SFA_REL parameters of BAPI_DEBITREQUEST_PROXY_CREATE. Are there any alternative solutions using the Salesorder bapi.
    I have to create documents based on the flat file data no reference sales document numbers are available.
    Appreciate your help..
    Good Day
    Regards
    Bhargavi

    Look at the code done by me
    Program Name:                                                        *
    SAP Name    : ZAXXXXXX               Version    :                    *
    Programmer  : Chris Dong of ITDC                    *
    Description :                                                        *
    Includes        :                                                    *
    Function Modules: XX_XXXXXX                                          *
    Transactions    :                                                    *
    Programs        :                                                    *
    REPORT  XXXXXXXX LINE-SIZE  80
                     LINE-COUNT 65
                     MESSAGE-ID ZA
                     NO STANDARD PAGE HEADING.
    CLEAR l_order_partners.
    l_order_partners-partn_role = 'AG'.
    l_order_partners-partn_numb = '0001202491'.
    APPEND l_order_partners TO li_order_partners.
    CLEAR l_order_partners.
    l_order_partners-partn_role = 'WE'.
    l_order_partners-partn_numb = '0001202491'.
    APPEND l_order_partners TO li_order_partners.  
    Sales document type
    l_order_header_in-doc_type = 'ZDR'.  
    Sales organization
    l_order_header_in-sales_org = '1000'. 
    Distribution channel
    l_order_header_in-distr_chan = '01'.  
    Division
    l_order_header_in-division = '04'. 
    REF DOCUMENT
    l_order_header_in-REF_DOC = '9100000144'.
    order reason
    l_order_header_in-ord_reason = '925'.
    item number
    l_order_items_in-itm_number = '000001'. 
    material no
    l_order_items_in-material = '000000000007000012'. 
    Qty
    l_order_items_in-target_qty = '0000000000100.000'. 
    APPEND l_order_items_in TO li_order_items_in. 
    *BUS2094 Credit memo request " OSS NOTE 93091
    *BUS2096 Debit memo request " OSS NOTE 93091
    CALL FUNCTION 'BAPI_SALESDOCU_CREATEFROMDATA'
    EXPORTING
    ORDER_HEADER_IN = l_order_header_in
    BUSINESS_OBJECT = 'BUS2096'
    WITHOUT_COMMIT = ' '
    CONVERT_PARVW_AUART = ' '
    IMPORTING
    SALESDOCUMENT = l_vbeln
    RETURN = li_return
    TABLES
    ORDER_ITEMS_IN = li_order_items_in
    ORDER_PARTNERS = li_order_partners
    Message was edited by:
            Chris Dong
    null

  • BAPI to create Billing DOC for deliveries

    Hi All,
    I am looking for a BAPI to create a billing document based on the Shipment number.
    I found Bapi_BILLINGDOC_CREATEMULTIPLE,  but not working as expected.
    If anyone has used above or another bapi, please inform.
    Thx-Praveen

    Hi Praveen,
        i'm using same bapi and i'm able to create the invoice for the del.doc.
    for your ref. , here i'm attaching the code , please go through once.
              LS_BAPIVBRK-REF_DOC = DELIVERY_NO.
               CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
                 EXPORTING
                   INPUT  = LS_BAPIVBRK-REF_DOC
                 IMPORTING
                   OUTPUT = LS_BAPIVBRK-REF_DOC.
               LS_BAPIVBRK-REF_DOC_CA = '8'.  Shipment
               APPEND LS_BAPIVBRK TO LT_BAPIVBRK.
               CALL FUNCTION 'BAPI_BILLINGDOC_CREATEMULTIPLE'
                 TABLES
                   BILLINGDATAIN = LT_BAPIVBRK
                   ERRORS        = LT_BAPIVBRKERRORS
                   RETURN        = LT_BAPIRET1
                   SUCCESS       = LT_BAPIVBRKSUCCESS.
    after this do commit.
    you might miss the document category .
    Regards,
    Krishna

Maybe you are looking for