Creating Billing Doc

Hello Professionals,
I need some clarification on the copy control and item determination for Billing doc creation.
Am I right to say that :
1. Item category determination can be done 2 ways : from setting in SPRO assign item category and the Maintain copy control for Billing doc in SPRO.
2. Of the 2 places to set item category, the copy control setting for item category will overwrite the Item category determined from assign item category setting in SPRO.
A question I have is :
1. In SPRO maintain Copy Control for Billing Doc, I selected the Target Billing Type and the Source Delivery Type and went into   the item screen, In this screen , I see Item category for Delivery Type but there is no corresponding item category below the Target Billing Type area.
May i know what does this imply?
Thanks.
regards
John

hi john,
read it and revert i hope will clear the issue
system copies the item category from the item category determination rule as specified in the earlier posts,
on the basis of  item category grp in material master,sales  document.
this happens ,provided that you are creating the order w/o ref to any quotation or any other preceding document .
and when the system creates the delivery for this order copying control is used for the data transfer from item category and schedule line data of the order in to the delivery.
-item cat det is done for the first time when the user punches in the data in any document(sales-delivery).
-when user creates any subsequent document from this document then system uses the copy control to fetch in the data that is to be copied from the item category of this preceding document's item category inn to the followup or subsequent doc.
hope this clear your some issues
revert if helpful
Mohit Singh

