Pricing condtion value of sales order is not reflects in Delivery doc !!
Hi SAPients,
I have an issue like my client is maintained condition record for a certain material valid from eg: 01.06.08 to 03.06.08.
Now he has done a sales order on 03.06.08 and required delivery date is 04.06.08 but pricing date is 03.06.08. In conditions tab pricing is picking from condition record maintained for PR00.
While doing delivery on 04.06.08, the system throws a an error like pricing error mandatory PR00 is missing and in analysis we found like condition record is missing or field overflow and displays message no:V1801.
And Delivery document is saved after PGI.
In Invoice the system is picking the price as on 03.06.08 as per the client requirement.
Note: In Copycontrols VTFL we have used pricing type 'C" and Pricing Source as "E"
Kindly suggest genuine reason to get PR00 from sales order to delivery with effect to previous pricing condition record.
Thanks & Regards,
kodalisreedhar
9866033269
Dear Jyoti
If you want the pricing procedure to be flown into your delivery, then you have to assign in IMG where you have indicated. Other than this, there is no other place to define.
Of course, in billing, based on sale order, it will flow.
thanks
G. Lakshmipathi
Similar Messages
-
Sales order qty not confirmed when delivery done with partial qty
Hi Guru's
Need your help............
We have issue in drop shipment scenario process. Sales order created with 10 line items from CRM and order released from CRM and replicated order to ECC and backend created PR also. After that user set reject status for all items so that PR line items also deleted, again user released rejection status for all items and line items updated in the same PR with different line item number for materials then PO & GR also done in ECC and stock also allocated for sales order line items but still sales order qty not confirmed in CRM sales order.
I checked all configurations regarding availability check but could not found.
Example:
Sales order line item qty: 4 - 2 qty confirmed (delivered).
For remaining qty (2 items)I have done GR. After GR It is allocated to sales order but it is not confirming the order quantity.
plz help me to fix this issue?
regards
saiHi,
Please check In ERP transaction OVZJ, for the sales org, distribution channel, and division that is being used in the affected sales orders, set the Avail. Check Rule to 'E'. Then retest the issue, as this might help.
Regards
Gavin -
Net Value in Sales order is not picking up for manual conditions.
Dear Gurus,
I created a new pricing procedure for a sales document, where 2 manual conditions will given in sales order.
But after giving manual conditions, the system is only taking one condition value as net value.
I given Base value description and the step numbers of two manual conditions for Addition.
Please help me I want total of two manual conditions into Net value.Hi Mahendar ,
Could you please share the solution if your issue has been resolved . Even we are facing the same issue . It would be of a great help
thanks and regards
Kish -
Pricing Condition Values in Sales order
Hi Guru's
Where the Header level Pricing condition Values stored in Sales Document?
Thanks and Regards
Srinivas KapugantiHi srinivas
Generally the values are stored at the following tables :
KOMK - header data is stored
KOMP - Item data is stored
You can check these tables through SE11 or SE16
Regards
Srinath -
Changes to sales order item not reflected if Call Transaction is used
I m updating another Sales Order item quantity and reason for rejection programmatically from another sales order.
The code is working fine and the quantity does get changed as well as the reason for rejection flag get set (if required). But if I go to the change log from the menu in VA02 for the order item which has been changed. It does not record the changes.
I have tried using both BDC call transaction method as well as BAPI_SALESORDER_CHANGE in neither case the change log for the order which has been changed reflects the programmatically made changes?
What m I doing wrong. Here is the code.
IF v_update_order_flg = 'X'.
REFRESH t_bdcdata.
CLEAR s_bdcdata.
REFRESH t_messtab.
PERFORM bdc_dynpro USING 'SAPMV45A' '0102'.
PERFORM bdc_field USING 'VBAK-VBELN' <wa_r_rtb_posnrs>-zrtbvbeln.
PERFORM bdc_field USING 'BDC_OKCODE' '/00'.
PERFORM bdc_dynpro USING 'SAPMV45A' '4001'.
For Going to specific Item Number
LOOP AT t_schedule_lines.
PERFORM bdc_field USING 'BDC_OKCODE' '=POPO'.
READ TABLE t_item_in WITH KEY itm_number = t_schedule_lines-itm_number.
PERFORM bdc_dynpro USING 'SAPMV45A' '0251'.
PERFORM bdc_field USING 'RV45A-POSNR' t_schedule_lines-itm_number.
PERFORM bdc_field USING 'BDC_OKCODE' '=POSI'.
PERFORM bdc_dynpro USING 'SAPMV45A' '4001'.
v_ro_qty = t_schedule_lines-req_qty.
CONDENSE v_ro_qty.
PERFORM bdc_field USING 'RV45A-KWMENG(01)' v_ro_qty.
PERFORM bdc_field USING 'VBAP-ABGRU(01)' t_item_in-reason_rej.
ENDLOOP.
PERFORM bdc_field USING 'BDC_OKCODE' '=SICH'.
v_call_transaction_flg = 'X'.
EXPORT v_call_transaction_flg TO MEMORY ID 'call_transaction'.
CALL TRANSACTION 'VA02'
USING t_bdcdata
UPDATE 'S'
MODE 'N'
MESSAGES INTO t_messtab.
v_call_transaction_flg = space.
FREE MEMORY ID 'call_transaction'.Hi Srikrisna,
This is a typical problem with BDC for updating QUANTITY and CURRENCY fields.
You need to create a character variable of the same length as your quantity field. Move your quantity value to the newly created Character variable.
Now use this new char variable in the BDC.
This correction should solve your problem.
NOTE: BDC RECOGNIZES CHARACTER FIELDS ONLY.
Regards,
Prakash Pandey -
ATP check on Sales order items not due for delivery?
All,
In our Sales order, we have a number of dummy material lines. Now, when I use the normal sales order ATP check button, SAP does nothing. However, we have a custom program that does an ATP check, and it returns a zero qty.
My question is, how do we know if a material is due for delivery, before an ATP check is done? The only suggestion I have is to look at the schedule line, and see if there is a material movement behind it.
Any other ideas?Mark
This is a classic SD Professional's dilemma, though it manifests differently at different clients. Mostly customers crib about future requirements stopping current sales orders from being delivered or Scheduling agreements with future delivery dates 'stealing' stock from Sales orders. Another manifestation is production orders usurping components from sales orders for spares and so on. ATP functionality in SAP is pulled in various directions by conflicting demands and it is difficult to satisfy everyone. Companies with chronic probelms often end up with negative ATP which is perhaps the most serious stage of the prognosis.
Your solution lies in:
1) Availability check control settings : Sales documents vs. deliveries : For the delivery, don't include 'Sales Requirements' and for the sales orders, do include 'Delivery Requirements and so on.
2) Performing nightly rescheduling (V_V2) with Delivery priority and delivery date as key sort criteria. If the volumes are not high, you can try using manual confirmation via CO06.
Take a look at this OSS note and the ones mentioned within:
36520 - Availability check for delivery -
Service order component not reflecting in sales order
Dear All,
I have mapped service notification type & service order type now if i create sales order directly from the service notification sales order is not reflecting the componets assigned in service order for that service notification. can anybody help me out?Sanjay,
This is not standard, although it is possible through development (e.g. via action-box).
However, there is the advance shipment functionality in the service order which does allow you to create a sales order from the service order components...
PeteA -
Pricing amount and condition value in sales order
Hi all,
I have noticed for a sales order we are not able to see condition type amount, condition value in sales order even though it shows net price finaly ofr a sales order. Not even able to select the condition lines.
To be specific not able to find value in field KBETR - amount column and KWERT - condition value column
When we go to sales order line item and select condition tab, do see value displayed in Amount and Condition column. Is there are specific reason it is doing visa vis in our production we see both values.
Advise what could be the reason value not getting displayed in Amount and Condition value column.
thanksIt is due to auth for specific columns we have solved the problem.
-
The pricing procedure in Sales order is not getting copied into invoice
The pricing procedure in Sales order is not getting copied into invoice.
I have created a document type (pricing procedure),based on the document type ,pricing procedure determination is done.
So while creating sales order the pricing procedure is determined but when invoice is created the pricing doesnt refelect in the invoice.How to over come this problemHi
Please check the in OVKK, weather you have maintained correctly or not.Also check in the Billing document type details what is the Document pricing procedure that has been maintained.
Regards
Srinath -
Sales Order should not generated if total value of contract is released
Dear All,
We are creating sales order wrt to Value Contract, but it shows the warning message if value exceed above the contract value.
We required if contract value exceed then sales order should not be generated.
Thanks & Regards,
PMHi
Check in VOV7 for item category WKN under tab value contract Contract release control select B Error msg if trt value exceeded...
Reg
JJ -
Sales order should not copy the net value from contract
Hi,
When we are creating the sales order,Where we can maintain that sales order should not copy the net value from contract.
Regards
PrabudhHi,
When I am creating the sales order with reference to contract,it's copying the net value and quantity from the contract.
But I want that sales order should not copy the net value and quantity from the contract and user can take new required quantity at the time creating the sales order.
Regards
Prabudh -
Net Value in Sales order item and header URGENT
Hi experts
In some sales orders the net value is not shown but it is available in PR00 condition.
Where should i check pricing proceedure or copy control,
In the same sales order type i.e ZRP other sales orders are having net value,
this sales order is created with reference to sales order type RE.
Pls guide where to check and what correction needs to be done.
Thank u in advance.
regards
SMHi,
Pricing procedure in tcode V/08, check the field 'SubTo'.
Copy control in tcodes VTFA (between SO and invoices).Check the field 'pricing type' for conditions.
I hope this help you,
Regards,
Eduardo -
How to activate campaign specific pricing in r/3 sales order
Hi experts,
How to activate campaign specific pricing in r/3 sales order .In the pricing procedure for particular condition type how value gets triggered even if u r not maintaining any condition records in VK11.
We are only maintaining campaign in CRM specific to product so can someone let us know how it gets triggered ion the above mentioned scenario.
It would be very usefull if someone can send the step by step procedure or a document relevant to this.
Usefull answers will be awarded subsequently!!!!!!!
Thanks in advance ,
Abhinav MahulHi Abhinav,
You can determine your pricing in CRM for a Order/Quotation and can let it flow as it is without the pricing conditions to be uploaded to R/3.
please perform follwing Middleware settings for the same.
<b>Excute transaction: SM30
Table/View name: SMOFPARSFA
Click on 'Maintain.'
Create a new entry
Key: R3A_SALES
Parameter: PRICINGTYPE
ParamVal: G</b>
Determine campaign pricing in CRM and send the order into R/3.
Observe the pricing in R/3.
Best Regards,
Pratik Patel
<b>Reward with Points!</b> -
How to delete header condtion line of sales order by BAPI
Hi,
I want to delete the condtion line of sales order header using BAPI "BAPI_SALESORDER_CHANGE",
it is work well in item level condition type, but it is not work for header condition type. show error message "missing item number" since of pass item number "000000" for header condition line.
Below is reference source code, thanks in advance.
*& Report ZTEST_BAPI_SO_DELETECONDLINE
*& Sample program to call BAPI_SALESODRER_CHANGE to
*& delete condition line of so line item
REPORT ZTEST_BAPI_SO_DELETECONDLINE.
***--- Structures for create BAPI
DATA: SALESDOCUMENT LIKE BAPIVBELN-VBELN.
DATA: ORDER_HEADER_INX LIKE BAPISDH1X,
BEHAVE_WHEN_ERROR LIKE BAPIFLAG-BAPIFLAG,
SIMULATION LIKE BAPIFLAG-BAPIFLAG.
DATA: BEGIN OF ORDER_ITEM_IN OCCURS 2.
INCLUDE STRUCTURE BAPISDITM.
DATA: END OF ORDER_ITEM_IN.
DATA: BEGIN OF ORDER_ITEM_INX OCCURS 2.
INCLUDE STRUCTURE BAPISDITMX.
DATA: END OF ORDER_ITEM_INX.
DATA: BEGIN OF SCHEDULE_LINES OCCURS 2.
INCLUDE STRUCTURE BAPISCHDL.
DATA: END OF SCHEDULE_LINES.
DATA: BEGIN OF SCHEDULE_LINESX OCCURS 2.
INCLUDE STRUCTURE BAPISCHDLX.
DATA: END OF SCHEDULE_LINESX.
DATA: BEGIN OF ORDER_CFGS_REF OCCURS 2.
INCLUDE STRUCTURE BAPICUCFG.
DATA: END OF ORDER_CFGS_REF.
DATA: BEGIN OF ORDER_CFGS_INST OCCURS 2.
INCLUDE STRUCTURE BAPICUINS.
DATA: END OF ORDER_CFGS_INST.
DATA: BEGIN OF ORDER_CFGS_VALUE OCCURS 2.
INCLUDE STRUCTURE BAPICUVAL.
DATA: END OF ORDER_CFGS_VALUE.
DATA: BEGIN OF CONDITIONS_IN OCCURS 2.
INCLUDE STRUCTURE BAPICOND.
DATA: END OF CONDITIONS_IN.
DATA: BEGIN OF CONDITIONS_INX OCCURS 2.
INCLUDE STRUCTURE BAPICONDX.
DATA: END OF CONDITIONS_INX.
DATA: BEGIN OF EXTENSIONIN OCCURS 2.
INCLUDE STRUCTURE BAPIPAREX.
DATA: END OF EXTENSIONIN.
DATA: BEGIN OF RETURN OCCURS 2.
INCLUDE STRUCTURE BAPIRET2.
DATA: END OF RETURN.
DATA: TMP_POSNR LIKE VBAP-POSNR,
L_KNUMV LIKE VBAK-KNUMV,
L_KSCHL LIKE KONV-KSCHL,
L_STUNR LIKE KONV-STUNR,
L_ZAEHK LIKE KONV-ZAEHK.
***--- Selection
PARAMETERS: P_VBELN LIKE VBAK-VBELN OBLIGATORY MEMORY ID AUN DEFAULT '7000510', "'0001007443', " SO
P_POSNR LIKE VBAP-POSNR OBLIGATORY DEFAULT '000000' , " so item
P_CONDN LIKE KONV-KSCHL DEFAULT 'ZOSP', " condition type
P_CONDI LIKE KONV-ZAEHK DEFAULT '01', " Condition item number
P_TEST AS CHECKBOX DEFAULT 'X'. " test mode
CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
EXPORTING
INPUT = P_VBELN
IMPORTING
OUTPUT = P_VBELN.
CLEAR: L_KNUMV.
SELECT SINGLE KNUMV INTO L_KNUMV
FROM VBAK
WHERE VBELN = P_VBELN.
IF SY-SUBRC = 0.
CLEAR: L_KSCHL,L_ZAEHK,L_STUNR.
SELECT SINGLE KSCHL ZAEHK STUNR INTO (L_KSCHL, L_ZAEHK, L_STUNR)
FROM KONV
WHERE KNUMV = L_KNUMV
AND KPOSN = P_POSNR
AND ZAEHK = P_CONDI
AND KSCHL = P_CONDN.
IF SY-SUBRC <> 0.
WRITE:/ 'Condition type or condition item is not exist.'.
EXIT.
ENDIF.
ELSE.
WRITE:/ 'Sales order number is not exist'.
EXIT.
ENDIF.
IF L_ZAEHK IS INITIAL.
WRITE:/ 'Condition type or condition item is not exist.'.
EXIT.
ENDIF.
SALESDOCUMENT = P_VBELN. " Sales order number
ORDER_HEADER_INX-UPDATEFLAG = 'U'. "U = change sales order
***Item Data
ORDER_ITEM_IN-ITM_NUMBER = P_POSNR.
APPEND ORDER_ITEM_IN.
ORDER_ITEM_INX-UPDATEFLAG = 'U'. "I = add, U= update, D=delete
ORDER_ITEM_INX-ITM_NUMBER = P_POSNR.
APPEND ORDER_ITEM_INX.
***--- Begin delete a condition line
***--- Make sure to use update flag 'D'. Here I = add, U= update, D=delete
CLEAR: CONDITIONS_IN,CONDITIONS_INX.
REFRESH: CONDITIONS_IN,CONDITIONS_INX.
CONDITIONS_IN-ITM_NUMBER = P_POSNR.
CONDITIONS_IN-COND_ST_NO = L_STUNR.
CONDITIONS_IN-COND_COUNT = L_ZAEHK.
CONDITIONS_IN-COND_TYPE = L_KSCHL.
APPEND CONDITIONS_IN.
CONDITIONS_INX-UPDATEFLAG = 'D'.
CONDITIONS_INX-ITM_NUMBER = P_POSNR.
CONDITIONS_INX-COND_ST_NO = L_STUNR.
CONDITIONS_INX-COND_COUNT = L_ZAEHK.
CONDITIONS_INX-COND_TYPE = L_KSCHL.
APPEND CONDITIONS_INX.
***--- End delete a condition line
BEHAVE_WHEN_ERROR = 'P'.
SIMULATION = P_TEST. " Test mode or not
"=== call BAPI
CALL FUNCTION 'BAPI_SALESORDER_CHANGE'
EXPORTING
SALESDOCUMENT = SALESDOCUMENT
ORDER_HEADER_INX = ORDER_HEADER_INX
LOGIC_SWITCH = ' U'
TABLES
RETURN = RETURN
ORDER_ITEM_IN = ORDER_ITEM_IN
ORDER_ITEM_INX = ORDER_ITEM_INX
CONDITIONS_IN = CONDITIONS_IN
CONDITIONS_INX = CONDITIONS_INX .
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.
WRITE: / 'Return code =', SY-SUBRC.
SKIP 1.
LOOP AT RETURN.
WRITE: / RETURN-MESSAGE.
ENDLOOP.
Edited by: hank jiang on May 21, 2010 5:07 AM
Edited by: hank jiang on May 21, 2010 5:25 AM
Edited by: hank jiang on May 21, 2010 5:27 AMSALESDOCUMENT = P_VBELN. "Sales order number
ORDER_HEADER_INX-UPDATEFLAG = 'U'. "U = change sales order
ORDER_ITEM_IN-ITM_NUMBER = P_POSNR.
APPEND ORDER_ITEM_IN.
ORDER_ITEM_INX-UPDATEFLAG = 'U'. "I = add, U= update, D=delete
ORDER_ITEM_INX-ITM_NUMBER = P_POSNR.
APPEND ORDER_ITEM_INX.
"Begin delete a condition line
"Make sure to use update flag 'D'. Here I = add, U= update, D=delete
CLEAR: CONDITIONS_IN,CONDITIONS_INX.
REFRESH: CONDITIONS_IN,CONDITIONS_INX.
CONDITIONS_IN-ITM_NUMBER = P_POSNR.
CONDITIONS_IN-COND_ST_NO = L_STUNR.
CONDITIONS_IN-COND_COUNT = L_ZAEHK.
CONDITIONS_IN-COND_TYPE = L_KSCHL.
APPEND CONDITIONS_IN.
CONDITIONS_INX-UPDATEFLAG = 'D'.
CONDITIONS_INX-ITM_NUMBER = P_POSNR.
CONDITIONS_INX-COND_ST_NO = L_STUNR.
CONDITIONS_INX-COND_COUNT = L_ZAEHK.
CONDITIONS_INX-COND_TYPE = L_KSCHL.
APPEND CONDITIONS_INX.
"End delete a condition line
BEHAVE_WHEN_ERROR = 'P'.
SIMULATION = P_TEST. " Test mode or not
"=== call BAPI
CALL FUNCTION 'BAPI_SALESORDER_CHANGE'
EXPORTING
SALESDOCUMENT = SALESDOCUMENT
ORDER_HEADER_INX = ORDER_HEADER_INX
LOGIC_SWITCH = ' U'
TABLES
RETURN = RETURN
ORDER_ITEM_IN = ORDER_ITEM_IN
ORDER_ITEM_INX = ORDER_ITEM_INX
CONDITIONS_IN = CONDITIONS_IN
CONDITIONS_INX = CONDITIONS_INX .
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.
WRITE: / 'Return code =', SY-SUBRC.
SKIP 1.
LOOP AT RETURN.
WRITE: / RETURN-MESSAGE.
ENDLOOP. -
GATP run ffecting manual Pricing from Quotation to Sales Order
Hi SAP Gurus
We have a bit of problem, when we place a Quotation for a material and APO gATP is run it creates a sub-item for the material and thatu2019s where we add our manual prices(e.g Freight Charges).What than happens is the Quotation is later converted to a Sales Order and gATP is run again( I would think to still see if stock is still available) but all those manual Conditions are lost and our Users have to re-create those manual conditions. I checked in Copy Control(VTAA) to make Pricing type C(Copy manual Elements). Does anyone have an Idea what else can I do to make sure Manual Price is copied even though gATP is run again.
Thanks
PhenyoHi Friend,
To copy the pricing from Quotation to Sales order without change you have to maintain copy control settings from QT to OR
Goto the Transaction code VTAA then click on position and choose the Source document as QT and the Target document as OR
Then click on the item in the control tab and choose ur item category and click on Display
Now in the Pricing field change the value To D
Hope it is clear and work.
regards,
santosh
Maybe you are looking for
-
Hi all, If I do an export from schema 123 from a DB and import it to an other DB which contains the schema 123, will it be imported in the schema 123 by its self?
-
How to set file filter in FileUpload?
Is there any way to set the file filter on FileUpload? Let's say, I only want the user to see all .xml files. Currently, the default is all files of any extension are displayed. Thanks. c",?
-
Safari toolbar and menus grayed-out
The Safari toolbar and pul down menu selections stop working from time to time and I have to log out and log back in to get them working again. How can I fix this without having to log out and log back in?
-
Hi, I was wondering if it is possible to install Flash Player to a custom location, other than the default? The reason I ask is I use a program called Deepfreeze on my student machines which resets all computer settings on a restart, and I would like
-
Windows NT Authentication type Disabled
Hi, Windows NT Authentication type Disabled after Insatall SAP Integration kit Best Regards, Reddeppa K