Sales order & Billing document ( VBAK & VBRK )
Hello All,
What is the link between table VBAK and VBRK? I have requirement where I need to find out the sales document number from the billing document number. I can see the relation in the relationship browser but I couldn't find the columns which link those tables.
Thank you.
Hi
The link between sales order and billing is found in VBRP table. The following fields will tell you which sales order is used to create the billing document / item. you can also find the delivery document here.
VBRP-VGBEL Document number of the reference document ( This will be the delivery document if the invoice is referred to delivery document )
VBRP-VGPOS Item number of the reference item ( Item no. of VGBEL )
VBRP-VGTYP Document category of preceding SD document (
VBRP-AUBEL Sales document ( This will be the sales order no. )
VBRP-AUPOS Sales document item ( Item no. of AUBEL )
I hope this helps.
Regards
Yatin Thakkar
Similar Messages
-
Reinitialize Sales Orders, Billing and Delivery (11, 12 & 13)
Hi,
Due to continues rollouts we need to reinitialize Sales Orders, Billing and Delivery do-cuments from R/3 into BW.
This requires us to delete all loaded data, logs, queues etc. on the BW side - Fair enough.
The real challenge come as we need to run the transactions OLI7BW(order), OLI8BW (billing), OLI9BW (deliveries) on the R3 side in order to fill the setup tables. Here we need to switch the "block all orders" on in order to ensure that no new documents are created while load-ing.
In relation to the above situation I have a couple of questions:
Is there no way of doing this in a more "online" fashion?
What transactions are actually blocked by flicking the "block all orders"?
Thanks in advance
Michael Bisfelt
Arla Foods a.m.b.a
Message was edited by: Michael BisfeltHi Michael,
I've seen this process accomplished without blocking orders, but instead by blocking all transactions that may in any way lock an order or related sales document. Also, you can dramatically speed up the process of gathering the old documents by running multiple batch jobs (with different document number ranges) at the same time. In this case, I believe you want to "uncheck" the "New run" flag. I've seen runtimes for this reduced from over 24 hours to under 4 hours. The important thing is that you don't want to have ANY activity that modifies or locks order documents until after the date and time of termination that you specified, otherwise you will lose data on your transfer to BW.
Regards,
Chris -
Third Party Sale order Billing Before Before MM Billing
Hi,
In our company case . we are not dependent for MM billing . Our Sale order billing is independent and it's on the daily bases.
i have done following changes
item category to TAS
VoV7 'TAS' Billing Relevance to 'B' Relevant for order-related billing - status according to order quantity
VTFA (Order,to,bill,copying,control)
But when i am doing SD Billing VF01
error messages:
Message no. VF17 Document 15000962 does not contain any items with open quantities
Message no VF147 1015000962 000010 No open billing quantity has been determined
plz resolve this problem
regard
khurramwe don't want to Depend upon MM. Because, we have to update our customers ledger with creation of Sale order and PR.
What does it mean by don't want to depend upon MM?
How the vendor delivery the goods if you create only PR ? with ref to PR vendor delivery the goods?
PR is not a legal document unlike PO which is legal document, in standard with ref to PO , MIGO MIRO are created.
Also you mentioned
note: Vender send us hard copy of desptaches after one week. so with that we invocie our PO.
After one week how does the PO comes into picture will you create PO with ref to PR after dispatch notification comes to you after one week by vendor then you do MIGO and MRIO?
Please note : In 3rd party sales we have two kinds of process.
1. 3rd party sales with out shipping notification( this is SAP standard, settings already available no need any changes)
Here we do the customer invoice after vendor payment only...
2. 3rd party sales with shipping notification(here we need to do small changes as i mentioned above)
in the process you need not to wait till the vendor payment(MIRO), as per your requirement you can bill the customer before vendor payment(MIRO)...But here MIGO is mandatory.However it is dummy MIGO( no inventory updates).
Actualy , we don't want to Depend upon MM. Because, we have to update our customers ledger with creation of Sale order and PR.
Beacuse we want to update our customer ledger on daily bases.
Let us assume you are creating customer invoice with ref to sales order and in your case you mentioned you won't do MIGO or MIRO before customer invoice creation so in this case for how much qty you bill the customer on daily basis?
If the vendor delivery goods lesser qty than order qty then how do you manage with out doing MIGO or MIRO?
Please answer the above questions?
You may able to create customer invoice with ref to order with out MIGO or MIRO by changing some copy control but you can't bill the exact qty to the customer if you don't do MIGO or MIGO.
So i suggest you to go with 3rd party sales with shipping notifications .
Here sale order( VA01)
PO (with ref PR).
MIGO( dummy MIGO)
VF01( customer invoice)
MIRO( vendor payment)
thanks,
Srinu. -
What is diff between delivery related sales order & billing related sales o
what is diff between delivery related sales order & billing related sales order ???
hi prasanth,
extending the Answer of shasikanth,
1) Order Related Billing:
some items are not related to delivery, like service items.
these items will be defined by different ITEM Categories.
2) Delivery Related billing:
standard item like TAN,which is delivery related billing.that means for this item we need to create a delivery documnet.with reference to delivery document we need to create a billing document.
when we define item category,
we miantain whether its order related or Delivery related billing.
The respective field in item category is......
Relavant for Billing A - delivery related billing
B - Order realted billing
by this we can say item category defines, whether item is relavent for billing or not and also it defines whether its a Order related or Delivery Related billing.
The Respective billing document type will be determined from Sales document type(vov8). -
Where we can found sales order billing status
Hi guru's
where we can found sales order billing status?
suppose if i created one sales order that sales order related billing status i want to let to know
where can i found that one.Hi upendra_sap
Go to the menu in VA02, VA03 goto >header>status, there you can see the header billing status and also item billing status.
In table VBUK (header status) field FKSTK, and in VBUP (item status) FKSAA (Billing Status for Order-Related Billing Documents) or FKSTA (Billing status of delivery-related billing documents).
Thanks,
Mariano. -
Sales Order Billing Block Removal after Milestone POC 100% Only
Dear Experts,
My client requirement is like following.
1.Total Milestone number is 10
2.Each Milestone carries weightage of 10% Invoice billing.
I want to bill the milestone which is 100% completed only.
In SAP Standard Function what I am getting is , When I feed Actual Date in Milestone then Billing Block is removed in Sales Order Billing Plan.
Is it possible to remove Billing Block if Milestone POC is 100% also.
Kindly suggest if there is any User exit ocustomer exit available for that.
RegardsI want to bill the milestone which is 100% completed only
This is a standard feature. Once you reach the milestone enter the actual dates and the billing block gets removed allowing you to do the billing.
Whatever you are getting in the standard system is perfectly fine. That is how the standard system works.
Is it possible to remove Billing Block if Milestone POC is 100% also
Could you please explain this statement? Are you asking, whether its possible to remove the billing block without entering the actual dates even though the milestone has been reached? -
Sale order header document flow table
Dear Guru's
In which table the sales order heard document flow will be stored I checked in se16 VBFA table it is updating document flow Line item vise. But I want header vise.hi,
I think , table VBFA will remain same , you need to select with POSNN = '10' , means keep always 10 if you want header details.
saravanan -
Update Service order status based on Sales order billing status
Hi All,
Pls give some suggestions for below scenario.
Sales order will be created from Service order.
Service order should get completed once the sales order is billed fully.
Billing status is available in Sales order header. When ever billing is created, sales order status get updated.
Where I need to have the trigger (User exit etc...) to update the service order status w.r.t sales order billing status.
Rgds,
Senni.BHi,
As standard the system update service status, maybe some config is missing. Please check the copy control conditions in SD.
Hope this help.
Regards. -
Net Value of the Sales Order in Document Currency is Zero
Hi,
I have an issue with Sales order where in "Net Value of the Sales Order in Document Currency" field value in the initial screen is getting displayed as Zero. But in Pricing Conditions tab "Net Value in Document Currency" is showing correct value.
Could someone advice what causes this situation and how to fix it.
Thanks.
Best regards,
srikrishhna13Hi Navaneeth,
Need your help and advice again. My later investigations reveals the below.
In some Orders (with a different item category) the Net value is getting reflected at Header level, irrespective of whether the line item/items are under some RfR.
My earlier case were with Orders (item category different from above) the Net Value is Zero when all the line items are under some RfR.
Kindly help me how to fix this issue.
Thanks.
Best regards,
Srikrishhna -
Reschedule sales order & STO document
Hi experts,
When user do V_V2 for reschedule sales order & STO document , He find no of document & select document then user direct call change document screen. But i don't want to user for this right for change this document, If user have VA02 right then he can do it. But if user have no authorisaction then user can not do here in VA02 changes , Can i restrict user for changes in document, Because it create many problem,
Pls give me suggection on priority basis,
Thanks a lot in advance ,
Regards:
HappyHi Harsha,
If you want to restrict the user at T.Code V_V2 level then use this Authrization object in this remove Value 02
If you want to restrict bu using sales document type then go with
Object Field Value (interval)
V_VBAK_AAT AUART 02 remove
If you want to restrict bu using sales area then go with
V_VBAK_VKO
SPART $SPART
VKORG $VKORG
VTWEG $VTWEG
Regards
Durga Sana -
Open Sales order, Delivery docuement, Billing document, Item
Hi Gurus,
Kindly help to view the following items for a particular customer.
1) Open sales order value
2) Open Delivery docuement value
3) Open Billing document value
4) Open item.
I presume for viewing open sales order VA05N and to view Open item FBL5N would suffice. Please correct me if i am wrong and let me know about points 2 and 3.
This is required because, my client is facing some figure mismatch while executing F.35 tcode. I am trying to analyze the differnce of figures while doing a Static and dynamic credit check.
Thanking you in advance
ficoguy.Dear ficoguy,
1) Open sales order value
Tcode: VA05 (select OPEN SALES ORDERS)
optional method: SE11/ TABLE VBAK/ INPUT customer code as KUNNR, fetch the list.
Input the VBELN in VBUK and filter with RFSTK='A'
2) Open Delivery document value
Tcode: VF04 (OUTPUT DATA FOR BATCH PROCESSING-->CHECK LIST DISPLAY)
DOCUMENT TO BE SELECTED = DELIVERY RELATED
optional method:(same as above except the FIRST TABLE)
SE11/ TABLE LIKP/ INPUT customer code as KUNNR, fetch the list.
Input the VBELN in VBUK and filter with RFSTK='A'
3) Open Billing document value
TCode: VF05
Selection criteria : OPEN BILLING DOCUMENTS
4) Open item.
Tcode : FBL5N
Check and revert back.
Thanks & Regards,
Hegal K Charles -
Maximum no of Line items for sales order,delivery document and billing docu
Dear friends,
How many line items we can enter for the following,
1) a Sales order
2) a Delivery document
3) a Billing Document
Thanks in advance.
Regards,
ShrikantHello,
the maximum limit of line items are as follows
order-9999
for delivery and invocie , it is restricted to 999 accouitng line items. since the tranfer to accounting can handle only 999 items , the restriction on delivery and invocie
ex if there are excise postings, for a single line , there might be 5/6 lines genetrated for each line in invocie , therfore as per this the line in invocie get restricted
you have a sap note , which offers suggestions to partially over come this
hope this helps
Thanks
akasha -
Sale order Billing invoice history.
Hi,
I am an ABAPer. I have to create a report that displays the invoice billing history of a sales order for a particular period of time.
My final table should contain the following fields.
Invoice Date
Document Type
Currency
Invoice Amount (in DC)
Invoice Amount (in LC)
Invoice Amount (in USD)
Invoice Period
Post.Date
Doc.Date
SOW No
SOW Description
PO No
Account Manager
Project Manger
Project Code
WBS Element
City
Business Area
G/L Account
Special G/L ind.
Spl. GL Text
I need to the know the tables i need to fetch these information.
Please help!Did you already find tables VBAP/VBAK, VBFA, VBRP/VBRK, BSEG/BKPF during your search or anlyzing FM SD_DOCUMENT_FLOW_GET ?
Nevertheless I suggest you read first note 185530 - Performance: Customer developments in SD, then post where you get a problem.
Regards,
Raymond -
Sales order billing through CATS.
Hello there,
I have an issue..
We are working on a PS implementation project. This is an implemention for n ERP solutions provider( say A).
In this case A provides manpower for its respective clients. They have maintained contracts with their clients for specific periods.
Now based on time sheets generated by the personnel, A generates sales orders and correspondingly bills their clients.
Now our issue is, how do we use time sheets(CATS) to generate billing documents.
Thanks a million.You can enter time against the sales order/item in the CATS timesheet, but I have never done that; I believe you don't do that if you are using PS due to the other benefits of collecting these expenses on the project (reports, RA, actual/plan comparisons, material, etc...).
Using PS, you could use Resource-related billing for this purpose. You basically have the time charged to a network activitiy in CAT2, then transfer the cost to the project using CAT5. Then, you will create a billing request using DP91/95. There are other steps in between, which are explained in greater detail at this link on the SAP help pages:
http://help.sap.com/erp2005_ehp_02/helpdata/en/aa/96853478616434e10000009b38f83b/frameset.htm
Let me know if you want to go deeper into any of these areas. -
Hello
My sales order type is zmf , i want to dispatch the material from sales order but it should not allow create commercial invoice i want to create only proforma invoice from it kindly guide how to do it .
sales order/obd/proforma invoice.
Kindly guide ...Hi,
You can try with copy control settings through this you get that requirement.
First you have to do the copy control settings in VTFA transaction between your sales order and proforma invoice.
You can copy the standard settings between OR and F1 then change the document types with your document types.
Go to VTFA transaction select your document types
then go in to item details there is field called Data VBRK/VBRP maintain the routine 001-Inv.split(sample) as per the standard if the routine not full filled your requirement you copy that routine ask ABAPer change the logic according to your reqirement in VOFA transaction.
Thanks,
Raja
Maybe you are looking for
-
Crystal Report Templates for User-Defined Objects
Hello Experts, I am running SAP B1 8.8 PL11. In the current patch SAP has default Crystal Reports that can be used as Layouts for Invoices, Credit Memo's so on. Is it possbile to have layouts for user defined objects ( say for instance i have a custo
-
Adding a Quicktime Media Player to a page that can play from a list of links
I'm on a Mac G4 window front tower running OS X 10.4.11. I am using Adobe GoLive 7.2. and Quicktime player 7.6. The project I am involved in entails linking a group of Quicktime movies to a Quicktime media player on the same page. I can handle the li
-
BI4 :Copy and Paste Charts Settings
Hello, I'am using a BI4 Is is possible to copy and paste chart settings in Webi. I have 8 charts coming from 8 differents query. I want to apply the same charts settings in the same time. I need to click on each charts and readjust all he settings. T
-
How do i set rebel t5 so pics end up 6mp?
im new to the rebel t5 but i love it. ive always had point and shoots, so this is different. i post on a few sites and they say the pic must be at least 6 mega pixels, how do i set the camera for that? thank you
-
IOS