Similar Messages

  • Error while creating Billing doc using VF01 for Debit memo req. from RRB

    Hi,
    I am creating billing doc for my Debit memo req. which is created using RRB(DP90, DP95).
    Error message - Item 000010 does not exist.
    When I debugged and looked into code it seems following lines are causing problem.
    Program
    LV60AA28
    Line u2013 734
      IF  vbap-vkgru EQ vkgru_dyn_posten.
        IF vbap-aufnr IS INITIAL .
    set AUBEL because it was overwritten by VBAP-VBELN
          vbrp-aubel = vbap-vgbel.
          vbrp-aupos = vbap-vgpos.
          vbrp-autyp = vbap-vgtyp.
    This code was not in 4.6 system.
    We have just migrating from 4.6 to 6.0 and facing this issue while testing.

    First of all you should try to learn how to express in a public forum like this. 
    On your comments
    Do some ground work from your end
    why should I ??  if you want you can do ground work or any work.  If you post a question, you have to hear patiently all suggestions and dont scribble whatever you want.
    You should have some basic
       understanding of SAP ABAP.
    You should have posted this question ABAP forum !!!!   Why without any sense you have posted in sales forum ??

  • Cannot generate accounting doc when creating billing doc

    When creating billing doc, no accounting document is generated, the posting status is "Error in accounting interface". I have checked and there is no problem in account determination. Does anyone get idea on this problem? Thanks!

    Check the account determination in Transaction Code VKOA.
    If the data is not maitained to determine G/L, in that case it gives error. Once you maintain the relevant data in VKOA, next go to billing document in change mode VF02 & release the same to accounting.
    Regards,
    Rajesh Banka
    Reward points if helpful.

  • 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

  • No_TVTA:Error while creating billing doc.

    Hi,
    We are trying to create sales orders (Credit Momo requests) in a report with FM: SD_SALESDOCUMENT_CREATE,
    sales orders are getting created. But when tried to bill these sales order thru VF01, we are getting error log as: Exception NO_TVTA is raised in function module VIEW_KUAGV.
    With the same data when sales orders are created manually thru VA01, Billing is sucessfully done.
    Any help for this issue? Any SPRO settings to be maintained?
    Full reward points guaranteed.
    Regs,
    Agasti

    Hey,
    Just looked at the code of the function VIEW_KUAGV. It writes log for the object SDBFPD.
    Check the application log for object SDBFPD using transacion SLG1.
    Might help...
    -Kiran
    Please mark useful answers

  • Problem creating Billing Doc  VF01

    Hi,
       I am trying to create a billing document and but it shows that the "Accounting Interface error" All the G/l accounts etc entries Have been maintained properly.

    Hi Gutpa,
    So, you only have 2 condition types with an account key and it has found both accounts ?
    Then the problem might be :
    -is the posting period open for the billing date
    -do the G/L accounts exist in the company code to which the invoice is posted
    -the G/L accounts are blocked
    Depending upon the specifics there might be other reasons as well.
    When you do a VF02 / Release to acounting and you double click the error : do you get more information on the type of posting problem ?
    If still doesn't work maybe you can try to simulate an identical direct FI posting to see if it's a FI setup problem or if it's in the transfer from SD to µfi,
    regards
    Dirk

  • CREATE BILLING DOC FOR DELIVERY

    How do I create a billing document for delivery 80000234

    1) for billing,
          make sure that POST GOODS ISSUE has been done on delivery document. (VL02 - Enter the delivery document number & PGI..)
    2)  Go to VF01 - Enter Delivery number in the documents.
    Hit enter - If the delivery document is corrrect then
    save else it will give the error log.
    Reward if useful.

  • Run time error while creating billing doc.

    Hi all,
    While saving a billing document I am facing runtime error every time. Can any one help me what are the possible reasons and possible solution to overcome this. Since it is on high priority, expecting response at the earliest.
    Sunanda.P

    Dear Sunanda,
    Since it is on high priority, expecting response at the earliest.
    You must get in-touch with your BASIS-Admin, for earliest resolution of the error, as he is the only one, who may find the reason and fix the same, at earliest.
    Or,
    If, you could provide System error-log, at the time of Run-time Error, then, some work arounf could be suggested.
    Otherwise, It would be like Hit-n-Trail.
    Best Regards,
    Amit
    Note: This is, what I feel and suggest, in such cases:
    [ABAP/ Runtime Error|Re: update control terminated error]

  • Problem in BAPI_BILLINGDOC_CREATEMULTIPLE(Create Billing Doc)

    Hi,
    While using the function module BAPI_BILLINGDOC_CREATEMULTIPLE which is used to create an invoice on providing the sales order as the input , I am able to get only a temporary invoice number called
    $00000001 but not able to get a final invoice number.
    Can any one suggest any solution to this problem?
    Thanks,
    sunil sahoo

    Hello Suni,
    I see that the issue is already marked as "solved" but is not explained in details.
    The solution can be found in the hazy documentation of the BAPI:
    "...and also in the update run including the update (TESTRUN = ' ')"
    So, if you want the BAPI to generate a document number you have to leave field POSTING blank (of course TESTRUN should be blank as well).
    BAPI for commit is not required here as this one is making commits based on the import parameters.
    hope the explanation is complete now : )

  • How to create Bills Docs of position

    Hi all
    A help.....
    In my sales order I will bill (invoice) each position.
    Most of the cases the position have different PAYERS (PY).
    Meaning I have to be able to do the billing document by position(item).
    How can I do that?
    Thanks a lot,
    Barbara

    Hello,
    There is one standard COPY CONTROL settings for invoice split if the PAYER is different.
    Just check the copy control ROUTINE from Order to Invoice in VTFA
    Goto that transaction code VTFA and select your combination and then choose the item category and maintain the Vale 0001 in the field VBRK/VBRP
    This will search for the Payer , if it different then automaticaly it will split the Billing per each line item.
    Hope it will work for your requirement.
    regards,
    santosh

  • How to get the value of bill doc after creating it using tc VF01.

    hi,
    i want to get the bill doc no after  creating it using BDC tc VF01.
    with that no i have to update the ztable.

    hi,
    i tried with the above mentioned method to get the created delivery no.but i am unable to get the created billing doc no using bdc tc VF01.any idea about this...
    REFRESH       tt_bdcdata.
      PERFORM bdc_dynpro      USING text-005 text-006.
      PERFORM bdc_field       USING text-008
                                    text-017.
      PERFORM bdc_field       USING text-009
                                    text-011.
      PERFORM bdc_field       USING text-017
                                    wa_worklist-del_no . "wa_created-document_numb.
      PERFORM bdc_dynpro      USING text-006 text-007.
      PERFORM bdc_field       USING text-008
                                    text-018.
      PERFORM bdc_field       USING text-009
                                    text-019.
      CALL TRANSACTION c_t_bill USING tt_bdcdata
                                                MODE c_m
                                                UPDATE c_u
                                                MESSAGES INTO tt_bdcmsgcoll .
      SORT tt_bdcmsgcoll BY msgtyp.
      READ TABLE tt_bdcmsgcoll INTO wa_bdcmsgcoll WITH KEY msgtyp = c_e.
      IF sy-subrc EQ 0.
        LOOP AT tt_bdcmsgcoll INTO wa_bdcmsgcoll WHERE msgtyp = c_e.
          CALL FUNCTION 'FORMAT_MESSAGE'
            EXPORTING
              id        = wa_bdcmsgcoll-msgid
              lang      = text-010
              no        = wa_bdcmsgcoll-msgnr
              v1        = wa_bdcmsgcoll-msgv1
              v2        = wa_bdcmsgcoll-msgv2
              v3        = wa_bdcmsgcoll-msgv3
              v4        = wa_bdcmsgcoll-msgv4
            IMPORTING
              msg       = v_msg
            EXCEPTIONS
              not_found = 1
              OTHERS    = 2.
          IF sy-subrc <> 0.
          ENDIF.
          WRITE :/ v_msg.
        ENDLOOP.
      ELSE.
        READ TABLE tt_bdcmsgcoll INTO wa_bdcmsgcoll WITH KEY msgtyp = c_s.
        IF sy-subrc EQ 0.
          CALL FUNCTION 'FORMAT_MESSAGE'
            EXPORTING
              id        = wa_bdcmsgcoll-msgid
              lang      = sy-langu
              no        = wa_bdcmsgcoll-msgnr
              v1        = wa_bdcmsgcoll-msgv1
              v2        = wa_bdcmsgcoll-msgv2
              v3        = wa_bdcmsgcoll-msgv3
              v4        = wa_bdcmsgcoll-msgv4
            IMPORTING
              msg       = v_msg
            EXCEPTIONS
              not_found = 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.
          MOVE wa_bdcmsgcoll-msgv1 TO v_billno.
         wa_epit-bill_no =  v_billno .
         MODIFY TABLE  tt_epit FROM  wa_epit TRANSPORTING bill_no.
         UPDATE zsd_dt_epit SET bill_no = v_billno where del_no = wa_created-document_numb .
         IF sy-subrc EQ 0.
         ENDIF.
          MOVE: v_billno TO wa_worklist-bill_no .
          READ TABLE tt_epit INTO wa_epit WITH KEY epi_id = wa_worklist-epi_id epi_sr = wa_worklist-epi_sr.
          IF sy-subrc EQ  0.
            MODIFY tt_epit FROM wa_worklist TRANSPORTING bill_no WHERE epi_id = wa_worklist-epi_id AND epi_sr = wa_worklist-epi_sr.
          ELSE.
            APPEND wa_worklist TO tt_epit.
          ENDIF.
        ENDIF.
      ENDIF.
    please suggest me..its urgent

  • Billing doc referenced by delivery document

    Hi All,
    there is a problem in my scenario that billing doc are created automatically when creating shipment doc that is collective shipment doc type. in stead of this process, ı have not faced on this stuation when i creating it by using individual shippment doc type. I need your help on this issue that why it creates automatically billing doc at the time of creation shipment doc by using collective shipment doc type what is the difference between those doc. types? how can configure them to create billing doc manually?
    Thanks in advance all of you.
    Regards,
    Sinan

    Hi,
    If you are using Collective shipment document and if the billing document is getting created automatically, then, there is a fair chance that a profile (to create automatic billing document) has been assigned to the shipment document type.
    Check SPRO > Logistics Execution > Transportation > Shipments > Define and Assign Activity Profile and remove the profile (if present) for the collective shipment document type (If you desire to)....
    Hope this answeres your question
    Thanks
    Mukund S

  • BILLING DOC ERRO

    Hi guys,
                 I was trying to create billing doc for a delivery XXX.
    It was showing me error log as   XXX THE DOCUMENT IS NOT RELEVANT FOR BILLING.
    If any one  know why this error is pls explain.
    thank you
    with regards
    chaitanya

    Basically the item categories that are in play on the order and subsequent delivery are set as not billing relevant in configuration.  Therefore the system will not create a billing document for them.  Review the item categories used and either change to an item category that is billing relevant or change the settings on the item category specified to make it billing relevant.

  • How to terminate the billing doc if validation fails ????

    Hi Experts ,
    I am doing a development in which i have to check the billing document before saving. For this i am using BADI_SD_BILLING .
    In this i am using INVOICE_DOCUMENT_CHECK to verify the billing document before saving .
    If any validation error occurs while creating billing doc through VF01 , it will show an error message and doc saving will be terminated. This works fine in case of VF01 but while doing collective billing through VF04 , its not working as i have used an error message.
    So to overcome this i have created an application log object  (SLG0) and updated the same . Now the log is getting updated successfully but the billing doc with error is also getting saved.
    So please suggest how to stop saving of billing documents if any validation error occurs.
    Thanks and Regards ,
    Ranjan

    What validation are you performing?  Typically, a 'stop billing' operation is performed in a copy requirement assigned in the billing copy control configuration.  All of the logging is handled from within the requirement and displayed in the billing log, whether it's an individual create or a billing due run.  If the same validation is performed during billing due, this obviously sounds like something that does not require interaction and should be handled via copy control.

  • Invoice list, individual billing doc and cash sale

    hi gurus,
    i have a couple of questions regarding the ff topics. need your help..
    1. invoice list - i created billing docs with invoice list assigned to each bill doc type. when i tried creating an invoice list, it doesnt capture any docs i created. why?
    2. individual billing doc - i changed the routine in the copy control for LF -- F2 to 003 single invoice. when i create an order, i can still create multiple billing docs. why?
    3. cash sale - when i create a cash sale transaction and during billing, it is automatically cleared. how is it configured?
    thanks!
    paul

    2. individual billing doc - i changed the routine in the copy control for LF -- F2 to 003 single invoice. when i create an order, i can still create multiple billing docs. why?
    This is because you must have assigned billing plan type to your order type and it is considering the billing date rule and allowing billing either monthly, or start of the month, or last date of the month. Just check whether you have done that.
    I will try solving the others too.
    Reward if helpful
    Regards
    Ravi
    in SAP std. process for Cash Sale the customer will not be debited or customer account receivables are not created becuase the customer pays immediately. in cash sale invoice the amounts are posted directly to the Account Key EVV-Cash clearing.
    Edited by: Ravi D Mansharamani on Feb 26, 2008 3:34 PM

