Derivation rule to Capture Billing Doc & Sales Employee
Dear All,
I want to create a derivation rule by table tookup to update the billing documnet no and the sales employee details in COPA. From which table i can get these details
Regads
Vasantha
If i want to use VBRK Table my key field is sales document (VBELN) and Item Position(POSNR) . whereas in VBRK VBELN is Billing document no and in COPA VBELN is sale order no. Hence the table lookup can not be executed
Regards
Vasantha
Similar Messages
-
Derive business unit from billing doc
Hi all,
I am trying to derive the business unit (VBRK-BZIRK) from the billing document instead of the customer master data.
For that purpose, I added the charachteristic "billing document" (WWBD) and then I create a derivation rule of type 'table lookup' with the following parameters:
source:
VBRK VBELN Billing Document = CO-PA WWBD Billing Document
Assignment of table fields to target fields:
VBRK BZIRK Business Unit = CO-PA BZIRK Business Unit
on the condition tab I added the range of sales organizations for which this derivation needsto be active:
CO-PA VKORG Sales Organization >= 6000
CO-PA VKORG Sales Organization <= 8000
When I test it in KEDR by entering, customer, sales org, billing document, is is working OK, but when I do an actual by creating a billing document, the derivation is not working.
Does anyone know why this derivation is not working?
And also, is there a way to analyze the actual derivation (not the test run in KEDR)?
Thanks,
Yoel.Hi Ajay,
I finally got some ABAP help and was able to add an entry in table TKEZU using view V_TKEZU:
Char. BTran Table Field Name
WWBD KEDR KOMK BELNR
Now, when I try to create the derivation rule with type table lookup I face another problem: in the 'source fields' section I
am required to enter the operating concern (TKEZU-ERKRS), the field name (TKEZU-MERKMAL) and the business transaction (TKEZU-VRGNG), but when I enter the parameters (i.e. TKEZU-ERKRS=US10, TKEZU-MERKMAL=WWBD
and TKEZU-VRGNG=KEDR) I get an error "Enter a valid source field. The field US10 is not a permitted source field" (message no. K/018).
When I try to select values from the list (F4), I can only select out
of the carachteristic names available in the system.
Why am I not getting on the drop down list the real values for the table fields?
Thanks,
Yoel. -
Copa derivation rule not working for Discount GL
Hi All,
Kindly note that I have a distribution rule where company & plant combination is used where condtion is that customer group 3 should be 018 and then replace distribution channel to 03.However the rule is not working for discount GL posted in the billing document.
I tried testing it in FB50 but then it does not allows me to enter plant and because of that derivation rule fails. However in my billing doc I do see a plant against discount GL and still the rule is not getting picked.
I had raised this issue earlier but the reply where not as expected and so I have rephraised my question.
Kindly help me on this.
Regards
PranayHi Pranay
I could not understand your req to a great detail, following are my observations
1. There should be derivation rule in place 1st of all to derive customer group from billing doc...
Check if Cust Group is populated in your COPA doc or not.. For this cust group should be a segment level char in KEQ3
2. Create a derivation rule using method "Derivation".
Source fields would be Cust Group, Plant and Company code ( I guess you want to change dist channel with this combination)
Target field would be VTWEG (Dist Channel)....Click on the magnifying lens beside VTWEG and choose relevant radio button "Overwrite if ......."
CLick on RULE VALUES and maintain the required Values there
This should work...
Regards
Ajay M -
Dear experts,
I want to create sales employee wise billing report . I dont know what is the base table for sales employee and how to link the sales employee field with vbrk or vbrp table. Please help me.Hi,
You can acheive this by configuration as well,
Assign sales employee in customer master or in your sales order so that it is copied to billing as well,
now go to the following path IMG>Sales and Distribution>Sales Support>Lists>Set updating of Partner Index
Trans.group---- Function -Name
7(billing)----SE--
Sales employee
Now Goto T.code VF05 Press Partner function button
Choose SE (Sales Employee) from F4 help
now give your Sales Employee number and execute
you will get the list of your sales employee
Regards
Senya -
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!
paul2. 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 -
Copying Exchange rate from sales Doc to billing doc
Hello,
I have an issue with the update of the exchange rate in the billing document.
In fact when i create a sales order then the delivery associated. then i change the exchange rate in the sales order.
When i go to create the billing doc, the exchange rate is not updated in the billing document.
I guess because it is not defined in the copy rule requirement from Sales doc to delivery, and from delivery to billing doc? can you please confirm if it is the case?
Thanks
RegardsHi
First of all check weather exchange rate has been maintained between the currencies from which you are changing (Ex : INR to EUR). If the currency conversion has been maintained then check in VTFL copy control weather PricingExchange rate type field has been maintained or not. If not maintained then maintain the PricingExchange rate type feild as per your requirement and then do the complete cycle again.
Regards
Srinath -
COPA : Drive Item Category from billing doc. / without sales order
Dear All ,
I need to drive item category directly from billing document ( billing without sales order - POS inbound doc. )
i tried to drive it from table VBRP but the derivation failed as table VBRP need the billing doc. number & i can't get it from COPA
POS does not create any sales order , the in coming inbound doc. create billing directly ( billing type : FP ).
Edited by: Ahmed Hassan on May 25, 2011 2:28 PMHi Jat
This is not the screen I am looking for .Please go to condition tab and look for Analysis .Let me know on what excess you are looking system to find your pricing .
Below are are reference for u.
Regards -
Open sales orders and open deliveries and open billing doc to sap from legesy
Dear all
i have some open sales orders and open deliveries and open billing doc are there in the legesy system
so i want to know how to transfer the doc to sap by using lsmw plz tell meHi Amith,
it is always good to search in Google before posting .LSMW is very old topic and i am sure you will get lots of Documents on this .Please go through the below link .you will get some idea on this.
http://scn.sap.com/thread/1012472
there are 14 steps in LSMW and it is same for all (master data and Transaction Data)
Pls practice this in your sand box or quality system before working it in the client requirement.
Hope this helps to you
Regards
Sundar -
Condition records wrongly populated in sales order instead of billing doc.
condition records are maintained billing wise to populate in the billing document for pricing condition where as while creating the sales order itself i am getting the condition records populated in the sales order which is not correct as it needs to populated in the billing document only
yes after looking at pricing analysis itself we have concluded that these condition type has the key combination billing document F2 and displays the condition record within the sales order itself, but this condition record with key combination billing doc. F2 should be populated in billing doc only what is the reason behind this
-
How Billing doc.created from purchase invoice in Third Party Sale
Hi All
Our client requirement has been mapped as sap third party sales process .
But if the vendor is delivering less qty . than the qty. for which Sales ordered has been created, How to create the Sales billing Doc. according to the purchase invoice so that Sales Billing Doc. should be created for the delivered qty. only .
Please suggest the configuration & how the data is flowing from the Purchase Invoice to the Sales Invoice.
Thanks in advance
AshokHi
you can achieve your requirement by following
T-Code VTFA (copy control Order to Billing)
use you Third party order type and billing type
Go to Item category (if Standard use TAS)
there is a option "BILLING QUANTITY"
user there "E" Goods receipt quantity less invoiced quantity"
Hope it will solve your problem
Cheers
Shambhu Sarkar -
Hi Experts,
Am looing to pull vbrp-vbeln i.e. billing doc #, based on the VGBEL i.e. sales doc #
i.e.
select single * from vbrp into wa_vbrp
where vgbel = wa_vbap-vbeln
and posnr = wa_vbap-posnr.
but, as there is no secondary index in vbrp for vgbel and there r tonns of recs in vbrp, its taking too much time?
so, wht is the alternative that i can find billing doc # with my sales doc #?
thanqMr. Srinivas,
Just a suggestion, if you need only the header details, then why not extract data from VBRK (header for billing doc) & VBAK (header for sales doc). These 2 tables contain only single line per billing or sales doc & hence the performance should be better.
If my suggestion is not what you are looking for, then apologies for the same.
Regards,
Vivek
Alternatively as Mr. Eric suggests, you can use VBFA
VBFA-VBELN = VBRK-VBELN
VBFA-VBELV = VBAK-VBELN
Logic is VBFA-VBELN is the subsequent document & VBFA-VBELV is the preceding document.
Hope it helps. (but be sure, the document created after sales order is billing document, there might be cases where there could be delivery documents after sales order & before billing document, so be careful)
Edited by: Vivek on Jan 29, 2008 11:11 PM -
Derivation Rule Problem - Sales Order -CHALLENGE TO ALL SD CONSULTANTS
Hi Friends
I am stuck on i very critical issue, i am not able to solve it, I am SD consultant, i wrote this issue on FI forum also, but i did not get complete solution, they write me back it is SD issue.
When i create a new sales order and click enter, a small screen open and message displayed on it "Error occurred in Derivation Rule, See long text"
And when try to save sales order in display incompletion log. When i press on edit to complete it message display " Item 10 ... Missing data- Profitability Segment No.
When i press on complete data - Account Assignment screen open (Business Area 9900)
Would you please send me solution with complete path to fix this problem
If you can give your email address, i will send you screen shot of the problem.
I have tried KEDR transaction issue also but nothing happened.
This is BIG challenge to all SD consultants now. Send me step by step solution
If you send my your email id, i will send actual error saved in word format.
Thanks
Rajesh
Email: [email protected]Good luck!
to get a solution you need to provide the members of this forum with details regarding your PA set-up.
PA is normally very customer driven, so not standard.
Without information regarding your structure there you will not get any solution.
GL
Hein -
Derivation Rule Problem - Sales Order
Hi Friends
I am SD consultant, i wrote this issue on SD forum also, but it is related to FICO.
Please send me solution with complete path.
When i create a new sals order and click enter, a small screen open and message displayed on it "Error occured in Derivation Rule, Seee long text"
And when try to save sales order in display incompletion log. When i press on edit to complete it message diaplay " Item 10 ... Missing data- Profitability Segment No.
When i press on complete data - Account Assignment screen open (Business Area 9900)
Would you please send me solution to fix this problem
If you can give your email address, i will send you screen shot of the problem.
Thanks
Rajesh
Email: [email protected]Hi Waman
I ckeck the transaction code /nKEDR there which entry i should select and in type of prfatibity Which one i should select Costing based or Accounting based.
I tried on selecting IDEA and Accounting based and eleased but still i getting same error.
My problem is still pending, please send next step to solve this issue
Thanks
Raj
Email: [email protected] -
Derivation Rule from Sales order (VBPA) Urgent!!
Hi Gurus,
I've maintained a derivation rule for pulling the sales agent ( Partner Function) from sales order (VBPA Table lookup).
When I tested the derivation strategy, its pulling the sales agent from sales order, but when the sales agent characteristic is added to the report and even after realigning the data, it still says "not assigned".
Any input is really appreciated.
Points will be awarded.
Shiva.Hi
Check the sequence of order (your derivation) try to move up your derivation on top of the other existing derivation from where same logic is executing (not assigned)
Regards
Laxmiprasad -
Can a material of a sales order have more than one billing doc
Hi,
Can a material of a sales order have more than one billing doc(vbrp-vbeln)
Regards,
SeemaHi,
Yes it is possible.we can have multiple invoice for a sales order of one line item.
For this we should have order quantity not exceeds billing quantity at the item category level.
Also we have to use teh field Quantity +/- indicator at the copy control level.
Regards,
Krishna.
Maybe you are looking for
-
Variable frequency counter output
I found this example of how to vary the frequency of a counter output, but it appears this is not supported and i receive the following error. Can anyone tell me if there is an alternative method at all? my device is a usb6341 which has 4 COs thanks
-
Centralized (MS Access) database
hi, In my application, i am using MS access as database. currently i am using database in all client place. i want make one database in one sever, all client need to update their details in that. current sample code String szPath; szPa
-
Where are my applications for like my printer?
I used to be able to find my applications in FINDER.....now I can't find them. I upgraded to Mountain Lion and now discover my Canon PIXMA 560 won't scan. Please help
-
Hello my friends, I am beginner in the big world of Solaris, I am using the version 8.1 for Intel X86 . The question is I have a video card NVIDIA RIVA TNT2 on Dell Optiplex GX200 system Does anybody know where I can get this driver or some similar o
-
How to use HttpSessionListener?
Hi For some days now i try to find out to how to use HttpSessionListener. I read quite a lot of tutorials and i found a lot information but not all i need. What i know how to do is to create a class implementing HttpSessionListener Interface, i know