Invoice Receipt document (TABLE RBKP) based on Sales Order (table VBAK).

Hi Folks,
   I have to find Invoice Receipt document (Table RBKP) based on Sales Order (table VBAK).
   Please tell me how the two documents are linked.
Thanks,
Punit

I don't know table RBKP, but I would start by seeing if I could find the value of RBKP-BELNR or XBLNR as the next document in table VBFA.  If found, then you know how to read VBFA forward from sales order (VBAK) to VBFA with correct next document type, then to RBKP with the document number....
Don't know if this will work, but this is the first approach I would take.

Similar Messages

  • Invoice/billing document Number  not appearing on sales order document flow

    Dear all,
    After saving the sales order invoice when i check in va02 sales order document flow invoice number is not generating

    Really something is wrong in your configuration.  When your delivery status shows Being Processed, I could see subsequent two documents, viz.Confirmation of Service and GD doc reference as complete.
    Can you let me know how many line items that delivery contains?  The reason for this query is normally, for stock item, we see Material Document reference and for non-stock item, we see Confirmation of service.  But in your case, I could see both.  From your VBFA table screen shot, I could see two different material document references.
    G. Lakshmipathi

  • Material documents based on Sales order

    Dear Experts,
    We are developing a report where I need to extract the list of material documents with movement type 411E and 412E based on the sales order. This data is available in MSEG but after designing the report, Its performance was  very poor hence we could not move the report to production.
    As MSEG is a cluster table it is taking to much time. I checked other tables MKPF MSSA but nothing is working out. Is there any way out to improve the performance of the report by taking the list of material documents based on sales order and movement types 411E and 412E .
    Please suggest me with suitable solution.
    I will reward the points immediately.
    With Regards
    Uday

    Hope you are not trying to join MKPF and MSEG currently:
    821722 - Performance of the join on MSEG and MKPF
    If you are below release 606 in your system, this note will have to be implemented in your system to bring redundant fields of MKPF into MSEG for performance improvement:
    1516684 - MKPF fields added to MSEG - Performance optimization
    The blog shared by Jurgen is pretty well explained. In addition have a look at these notes:
    1638997 - Performance: CKMDUVMAT selection with new fields in MSEG
    1558298 - MB5B: Redesign of selection for performance optimization
    1550000 - MB51: Redesign of selection for performance optimization

  • Revenue Account Determination based on Sales Order Document Type & Service Order Type

    Hi Expert,
    I have Customer Service Module with Resource Related Billing for services attached with SD.
    When DP90 runs sales document debit memo request is created & then debt memo is created.
    I need to configure Revenue Account Determination based on Sales Order Type and also based on Service Order Type.
    I did not see any field catalogue in revenue account determination for order type, For communication structure KOMKCV Header and KOMPCV Item level there is no field for sales order type nor service order type.
    Is it possible to bring in both order types? Can ABAP person do it?
    How to bring these fields?
    Is it possible & recommendd to have service order type filed AURAT for service order into this sturcture?
    Is this configuration is OK acceptable by SAP? If so is there any chnace for issues errors & wrong determination from FI CO view?
    Your valued input is highly appreciated.
    Thanks
    Prakash Parikh

    Hi Prakash,
    Yes, you can certainly add new table fields into the field catalog KOMKCV and KOMPCV and use it during account determination. You will also have to add these new fields in the user exit RV60AFZZ for it to work. I believe you will need ABAPer's help to make this work. The abaper will have to crate a ZZFIELD (ZZAUART for example) and put it in the structure and use the same in the user exit to pass the values.
    In your case, what I am not sure is, are you looking to modify the existing standard tables or creating new ones. My suggestion is to create the new condition tables with these new fields (like document type) after adding it to the field catalog. Only modify the access sequence (KOFI) in such a way that your new tables are access first before it goes into standard tables (or you can adjust it according to your scenario.
    We have done it in our company and it is working fine. Basically what we have done is to create new tables instead of modifying the standard ones. We have adjusted the access sequence in such a way that some of our custom tables are accessed first before the standard SAP tables (C001 to C005).
    I found a similar requirement on SCN. This might help.
    Adding New Field in Account Determination
    Hope this helps.
    Regards,
    Mukund S

  • What setting to mandate that invoice is created based on sales order NOT...

    Hi,everyone
    Could you tell me the detailed configuration  to mandate that invoice is created based on sales order NOT delivery documents.
    Additionaly, I need to define this rule at headquarter and apply it all lower-level companies.  how to do it.
    thanks you very much

    Dear Humility,
    Could you tell me the detailed configuration to mandate that invoice is created based on sales order NOT delivery documents.
    This is quite possible through copy control settings between sales order and billing document
    In standard billing type F1 will billed with reference to the sales order OR,so you can copy those settings then rename to your document types and itemcategory.
    Go to VTFA transaction click n change icon then select billing type F1 and order type OR then click on Copy As icon (F6)and change the document types(maintain your docuemnt types).
    To copy item level settings
    Now you come back to initial screen agin you select billing type F1 and order type OR then click on item here you select standard item category then click on Copy as Icon (F6) here you maintain your itemcategory.
    Note:- Don't change the satndard settings you just copy
    Additionaly, I need to define this rule at headquarter and apply it all lower-level companies. how to do it.
    For this you can take help of your BASIS people they will full fill with the roles and authorisation settings.
    I hope this will help you,
    Regards,
    Murali.

  • Request: "Draw Document Wizard" when copying from Sales Order to A/R Invoic

    Hi Colleagues
    Our clients complain about not being able to choose the exchange rate from the base document when copying the Sales Order to A/R Invoice.
    The "Draw Documents Wizard", where you can choose this option, starts only when you're in the "A/R Invoice" form and copying data from the Sales Order. But "Draw Document Wizard" doesn't start when you're in the Sales Order and copying all its data to an A/R Invoice, and they use only this sequence.
    Is it possible to add the "Draw Documents Wizard" for the "Sales Order -> A/R Invoice" chain in one of the next versions of SAP BusinessOne 2007?
    Thanks!

    Hi,
    is this happening for perticuler user or for all users.?
    check any addon is running ,If yes stop addon and check again this activity.
    Check general authorization too for perticuler user..
    Hope it will help you.
    Regards
    Deepak Tyagi

  • Creating Mulitile Billing documents based on Sales order

    Hi All
    My requirement is to create a billing documents based on sales order. Item category is SERVICE.
    For example : In Sales Order the quantity is 100.
    1 st billing doument user can create of 10.Then after 1 month 2nd billing document of 9 and so on.
    when i create billing document related with sales order . the billing document is created with 100 quantity.
    i know it is possible with delivery but my requirement is billing document should be created related to service.
    Appreciate your time.
    Thanks and Regards
    Mahesh

    Hi ,
    You can use mile stone billing concept for this requirement.In mile stone billing ,we enter the billing dates and quanitity to be billed.We can bill the required quantity once the billing date reaches the system date.
    Hope it helps.
    Regards,
    Pasapula.

  • Restriction for items from Purchase Order based on Sale Order

    Hi !
           We create PO directly from Sale Order ( by ticking Option under Logistic tab, 'Purchase Order') for customer C01 (for eg).
    From the PO created, we post GRPO.
    Now our need is,
    Assume if 10 Qty is been ordered in such a way and been received (GRPO posted). it 'll add on to the stock account i.e will increase stock qty at our whse.
    is it possible to restrict these 10 qty of item from being sold to any other Customer other than whom hav ordered i.e if we create sale order for C02 the SBO should not take the items received from PO created based on Sales Order created for C01?
    Meera.

    Meera,
    Which version of SBO are you using 2005 or 2007?
    I don't think Serial numbers can help in this scenario.  There is no hard allocation or blocking possible using Serial numbers.
    This is the Work around I am thinking about.
    Set the items to be Batch Managed - On Every Transaction
    When performing Goods Receipt, enter the Sales Order Number as the Batch Number
    When creating the delivery, using SBO_SP_TransactionNotification we can easily check the Batch of the Item being selected and verify it with the BaseRef of Delivery lines to match with Sales Order number.
    If the numbers don't match we can warn user with message, "The items batch reserved for Sales Order xyz"
    Even if you make a mistake when entering the batch number same as Sales Order number when doing a goods receipt. It can still be traced and blocked during delivery.
    Hint: The Batch table records the Goods Receipt transaction along with the BaseDocument number, Base Ref, etc
    If you decide to go this route, I could help you further.
    Let me know
    Suda

  • Purchase order based on Sales order

    Hi,
    I try to create Purchase order based on Sales order.
    The error message :
    "Base document card and target document card do not match"
    My code:
    oPurOrder.Lines.BaseEntry=oSalesOrder.DocEntry
    oPurOrder.Lines.BaseLine=oSalesOrder.Lines.Linenum
    oPurOrder.Lines.BaseType=17
    Could you help me please ?
    Tks.
    Laetitia

    Hi,
    Looking at your code I will check how you fill the fields in the oPurOrder object because the code you copied is only for the document lines and the error refers to the document itself (maybe you forgot to assign the cardcode property).
    If you are basing the document, a good and reliable method is to export the base to a xml file and load the target using this file. This way you garantee that all the info of the document is copied. After that you could use your code to update the info you want to change the same way you pasted it in your post.
    Hope it helps,
    -M

  • Search Production Orders based on Sales Order

    HI,
    Ours is MTO scenario.
    How to find Production Order number(s) based on Sales Order.
    We are getting in AFPO, but if the process starts from Enquiry or Quotation then there is difficulty.
    Because there can be multiple documents of enquiry or quotation.
    Kindly suggest.
    Thanks
    Ramakanth

    Ramakanth
    Did you try T code  COOIS - Order Information System?
    Here you can enter the sales order # ( Single values, range etc.) and get a list pf Production Orders?

  • How to Add Delivery Note based on sales Order

    How to add a delivery note based on sales order.
    say i have a order no. 10 and linenumber 0 to 3.
    each time i book with order no 10 and line no.3,i need to add to delivery note.
    i also in need of adding just one Header and Multiple lines(Header for order Number - 10 and multiple lines for each Booking ).
    How can i achieve this.

    Hi
    You can search the samples....C:\-->Program files->SAP----->SDK->Samples->DiAPI----->OrderandInvoice...
    Here invoice is added for a particular sales order.....the same can be done for delivery.....
    Hope it helps

  • Migo based on sales order error -Require CO object

    Dear Experts,
    We have one process,
    Where we are creating sales order and based on sales order, we are doing migo and miro. final entry will be consumption a/c dr to vendor then we are doing billing for the same.
    We got error in migo based on sales order stated that 'please enter co account assignment object.
    where i will cpature this cost on sales order or cost center.
    I think must be part of sales order becoz we are doing consumption based on sales order and revenue and csot must be flow to copa in billing. M i correct?
    If cost object is sales order or PSG in migo? what setting need to be done for the same.
    What will be the ideal process for the same.
    regards
    RR

    hi ajay,
    I have used AAC -X with item category 's' for third party that was suggested by sap
    and the gl i have defined in okb9 with PSG tick.So consumption account linked to my PSG. becoz i m doing migo/miro based on sales order and final entry will be consumption a/c to vendor in my case.
    System will determine PSG in migo and then billing will happened for the same.So my cost and revenue will flow to COPA.
    We have one programme SDVPRSUPDATE that need to execute every monthend.In order to flow cost to COPA for some cases where Billing happened but no GR happened for the same.then this prograame will flow VPRS cost to COPA.
    regards
    RR

  • I want to pick up Schedule line Delivery date based on Sales Order of Mater

    Hi Experts,
    I have one scenario like,
    I want to pick up Schedule line Delivery date based on Sales Order of Material.
    For example :
    Go to va03
    Give the order no
    Press the enter
    Double click on material.
    Go to Schedule line Tab
    Then we can find out the Delivery date .
    I want to pick up the that Delivery date. Could you please help on that.
    Thanks,
    Amjad.

    Hi,
    schedule line dates are available in VBEP.
    VBEP-VBELN = sales order number.
    VBEP-EDATU = schedule line date.
    REgards,
    Raghavendra

  • VX11N - FInancial Document Assignmnet to delivery or sales order

    Hi all,
    First we do not activated the credit check at Delivery and PGI levels.
    But in case of export scenarios we are using LC documents, and these documents are some times attached to delivery and some times to sales order.
    Case1: The sales order is blocked due to credit check and released, then user creates a delivery, then follows up with LC documents creation. Here the delivery document is blocked due to financial document status is not 'D'. Initially the LC document status is 'B' due to incompletion, i have completed the document, even though the status remains 'B' and not releasing the delivery from credit block. Users are forced to release it using VKM1 t code.
    Case 2: The customer is in his credit limits,  and a sales order is created, then in change mode user creates a LC document for this SO, system automatically brings this SO in to credit block saying the pop up message, financial document status is not 'D'.
    In both the cases system message is EI 574, and asking us to change the status of financial document to 'D', but this is system controlled status we can not change it manually. Also asking us to check at Foreign tradedocumentary paymentsbasic settings, i did not find proper settings here, if any one knows about it please advise.
    I have checked the risk management settings: This item category is activated for credit check, but this is a required setting to update the open items for credit check which we use in automatic credit check.
    Our requirement is sales order or a delivery should not get blocked due to the financial document and should not obstruct the user to  process it further.
    Experts your comments please ASAP.
    Venkat

    FInancial Document Assignmnet to delivery or sales order
    Ideally speaking and to answer this question, LC should always be assigned to sale order only.  In exports scenarios, customer will release LC against one order and not against multiple deliveries.  One of the L/C condition will be "Partial Shipment Allowed"  in which case only, you are suppose to generate multiple deliveries.
    Of course, there will be instances where customer will amend the existing LC due to some reasons but he will never open fresh LCs against delivery.
    thanks
    G. Lakshmipathi

  • Create Purchase Order based on Sales Order through DI

    Hi All,
    As per my requirment i need to create PO based on Sales Order by Using DI object.
    By using the UI i am able to create a PO. i.e,.  in the Sales Order Form , in logistic tab when the purchase check box is checked and when the SO is added there is a work around form poped up where we give the vendor information and create PO.
    Code:
          objPurchaseOrder = objSBOAPI.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oPurchaseOrders)
                                        objPurchaseOrder.CardCode = "V1010"
                                            objPurchaseOrder.CardName = "Far East Imports"
                                            objPurchaseOrder.DocDate = "02/24/05"
                                            objPurchaseOrder.DocDueDate = "02/24/05"
                                        objPurchaseOrder.Lines.BaseType = "17"
                                        objPurchaseOrder.Lines.BaseLine = "0"
                                         objPurchaseOrder.Lines.BaseEntry = "35"  
                                             objPurchaseOrder.Add()                                                          
    Error Description : Base Doc Type donot match with target Doc type
    PLease help me
    Thanks and Regards
    Sandeep

    hi,
    try removing the double quotes for basetype, baseline, baseentry.
    if it doesn't solve the problem
    make sure that you are assigning the docentry only but not the docnum of the sales order to the purchase order lines' baseentry.
    rgds,laks.

