Import  Billing Document using LSMW

Hi,
I'm trying to import SD - Billing Documents using LSMW (Object 0090; Method 0000; Program RVINVB10)
with out sucess.
Can anybody give me a example for this ?
Best regards,
Paulo

Hi Gopidas,
Thank you for your riply.
I have a PC aplication to create invoces (and credit / debit memos etc), and i want to import them to SAP SD.
I think the best way is using LSMW. The aplication generates a file that can be used by LSMW.
My question is how ?
I have beeing trying this but with no sucess. Do you have any example for this ?
Best regards,
Paulo

Similar Messages

  • Error while creating billing document using VF04 transaction

    Hi All,
    User is trying to create billing document using VF04 with ference to delivery number. When pressing save in invoice creation system SAP gives invoice document number (No accouting document generated). but no documents are actually created. When user trying for second time log is showing this sales order is currently processed by the user(user is same who is trying to create invoice)
    Please let us know what is causing this issue since this issue is happening in production and we can not debug this.
    We checked for number range also but its not.
    Waiting for your inputs.
    Regards,
    Jyothi CH.

    When pressing save in invoice creation system
    SAP gives invoice document number (No accouting document generated).
    but no documents are actually created
    Check there is any clash with internal number range of billing type vs other billing types ?
    Try to create billing document using VF01,see any messages were poping while saving ?
    Check for abap dump in ST22 ?
    Edited by: Jeyakanthan A on Feb 9, 2011 9:52 PM

  • Create Sales Order With Reference to Billing Document Using BAPI_SALESORDER

    Hi,
    How can i create a sales order With Reference to Billing Document Using BAPI_SALESORDER_CREATEFROMDAT2?
    Thanks in advance,
    Alejandro.

    I have to create sales order with reference to existing billing document. I have tried to following bapis.
    1. BAPI_SALESORDER_CREATEed
    I have successfully created document with following details.
    -->ORDER_HEADER_IN:
    DOC_TYPE =                  ZRK
    SALES_ORG =              3000
    DISTR_CHAN   =            00
    DIVISION =                    00
    ORD_REASON =            100
    SD_DOC_CAT   =          L
    CURRENCY       =         EUR
    REF_DOC          =         100000028
    REF_DOC_CA    =         M
    -->ORDER_ITEMS_IN:
    ITM_NUMBER    =           000010
    MATERIAL          =          701791
    TARGET_QTY     =          0000000001000
    CURRENCY        =          EUR
    REF_DOC           =          100000028
    REF_DOC_CA     =          M
    -->ORDER_PARTNERS:
    PARTN_ROLE      =          SP
    PARTN_NUMB      =         W12001
    COUNTRY             =         NL
    by providing this input i am able to create the document but it is not picking up the net value. so i have passed some extra paramters in  ORDER_ITEMS_IN
    COND_TYPE          =        PNET
    COND_VALUE        =        14,56
    COND_D_UNT        =         PC.
    folowing error is occured: Condition PNET is missing in pricing procedure A V Z0000.
    is it something related to configuration problem?
    2.BAPI_SALESORDER_CREATEFROMDAT1 or BAPI_SALESORDER_CREATEFROMDAT2
    I have used same test data that is used for BAPI_SALESORDER_CREATEFROMDATA (where in i coudl succefully create doc). but here i encounterd following error.
    Unpermitted combination of business object BUS2032 and sales doc. category L.

  • Create Excise invoice(J1IIN) document while creating billing document using bapi BAPI_BILLINGDOC_CREATEMULTIPLE

    Dear Experts,
    My scenario is:
    We have batch split scenario, where the parent line item of billing document has 0 quantity and its subsequent item (item with batch number) holds actual quantity data.
    When we create billing document using VF01 against delivery document, system creates billing document along with excise invoice document (J1IIN Document). And in excise document contain same number of line items that of billing document. Please see the below attachment: 
    Biiling document screen shot:
    While creating billing document, the J1IIN Document created automatically. Below is the screen-shot for the same.
    Now the issue is:
    When we create billing document using BAPI: BAPI_BILLINGDOC_CREATEMULTIPLE system creating only billing document and not creating excise invoice document.
    When we create excise document manually using J1IIN the zero quantity line items are excluded in excise invoice document.
    Please see the below screen-shot for the same; The z quantity line items are missing.
    We want excise document to be created while creating billing document using BAPI BAPI_BILLINGDOC_CREATEMULTIPLE. Or is there any other BAPI for the same purpose.
    Customization is also maintained for creating excise invoice document automatically.
    Regards,
    Rajesh Sadula.

    HI
      Pricing will be carried basing on the pricing
    procedure.
    Case1: Prices will be carried out automatically if
    necessary condition records are maintained for the
    condition type.
      For this you can go to Sales Order-> Item Conditions
    In the screen you can click on command button Analysis,
    which gives you the list of condition types associated
    to the pricing procedure. By clicking on the condition
    type you can know the action that has taken place.
    Case2: Manually forcing prices for Items.
      To do this, you have to populate ORDER_CONDITIONS_IN &
    ORDER_CONDITIONS_INX. Also note to identify the item
    numbers, you manually pass the item number for each item
    in the sales order, use the same item number for
    populating conditions.
      Parameters required:
    ORDER_CONDITIONS_IN:
      ITM_NUMBER, COND_TYPE, COND_VALUE, CURRENCY
    ORDER_CONDITIONS_INX:
      ITM_NUMBER, COND_TYPE, UPDATEFLAG, COND_VALUE,CURRENCY.
       Hope the above info helps you. Do revert back if you
    need more info.
    Kind Regards
    Eswar

  • Functional Design Document using LSMW

    Hi,
    I have to write a Functional Design Document for a LSMW development.Does any body have any samples / template for such a document - LSMW specific?
    Thanks in advance.
    Arindam

    Hi Gopidas,
    Thank you for your riply.
    I have a PC aplication to create invoces (and credit / debit memos etc), and i want to import them to SAP SD.
    I think the best way is using LSMW. The aplication generates a file that can be used by LSMW.
    My question is how ?
    I have beeing trying this but with no sucess. Do you have any example for this ?
    Best regards,
    Paulo

  • How to set print option for a Billing document using T-code VF02

    Hi All,
    Please suggest me the way to set print option for a Billing document for T-code VF02 and please let me know how to get print preview for any particular Billing document?
    regards
    Anand.

    Enter the billing documents detail
    Goto Goto> Header>Output.
    Check the status for your output type in this screen.
    If it is green then come back to the VF03 screen.Enter the billing document number.
    Click on Billing document-->Issue output to.
    Press (CtrlShiftF1) or click on the icon beside "Print options".
    Here you can see the print preview.
    If the status is red then click on the processing log.Here you will get the error messages.
    If the status is in yellow colour,then click on the "Further Data" button
    Set "Dispatch time" as "4 Send immediately (when saving the application)"
    Before the print preview option you should make sure you have added correct output type to the relevant billing document. To do that, go to transaction VF02.
    Enter the billing document no
    Go to Menu option -> Go to -> Header -> Output
    In that screen you have to add relevant output type. (Standard output type is RD00)
    Add that & press enter key
    Highlight that line & press "Further Data" button
    Set "Dispatch time" as "4 Send immediately (when saving the application)"
    Press "Back" Button
    again select that line & go to "Communication method" button
    Set "Logical destination" as LOCAL"
    Don't mark "Print immediately" & "Release after output" ticks. If you mark them, sa soon as you save the billing document, you'll get a print out.
    Press "Back" Button
    Save
    Now form the initial "Change Billing Document" screen, Go to Menu option; Billing Document -> Issue Output to
    You can see that output type line appear.
    select that line & press "Print Preview" button or (CTRLSHIFTF1)
    You can see the print preview.
    Alternatively you can use VF31 to print multiple print outs at same time.
    If you want to get PDF outputs of billing documents, go to your printer settings in the your computer from Control Panel.
    Set PDF Writer as "Default Printer" (Right click & select "Set as Default Printer")
    Then normal way, print the billing from SAP.
    It'll automatically send to your PDF writer. You can save it to the path you want,

  • How to print the invoice(Billing document) using program RSNAST00

    Hi,
      I want to print the invoice using the program RSNAST00,
    but when i fill in selection screen with the following details,
    Output Application : V3
    Object Key : Billing Document Number
    Output Type : ZPFM
    Transmission Medium : 1
    But it is throwing an Information Message "0 outputs were processed in total (0 successfully,0 incorrectly)
    So please guide me, what are settings i have to do and what abap code i have to write to overcome this error.
    Regards,
    Shasiraj.C

    Hi,
      As you told I am using the function module RV_MESSAGE_DIALOG in my program when I directly execute my program its not printing invoice,but when i keep the break point and execute a pop up comes in which i click on the PRINT button that time it is printing the invoice.
    But I dont want to click on Print button manually, my code should automatically take care of printing also.
    Can guide me in this issue.
    Regards,
    Shasiraj.C

  • MASS UPLOAD OF DOCUMENTS USING LSMW

    Hello Experts,
    I am experienced in SAP DMS but not in LSMW.
    I would like to use LSMW for Mass Uplaod of Documents and would like to give the input in the below format.
    I was able to create LSMW for Doc Upload using Recording option but it will not give me the original path location.
    I know there is a BAPI too for Document create which is BAPI_DOCUMENT_CREATE but dont know how to use it in LSMW>
    Which option is best to be used in this case. Below find the input format of the file which am looking
    DIR
      Number
    Doc Type
    Doc Part
    Doc Ver
    Description
    Status
    Original File
      Path.
    Appriciate your answers.
    Regards,
    S.Kulkarni

    Dear Shrikanth,
    please note that batch input in Document Management System is not
    supported for Releases higher than 4.5. The batch input technology
    was designed for the transactions CV01 and not for CV01N/02N etc.
    To create
    or change a document info record in background I would recommend you to
    use the BAPIs BAPI_DOCUMENT_CREATE2 or BAPI_DOCUMENT_CHANGE2 to create
    or change a Document info record. Please see SAP note 766277,
    which contains the full documentation of all BAPIs in the DMS area.
    Normally you can use DMS BAPI or API function modules to checkin
    originals into the content server. I would recommend you to use the
    API modules as they are much more flexible then BAPIs. Please see the
    note 504692 which contains further information and some
    sample programs.
    With transaction SXDA you can also create document info records
    in the background but the filepath should not be shortened anymore.
    For further information please check SAP note 817743.
    I hope that this information could be useful for you to setup a
    working scenario to edit document info records successfully in
    background.
    Best regards,
    Christoph

  • Issue in select of billing documents from VBRK using FKART and FKDAT

    Hi All,
    I have to select the billing documents VBELN using the billing date and billing type.
    As both are not key fields , im unable to perform such select .
    How can get billing documents using these fields. Is there any other table where i can use these fields as key fields ?
    Can i use indexes ?
    Kindly help .... plz reply ..
    Edited by: ujjwal_d15 on Apr 15, 2011 12:55 PM

    HI,
    if u  will use date in the select query it will decrease the performance of your program as there isno secodnary index on the date field
    so it wud be better if you can select the data using just billing type and then once all the records in the internal table
    using delte statement to delte all the records that are out of the date range,
    this wont affect the performance of your system and the query will take less time to fetch the data,deletion takes onlyfew miliseconds to clear unwanted data

  • Double Cancellation of a Billing Document

    Dear all,
    I am facing a challenging problem (at least it is challenging to me), I had created an billing with no SO, just with the Article Document. I used VF02 to cancel the billing document by selecting each line item and then cancel item, because it doesn't allow me to use VF11 to cancel. (I don't know why). It was working fine and I had already cancelled more than 20 billing documents using this method. However, I made a mistake by cancelling a billing document twice.
    A billing document 5001366372 was original created and planned to be cancelled. I open the VF02, enter the 5001366372 then enter, select the line item and then click cancel item. After that I saved the document, a cancel billing document had been created - 5400002606. However, I accidentally re-do the process and the system allows me to delete such billing document (5001366372) again, with another cancel billing 5400002607. From my understanding, the billing document cannot be deleted again once it had been deleted, I don't know why I can delete this twice. This is one of my question.
    But the more important question is, I need to delete the second cancel billing document (5400002607) but I can't. I tried to use VF11 to cancel, but the system stopped me with an error message "Cancellation document 5400002607 cannot be cancelled". Of course I have tried the other one 5400002606 with the same result. I also tried to change the document in VF02 but failed. I just want to cancel or delete such billing document in anyway it can (along with the corresponding accounting document). Can anyone have any idea on this issue?
    *to summarize: *
    T-Code__Action _____ Doc #________Result Doc #
    VF02____Cancel item__5001366372___5400002606
    VF02____Cancel item__5001366372___5400002607
    Both Cancellation reference to the same billing document
    5400002606 & 5400002607 --> 5001366372
    Cannot Cancel by VF11
    Thanks and regards,
    Mandy

    Hi Mandy,
    The response "Cancellation document cannot be cancelled " is expected one. You can cancel an invoice document either in VF02 or in VF11. However once the cancellation document is created, you cannot cancel the cancellation document. You only have to create a debit memo to reconcile this difference.
    The cancellation document types are S1 or S2 depending on the scenario. These documents cannot be reversed. This is the expected behaviour of the system

  • Upload Purchase info Records using LSMW

    Hi,
      Im uploading purchase info records using LSMW - direct method
    Object               0060   Purchasing info rec.
    Method               0000
    Program Name         RM06IBI0
    i need step by step process for this. any one have done this using this program help me out.
    Regards,
    Vimal

    Hello Jürgen
    and thank you!
    One additional question: When I import info records using LSMW, one condition record (PB00) is created automatically. Is it possible to change the validity of that condition record using LSMW, too? Or can I only create new condition records?
    Thanks again
    Alicia

  • Copying header text from Billing document to Accounting document

    Hi
    I have created a new text id in billing document using VOTXN, is it possbile to copy the header text maintained here to an accounting document field -> doc header text or any other text field when the billing document will get posted to accounting.
    Please guide.
    Thanks,
    Vaishnavi

    Hi,
    with a substitution (GGB1) for FI document header (BKPF-BKTXT) it can be possible. A user exit is required in the substitution to read the SD table.
    Regards,
    Joosz

  • VF31 user not able to Print more billing document

    Hi,
    I am having an issue with the User, whenever the user is taking the print out of Billing document using the T.code - VF31 he was not able to take print out of more than 30 documents. But he is not getting any error. He wants to take print out of billing document like 100 nos,200 nos, etc., Can you suggest me what settings can be made so that user can take more print out instead 30 at a time..
    VERY URGENT...
    Help needed..
    Thanks in advance
    Kannan

    Dear,
    while giving printing to the printer we get the options that how many copies we require.  Tell the user to enter the number of copies he required for printing.
    After that also user gets error,  tell him to check the printer he is using with local it team.
    If you have any concerns revert back the same to me
    Amjath

  • Pricing condition in Billing document (Pricing Date)

    Hi Gurus,
    I have a sales order which is created on 10.01.2012, the pricing date in the sales order is the same (10.01.2012). The Delivery was created on 22.02.2012 and Actual GI date is also 22.02.2012.
    Now when I am creating the billing document, the pricing condition value is showing as '0'. I checked the pricing analysis and found that the validity of the base price condition Z001 was from 10.01.2012 till 14.01.2012 in the sales order.
    As the Actual Goods Issue date is taking as the 'Billing date' as well as 'Pricing Date' , the system is not able to find a valid condition type as on 22.02.2012 (GI date). The pricing type in copying control of Delivery to Billing is 'C - Copy manual pricing elements and redetermine the others'.
    So I would like to know your opinion on the following.
    1) Can I create the billing document using VF01, manually change the pricing date as 10.01.2012 and do the price update using rule C? Will it fetch the price based on the pricing date?
                                                                          OR
    2) Maintain the condition type Z001 for the GI date and do the billing?
    Please let me know which is the best  way to adopt?
    Regards,
    SAM

    Hello,
    If you have necessary authorization to change the Pricing Date in Invoice, please go ahead.
    Change the Pricing date in Invoice,  go to Conditions tab & update the Pricing. System will fetch Condition Records as on that date.
    Hope this helps,
    Thanks,
    Jignesh Mehta

  • While importing Deski document getting message box as universe is not found

    While importing Deski document getting message box as universe is not found. How to suppress the messagebox and import the document. using BO .net sdk.

    So is the Universe there?
    Sincerely,
    Ted Ueda

Maybe you are looking for