Changes in Netprice(KOMP-NETWR) While Creation Sales Order(VA01)
Hi expert ,
My issues while creating sales order(Va01) is :
i have added two conditions types namely YVAT and YNBT in Condition , while calculating netprice (NETWR) its picking both values for YVAT and YNBT , i want only netprice excluding YVAT and YNBT , for example
NETPRICE is 3000.00
YVAT is 50.00
YNBT is 30.00
NET is 3080.00
but i want to display only 3000.00 in NET(KOMP-NETWR)
please suggest is there any user exit to do this calculations.
Hi,
I'm not sure if you need to update ADRC table - the address number is usually the the customer's address and is picked automatically.
Also the transport zone is picked automatically based on the customers address or on the shipping conditions in the Sales Order.
Transportation Zone (LZONE) also exists in the partner function (VBPA) and the shipping partner (VTPA) - in case you need to suggest a different route for shipping other than the one determined automatically.
To change this - change both the internal tables table xvbpa and xvtpa (after reading with sales order and item from structures vbak and xvbap) in USER_SAVE_DOCUMENT_PREPARE in the include MV45AFZZ.
But, I'm not sure if the Address Number (determining the shipping point) would be independent of the Transp Zone, though it's changed in the exit.
Regards,
Anil.
Similar Messages
-
How to change the status of material while creating sales order via BDC
Hai.
In BDC while creating sales order( va01 posting ) it is stucking up in middle saying material is new. I.e Sales order (va01) is not getting created because of material status is new . I want to create sales order (va01) even material status is new.
pls give me out the solution. Points will be rewarded.
thanks & regards,
sami.Hi,
If you drag the line item a little towards the right side, you will find a filed material entered. The one you see in the material filed on sales order over view screen is the one determined. You can as well double click and see the fields material entered and material determined.
Is there anything else you are expecting to see as part of analysis ?
Regards
Sadhu Kishore -
How to block the material qty to 1 while creating sales order (VA01)?
Hi All,
Scenario : We have 20 Materials each with 100 qty in Plant. In the sales order we should have all the 20 materials with qty one. The sales order should throw an error if the material qty is more than 1 and should not allow to create a sales order.
so is there any transaction code where we can block the entire material qty to 1 from the same plant while creating sales order?
Note: We should not set in MM01 "Minimum order qty". Assume we have 100 material in plant we can't set for each material one by one "minimum order qty".Instead of that is there any option to set the whole material qty to 1 as minimum while creating sales order?
Kindly guide me how to proceed.
Thanks,
RenjithIf you have access to idoc before calling the processing Function module, Adding header text segments E1EDKT1 and E1EDKT2 to the idoc will create the header text.
Regards
Sridhar -
Issue with profit center while creating sales order (VA01).
Hello Gurus,
When I creating sales order (Material need to be configure from VA01->Extra->Configuration) with reference of existing then XVBAP is populating the correct profit center. But when creating new sales order from scratch for the same material, at that time XVBAP is getting wrong profit center for index 2.
Thanks in Advance!!Debugging Sales order at Enhancement MV45AFZB ->form userexit_move_field_to_cobl.
-
Automatic creation of settlement rule while creating sales order
Hi Friends,
Can any one help me how to create settlement rule automatically while creating sales order i.e saving sales order. Is there any function module or any badi which can be used.. please suggest.
thanks
bobbyHi,
Here is the solution , First Create a sustitution by going into OPSN Transaction , only user exit say 'U902'
and write the form routine in Program named 'ZRGGBS000'
The code is below ,
*& Form U902
Automatic Generation of Settlement Rule For WBS and Company 4180
FORM u902.
Exit For Automatic Settlement Rule Creation for WBS Billing elements
IF sy-tcode = 'CJ20N' or sy-tcode = 'CJ01' or sy-tcode = 'CJ02'.
DATA lv_proj TYPE ps_pspid.
lv_proj = proj-pspid.
EXPORT lv_proj TO MEMORY ID 'PSPID'.
Calling YGPS_CJB1EXEC Program For Creating Settlement Rule
SUBMIT ygps_cjb1exec AND RETURN.
ENDIF.
ENDFORM. "u902
*& Program YGPS_CJB1EXEC
PROGRAM ygps_cjb1exec.
Automatic Generation of Settlement Rule For WBS and Company 4180
Called From Exit For Automatic Settlement Rule Creation for WBS Billing elements
DATA: bdcdata_wa TYPE bdcdata,
bdcdata_tab TYPE TABLE OF bdcdata,
itab TYPE TABLE OF bdcmsgcoll.
DATA :lv_currm LIKE bkpf-monat,
lv_curry LIKE bkpf-gjahr,
lv_prevm LIKE bkpf-monat,
lv_prevy LIKE bkpf-gjahr,
lv_proj TYPE ps_pspid,
lv_mode TYPE c,
lv_time TYPE sy-uzeit.
DATA :g_datfm LIKE usr01-datfm,
g_dd(2) TYPE c, " Day
g_mm(2) TYPE c, " Month
g_yyyy(4) TYPE c, " Year
g_sydatum(10) TYPE c.
IMPORT lv_proj FROM MEMORY ID 'PSPID'.
lv_mode = 'N'.
CLEAR bdcdata_wa.
bdcdata_wa-program = 'SAPLKAZB'.
bdcdata_wa-dynpro = '1000'.
bdcdata_wa-dynbegin = 'X'.
APPEND bdcdata_wa TO bdcdata_tab.
CLEAR bdcdata_wa.
bdcdata_wa-fnam = 'BDC_CURSOR'.
bdcdata_wa-fval = 'PRZB-VARIANT'.
APPEND bdcdata_wa TO bdcdata_tab.
CLEAR bdcdata_wa.
bdcdata_wa-fnam = 'PRZB-VARIANT'.
bdcdata_wa-fval = 'ZGPS0001'.
APPEND bdcdata_wa TO bdcdata_tab.
CALL FUNCTION 'GET_CURRENT_YEAR'
EXPORTING
bukrs = '4180'
IMPORTING
currm = lv_currm
curry = lv_curry
prevm = lv_prevm
prevy = lv_prevy.
CLEAR bdcdata_wa.
bdcdata_wa-fnam = 'RKAUF-FROM'.
bdcdata_wa-fval = lv_currm.
APPEND bdcdata_wa TO bdcdata_tab.
CLEAR bdcdata_wa.
bdcdata_wa-fnam = 'RKAUF-GJAHR'.
bdcdata_wa-fval = lv_curry.
APPEND bdcdata_wa TO bdcdata_tab.
CLEAR bdcdata_wa.
bdcdata_wa-fnam = 'BDC_OKCODE'.
bdcdata_wa-fval = '=VARC'.
APPEND bdcdata_wa TO bdcdata_tab.
CLEAR bdcdata_wa.
bdcdata_wa-program = 'RKPSEL00'.
bdcdata_wa-dynpro = '1000'.
bdcdata_wa-dynbegin = 'X'.
APPEND bdcdata_wa TO bdcdata_tab.
CLEAR bdcdata_wa.
bdcdata_wa-fnam = 'BDC_CURSOR'.
bdcdata_wa-fval = 'CN_PROJN-LOW'.
APPEND bdcdata_wa TO bdcdata_tab.
CLEAR bdcdata_wa.
bdcdata_wa-fnam = 'CN_PROJN-LOW'.
bdcdata_wa-fval = lv_proj.
APPEND bdcdata_wa TO bdcdata_tab.
CLEAR bdcdata_wa.
bdcdata_wa-fnam = 'CN_PSPNR-LOW'.
bdcdata_wa-fval = space.
APPEND bdcdata_wa TO bdcdata_tab.
CLEAR bdcdata_wa.
bdcdata_wa-fnam = 'CN_NETNR-LOW'.
bdcdata_wa-fval = space.
APPEND bdcdata_wa TO bdcdata_tab.
CLEAR bdcdata_wa.
bdcdata_wa-fnam = 'CN_ACTVT-LOW'.
bdcdata_wa-fval = space.
APPEND bdcdata_wa TO bdcdata_tab.
CLEAR bdcdata_wa.
bdcdata_wa-fnam = 'CN_MATNR-LOW'.
bdcdata_wa-fval = space.
APPEND bdcdata_wa TO bdcdata_tab.
CLEAR bdcdata_wa.
bdcdata_wa-fnam = 'BDC_OKCODE'.
bdcdata_wa-fval = '/00'.
APPEND bdcdata_wa TO bdcdata_tab.
CLEAR bdcdata_wa.
bdcdata_wa-fnam = 'BDC_OKCODE'.
bdcdata_wa-fval = '=SAVE'.
APPEND bdcdata_wa TO bdcdata_tab.
CLEAR bdcdata_wa.
bdcdata_wa-fnam = 'BDC_OKCODE'.
bdcdata_wa-fval = '=VBAC'.
APPEND bdcdata_wa TO bdcdata_tab.
CLEAR bdcdata_wa.
bdcdata_wa-program = 'SAPLSPO1'.
bdcdata_wa-dynpro = '0100'.
bdcdata_wa-dynbegin = 'X'.
APPEND bdcdata_wa TO bdcdata_tab.
CLEAR bdcdata_wa.
bdcdata_wa-fnam = 'BDC_OKCODE'.
bdcdata_wa-fval = '=YES'.
APPEND bdcdata_wa TO bdcdata_tab.
CLEAR bdcdata_wa.
bdcdata_wa-program = 'SAPLKAZB'.
bdcdata_wa-dynpro = '1000'.
bdcdata_wa-dynbegin = 'X'.
APPEND bdcdata_wa TO bdcdata_tab.
CLEAR bdcdata_wa.
bdcdata_wa-fnam = 'RKAUF-BATCH'.
bdcdata_wa-fval = 'X'.
APPEND bdcdata_wa TO bdcdata_tab.
CLEAR bdcdata_wa.
bdcdata_wa-fnam = 'RKAUF-TEST'.
bdcdata_wa-fval = space.
APPEND bdcdata_wa TO bdcdata_tab.
CLEAR bdcdata_wa.
bdcdata_wa-fnam = 'BDC_OKCODE'.
bdcdata_wa-fval = '=RUN'.
APPEND bdcdata_wa TO bdcdata_tab.
CLEAR bdcdata_wa.
bdcdata_wa-program = 'SAPLKABA'.
bdcdata_wa-dynpro = '0210'.
bdcdata_wa-dynbegin = 'X'.
APPEND bdcdata_wa TO bdcdata_tab.
CLEAR bdcdata_wa.
bdcdata_wa-fnam = 'KABA01-JNAME'.
bdcdata_wa-fval = 'CJB1_EXEC'.
APPEND bdcdata_wa TO bdcdata_tab.
CLEAR bdcdata_wa.
bdcdata_wa-fnam = 'BDC_SUBSCR'.
bdcdata_wa-fval = 'SAPLKABA'.
APPEND bdcdata_wa TO bdcdata_tab.
Extract the date format from the user settings
PERFORM f_get_dateformat CHANGING g_datfm.
Changing the current date format to User Profile Date Settings
PERFORM f_format_date USING g_datfm
sy-datum+4(2)
sy-datum+6(2)
sy-datum+0(4)
CHANGING g_sydatum.
CLEAR bdcdata_wa.
bdcdata_wa-fnam = 'KABA01-STDAY'.
bdcdata_wa-fval = g_sydatum.
APPEND bdcdata_wa TO bdcdata_tab.
lv_time = sy-uzeit + 30.
CLEAR bdcdata_wa.
bdcdata_wa-fnam = 'KABA01-STTME'.
bdcdata_wa-fval = lv_time.
APPEND bdcdata_wa TO bdcdata_tab.
CLEAR bdcdata_wa.
bdcdata_wa-fnam = 'KABA01-PRIKZ'.
bdcdata_wa-fval = space.
APPEND bdcdata_wa TO bdcdata_tab.
CLEAR bdcdata_wa.
bdcdata_wa-fnam = 'BDC_OKCODE'.
bdcdata_wa-fval = '=TAKE'.
APPEND bdcdata_wa TO bdcdata_tab.
Calling Transaction 'CJB1' for creating settlement rule
CALL TRANSACTION 'CJB1' USING bdcdata_tab MODE lv_mode .
IF sy-subrc = 0.
ENDIF.
*& Form F_GET_DATEFORMAT
This subroutine returns the date format in the user setttigs
<--P_G_DATFM Date Format
FORM f_get_dateformat CHANGING p_g_datfm. "#EC *
SELECT SINGLE datfm FROM usr01 INTO p_g_datfm
WHERE bname = sy-uname.
ENDFORM. " F_GET_DATEFORMAT
*& Form F_FORMAT_DATE
This subroutine returns the date as per the user settings
-->P_G_DATFM Date Format
-->P_G_MM Month
-->P_G_DD Day
-->P_G_YYYY Year
<--P_G_DATE Date
FORM f_format_date USING p_g_datfm
p_g_mm
p_g_dd
p_g_yyyy
CHANGING p_g_date. "#EC *
CONSTANTS: c_dot VALUE '.',
c_slash VALUE '/',
c_dash VALUE '-',
c_1 VALUE '1',
c_2 VALUE '2',
c_3 VALUE '3',
c_4 VALUE '4',
c_5 VALUE '5',
c_6 VALUE '6'.
DATA: l_day(2),
l_month(2).
l_day = p_g_dd.
l_month = p_g_mm.
CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
EXPORTING
input = l_month
IMPORTING
output = l_month.
CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
EXPORTING
input = l_day
IMPORTING
output = l_day.
CASE p_g_datfm.
WHEN c_1.
CONCATENATE l_day l_month p_g_yyyy INTO p_g_date
SEPARATED BY c_dot.
WHEN c_2.
CONCATENATE l_month l_day p_g_yyyy INTO p_g_date
SEPARATED BY c_slash.
WHEN c_3.
CONCATENATE l_month l_day p_g_yyyy INTO p_g_date
SEPARATED BY c_dash.
WHEN c_4.
CONCATENATE p_g_yyyy l_month l_day INTO p_g_date
SEPARATED BY c_dot.
WHEN c_5.
CONCATENATE p_g_yyyy l_month l_day INTO p_g_date
SEPARATED BY c_slash.
WHEN c_6.
CONCATENATE p_g_yyyy l_month l_day INTO p_g_date
SEPARATED BY c_dash.
ENDCASE.
ENDFORM. " F_FORMAT_DATE
thanks
bobby -
Hello,
I am getting this Error message"error determining posting period(infostructure S008,Variant Z2,RC3)" while creating Sales order from Inbound Idocs in the IDOC,which is affecting sales order creation.
While viewing this Info structure S008, I could see no records have been maintained. Wanted to know the reasons behind this Hard error?
Is it something related to Date Field used in the Update Rules for this Infostructure which is causing this posting period error?
Appreciate your inputs on this.
Thanks and Regards
Mohammed RoshanThank you Jelena,I checked the Ship. Delivery dates in the IDOC which are for Current Fiscal Year- 20140703 and 20140711,Could there be any other reason for this error?
Could it be an issue with e Update rule in this Infostructire S008
Secondly when we try change the update rule thru MC25 for this Infostructure S008,It gives a message"
"Maintenance of SAP standard updates not allowed"
Kindly advice
Thanks and Regards
Mohammed Roshan -
How to manual maintain TAX condition value while creating sales order
Hi
I am creating one Tax condition suppose JLST without access sequence .
while creating sales order I am manually maintain the % value of TAX. suppose it is 1%
then I see It show some value in TAX .
save that sales order & creating delivery document for that but when I create Invoice its show error.
" Tax code in procedure CMTAXP is invalid ".
I know the configuration only for Tax condition with vk11 condition record .
BUT now I want to maintain TAX condition at the time of creating sales order.
so I remove the access sequence of that condition .
but It shows tax code error while billing.
My main question is that If i maintain condition record while creating sales order then how i can assign Tax code .
Can it is possible ?
if yes then How?
please help me.
thank youHi,
The "straight-forward" answer for Tax Code creation is contact the FI consultant. He shall help you, by creating Tax codes.
I have tested, with creating a tax cond type (copy of MWST) & manually entering values. I can create Sorder, Dlv and Bill but I cannot create an Accounting document. That is because of every line (amount) a Tax code is necessary.
I THINK, you can NOT have manually filled tax codes; access sequence is needed to get the tax value (%) and the Tax code from the condition record.
There is lot of material on the web to understand Tax classification, code etc. etc. See a useful link below -
http://www.sapgeek.net/2010/04/sd-determines-tax-code/
In short Tax code is a must and take the help of your FI consultant for the configuration of the same.
BTW - Tax code is already made created for MWST, therefore I suggested that you can use MWST. Furthermore, you can change the values corresponding to Tax codes in FTXP.
But if you are a beginner in these things, better take help. -
Statistics Currency Error while posting Sales Order (No: V1453)
Hi Sappers,
I am in process of making a company in SAP ERP SD - IDES, and while posting Sales Order, after I input Sold to Party, PO no, Del Plant and Incoterms and I press ENTER: The error comes up as:
Statistics: The currency from in INR for date 25.11.2011 could not be determined.
Kindly suggest a possible solution.
Thanks
Rahul TikkuHi,
Just go to "OBD2", select the Accounts group of your customer and "Double Click" on it, then "Double cliick" on "Sales Data" > Further goto, "Sales" and check if "Currency" field is suppressed. if so then change it to required or optional Entry. save and update you customer master in XD02. Then try your process.
Reagrds
DSR -
Error while raising sales order
Hi all,
I have created a make-to-order material with item category group and general item cetegory group 0001.
While raising sales order for that material (make-to-order) item category TAK.
I got a error stating that plant is not assigned to controlling area.
can anyone help me out in this regards.hi pavan,
pl check this on settlement rule :
The settlement rule consists of the sender and the settlement distribution rule which includes the settlement receiving accounts, distribution factor, settlement type, and validity period. You can change the settlement rule manually.
There are two possibilities for settling sales orders. You can either:
Settle to a business segment
In this case, the settlement rule is determined automatically. You can only use this method of settlement if CO-PA is activated.
Settle to a general ledger account
In this case, you enter the settlement rule and the general ledger account number manually in the sales order.
To change the settlement rule, choose Edit ® Settlement rule.
For more detailed information about settlements and especially about processing settlement rules, see the CO Cost Object Controlling documentation.
Please consult your FI guy so that he can help you configure a settlement profile.
regards
sadhu kishore -
Error throwing while creating sales order
Dear all,
While on sales order creation,We have entered order type,sales organization,distribution channel,divison,
on entering sold to party,presssing enter,error is throwing as
No customer master record exists for sold-to party
actually customer master record is already created,
We need to extend the sales area then only system is allowing to create sales order,
Is there is any setting missing in configuration ?
Thanks
Jeyakanthanhi,
can be done in two ways
1, only for the paticular customer
goto XD01 and extend the customer by entering new sales area above
and the already exisisting sales area in the reference
2,common distribution channel and common division(this is for all the customer created in that particular sales area)
IMG>sales and distribution>master data
regards
senya -
Condition tab in display mode while creating sales order.
Hi Guys,
When I go to create a sales order the condition tab shows all the condition types in grey, irrrespective of its being manual or mandatory. I know it has nothing to do with V/06 or standard pricing transactions. So I changes the item categry.Again used the same order type, same customer , same material and same sales area. Once I change the item category to Zxxx, Condition tab becomes changeable. So I concluded that item category is the culprit. But the question is Which part of item category is influencing it ?
Please help.
Regards,Hi Phani,
While creating sales order (VAO1), I go to item level and click on condition tab. I see all the things in this tab grayed. Nothing is changeable. I changed the item category, while the pricing procedure was same as the old one. Condition tab became changeable. So it has something to do with item category. But what is that one thing missing in my item category which is making condition tab grayed out..?
Regards, -
Change the Sold to Party(SP) in sales order in change mode
Hi,
Is it possible to change the Sold to Party(SP) in sales order in change mode?
If yes then How??
Regards
SomnathHi somnath,
It is very much possible to change the sold-to-party in the change mode of Sales order(VA02).
Goto VA02-->enter the sale order number.
Press enter.
In the overview screen if you change the sold-to-party then every thing will be redetermined(Taxes and pricing procedure etc...).These will be determined from CMr etc.
You cannot change the sold-to-party at the partners tab that is present in the Header details.
It will be greyed out.
If you change the sold-to-party at the overview screen as suggested earlier it will not apply to the item.
You are also going to see this message while changing.
And finally save the document.
Regards,
Krishna. -
ADRC updation in Creation of Sales order ( VA01)
Hi All,
I would like to update the Transportation zone(TRANSPZONE) of table ADRC
while creating Sales order.
I need to change this programatically. (Validation & change as per requirment)
Please let me know the user-exit and internal table i should used for the same.
I dont want to change any STD sap programs.
Thanks in advance.Hi,
I'm not sure if you need to update ADRC table - the address number is usually the the customer's address and is picked automatically.
Also the transport zone is picked automatically based on the customers address or on the shipping conditions in the Sales Order.
Transportation Zone (LZONE) also exists in the partner function (VBPA) and the shipping partner (VTPA) - in case you need to suggest a different route for shipping other than the one determined automatically.
To change this - change both the internal tables table xvbpa and xvtpa (after reading with sales order and item from structures vbak and xvbap) in USER_SAVE_DOCUMENT_PREPARE in the include MV45AFZZ.
But, I'm not sure if the Address Number (determining the shipping point) would be independent of the Transp Zone, though it's changed in the exit.
Regards,
Anil. -
Runtime error while creating sales order in VA01
Dear all,
In our develpment server(ecc 6.0),while creating sales order in VA01 for a sales area, when ever entering material number and quantity and press enter, it is giving error and taking to Runtime error long text showing syntax error in program RK2LSFOC
application patch level for both production and development is same.
can any one suggest the solution pleasePlease note the error details
Runtime Errors SYNTAX_ERROR
Date and Time 07.01.2010 17:43:06
Short text
Syntax error in program "RK2LSFOC ".
What happened?
Error in the ABAP Application Program
The current ABAP program "SAPLKEAK" had to be terminated because it has
come across a statement that unfortunately cannot be executed.
The following syntax error occurred in program "RK2LSFOC " in include "RK2LSFOC
" in
line 128:
"No component exists with the name "KWBRUM". ."
The include has been created and last changed by:
Created by: "SAP "
Last changed by: "SAP* "
Error in the ABAP Application Program
The current ABAP program "SAPLKEAK" had to be terminated because it has
come across a statement that unfortunately cannot be executed.
What can you do?
Please eliminate the error by performing a syntax check
(or an extended program check) on the program "RK2LSFOC ".
You can also perform the syntax check from the ABAP Editor.
If the problem persists, proceed as follows:
Note down which actions and inputs caused the error.
To process the problem further, contact you SAP system
administrator.
Using Transaction ST22 for ABAP Dump Analysis, you can look
at and manage termination messages, and you can also
keep them for a long time.
Error analysis
The following syntax error was found in the program RK2LSFOC :
"No component exists with the name "KWBRUM". ."
| " " -
While creating sales order wrt quotation customer code field is in display
Hi all,
I am facing one problem, while creating sales order with reference to quotation customer code field is in display mode.
I am not able to change the customer code. But i want to change it accordingly.
Previously it was in changeable mode only but now it is not in changeable mode.
Can anyone please tell me the solution for this issue?
Thanks in advance
Babuhi
is that happening only when you create sales order wrt quotation,try creating normal sales order and see whether customer is in changable mode
regards
senya
Maybe you are looking for
-
Problem with DMGs and error: "No Mountable File Systems"
Problem with DMGs and error: "No Mountable File Systems" The files are not corrupt. The problem is occurring with all DMGs that are apparently formatted in MS-DOS FAT16. No the file will not mount with Disk utility or any other disk mounter programs
-
How to get past country code limit
Hello Users, I want to watch "US" format DVDs on my "European" format MacBook. Message appears: "You may only change the country code seven times!" Is there a way to get past this limit, to be able to use "US" format DVDs unlimited and switch back to
-
Okay... Earlier in February, My sister accidentally spilled sweet tea (That's right, Sweet Tea) on My BIBB Laptop... After letting it dry for a few days, I found out that the Main Keyboard needed to be replaced, so I bought a replacement Keyboard i
-
Keep Buffer Cache Not Large Enough
What happens if I pin a table/index in the keep buffer cache but the keep buffer cache is not large enough? How does oracle determine what to initially put into the keep buffer cache and what to leave out?
-
ISE has no updates for SEP 12.1.x
Hi all, i am trying to test posture with clients that have Symantec Endpoint Protection 12.1.x installed and it appears when I try and include that version of Symantec in the Posture Condition, that particular version is not fully up to date. Yet the