Maybe you are looking for

  • Getting error message while strating managed server in weblogic console.

    Hi, Here are my config steps I followed: 1. Created Domain with the Admin server port 8001. 2. Able to log into the Admin console successfully. 3. Created Machine in the console 4. Created Managed server ms01. 5. Created Network Channels under ms01 f

  • I upgraded to snow leopard but now I have only 1 GB of storage space?

    It seems like all my files/apps are duplicated or something. I found all my old files, but do I really have to load all my music back in to itunes? Same thing with my photos, I have them all but they aren't showing up into iphoto.

  • Any way to tell if an Oracle 9i export is still running?

    I got an Oracle export that's been running for almost 1 days now. The export file shows a modification time of 3 am this morning and does not appear to be growing. The log file does not show any errors. I think it's stuck and I need to restart it. An

  • Nokia 5800 XpressMusic Text Error

    Hi ,  for example  when i write a message i choose hand writing , when i write in the box nothing appears in the box ( i mean it appears in the message but it doesnt appear in the box) ,,,   and another problem , when i change the keyboard it has min

  • C3-00 Gmail?

    I am using a C3-00. It is an older device, but I lost my other phone and am using this one now. I'm trying to set up my Gmail account. I have the latest software version.  When I select 'Add account' in mail, I only get the options for 'Ovi by Nokia'