Maybe you are looking for

  • Problem with Ribbon when multiple List / Library WebPart are added to the same page

    Hi, I'm working on a SharePoint 2013 custom branding (custom master page and layout). I added one page layout with several Web Part Zones, <div id="cBottomFirst" class="cThreeColumn cThreeColumndMargin" > <div data-name="WebPartZone"> <!--CS: Start W

  • Cant mount usb sticks with fat32 ISO-8859-1 2.6.31-ARCH

    when trying to mount my usb sticks from xfce4 desktop(halmount). Following error occurs (as told by dmesg). FAT: IO charset ISO-8859-1 not found First i suspected hal being the culprit but now im not so sure anymore. im using stock 2.6.31-ARCH. when

  • Invalid no format error

    whenever i try to execute this statement it gives this error msg Invalid no format select to_char(salary,'$10,000') from emp;desc of table is Name     Type         Nullable Default Comments EMPNO    NUMBER(4)                              NAME     VAR

  • SL Upgrade + Active Directory + Time Machine

    Hi all, We are running our Mac's in a Active Directory (AD) environment. Some users are using time machine backups and we are planning on doing upgrades to snow leopard for these users, and then restoring there account profiles (which are AD accounts

  • DBUM Integration With Database Vault Realms

    The dbum connector documentation mentions "...In Oracle Database installations on which Oracle Database Vault is installed, the connector can be used to grant and manage authorization to Oracle Database Vault realms. The connector treats access to Or