Automatic PO adjustment for pricing condition changes sap
Hello SAP users,
How to prevent automatic PO adjustment for pricing condition changes to purchase order items that are marked for deletion. Please respond.
Thanks
Hi,
Check the settings in below configuration:
SPRO>MM>Purchasings>Conditions>Automatic document adjustment-->Control doc. adjustment.
SAM
Similar Messages
-
Function module to change the value for pricing condition type
Hello experts,
I want to change the value for pricing condition type for an item in the transaction CRMD_ORDER.
I used many function modules but none are working.
Please kindly suggest a function module that will change the value for a condition type .
I have used the following function module but its not working, please correct the coding if anything needs to be changed or added. Please help me .
Thank you.
CLEAR PRCD_COND.
SELECT SINGLE * FROM PRCD_COND WHERE KPOSN = WA_ORDERADM_I-GUID AND
KSCHL = COND_TY.
IF SY-SUBRC = 0.
* MOVE-CORRESPONDING PRCD_COND TO L_COND_CHG.
* CLEAR L_COND_CHG-KBETR.
L_COND_CHG-STUNR = PRCD_COND-STUNR.
L_COND_CHG-KBETR = COND_PRC.
* L_COND_CHG-KSCHL = COND_TY.
INSERT L_COND_CHG INTO TABLE T_COND_CHG.
L_HEAD_GUID = CRMD_ORDERADM_H-GUID.
L_ITEM_GUID = WA_ORDERADM_I-GUID.
INSERT L_HEAD_GUID INTO TABLE HEAD_GUID.
INSERT L_ITEM_GUID INTO TABLE ITEM_GUID.
CALL FUNCTION 'CRM_ORDER_READ'
EXPORTING
IT_HEADER_GUID = HEAD_GUID
IT_ITEM_GUID = ITEM_GUID
IMPORTING
ET_ORDERADM_H = LT_ORDERADM_H
ET_ORDERADM_I = LT_ORDERADM_I
ET_PRIDOC = IT_PRIDOC_RD
ET_DOC_FLOW = T_DOC_FLOW
* CHANGING
* CV_LOG_HANDLE =
* EXCEPTIONS
* DOCUMENT_NOT_FOUND = 1
* ERROR_OCCURRED = 2
* DOCUMENT_LOCKED = 3
* NO_CHANGE_AUTHORITY = 4
* NO_DISPLAY_AUTHORITY = 5
* NO_CHANGE_ALLOWED = 6
* OTHERS = 7
IF SY-SUBRC <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
MOVE-CORRESPONDING LS_PRIDOC_RD TO L_PRI_COND.
INSERT L_PRI_COND INTO TABLE PRI_COND.
LOOP AT IT_PRIDOC_RD INTO LS_PRIDOC_RD.
MOVE-CORRESPONDING LS_PRIDOC_RD TO L_PRIDOC_CHG.
L_PRIDOC_CHG-PRIC_COND = PRI_COND.
L_PRIDOC_CHG-REF_GUID = LS_PRIDOC_RD-GUID.
L_PRIDOC_CHG-COND_CHANGE = T_COND_CHG.
INSERT L_PRIDOC_CHG INTO TABLE PRIDOC_CHG.
ENDLOOP.
LOOP AT LT_ORDERADM_H INTO LS_ORDERADM_H .
MOVE-CORRESPONDING LS_ORDERADM_H TO L_HEADER.
INSERT L_HEADER INTO TABLE HEADER.
ENDLOOP.
LOOP AT LT_ORDERADM_I INTO LS_ORDERADM_I.
MOVE-CORRESPONDING LS_ORDERADM_I TO L_ITEM.
INSERT L_ITEM INTO TABLE ITEM.
ENDLOOP.
L_FIELD-FIELDNAME = 'STUNR'.
INSERT L_FIELD INTO TABLE FIELD.
L_FIELD-FIELDNAME = 'KBETR'.
L_FIELD-CHANGEABLE = 'X'.
INSERT L_FIELD INTO TABLE FIELD.
L_INPUT-FIELD_NAMES = FIELD.
L_INPUT-REF_KIND = 'E'.
L_INPUT-REF_GUID = LS_PRIDOC_RD-GUID.
L_INPUT-OBJECTNAME = 'PRIDOC'.
INSERT L_INPUT INTO TABLE INPUT.
CALL FUNCTION 'CRM_ORDER_MAINTAIN'
EXPORTING
IT_PRIDOC = PRIDOC_CHG
IMPORTING
ET_EXCEPTION = EXCEPT
CHANGING
CT_INPUT_FIELDS = INPUT.
IF SY-SUBRC <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
REFRESH EXCEPT.
CALL FUNCTION 'CRM_ORDER_SAVE'
EXPORTING
IT_OBJECTS_TO_SAVE = HEAD_GUID
* IV_UPDATE_TASK_LOCAL = FALSE
* IV_SAVE_FRAME_LOG = FALSE
* IV_NO_BDOC_SEND = FALSE
* IT_ACTIVE_SWITCH =
IMPORTING
ET_SAVED_OBJECTS = SAVED
ET_EXCEPTION = EXCEPT
ET_OBJECTS_NOT_SAVED = UNSAVED
* CHANGING
* CV_LOG_HANDLE =
* EXCEPTIONS
* DOCUMENT_NOT_SAVED = 1
* OTHERS = 2
IF SY-SUBRC <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
COMMIT WORK AND WAIT.Hi,,
To be able to call a function module in an update work process, you must flag it in the Function Builder. When you create the function module, set the Process Type attribute to Update with immediate start
Alternatively u can use this function module.
CRM_STATUS_DATA_SAVE_DB
BAPI_CUSTOMERCRM_CHANGE (If u wish to use a bapi for this).
Also , Let me know what error you got when implementing other function module.Does the function module didnt return any error but still the value is not changed for pricing condition type? -
Automatic Document Adjustment for Scheduling Agreements
Hi all,
we are usiing automatic document adjustment for purchase orders and it is working fine. If price in the info record is changed the purchase order is updated accordingly as long as no follow on documents are existing.
I am wondering if scheduling agreements can also be updated as long as no follow on documents are existing. I tried to get them updated but did not succeed.
Maybe somebody has wver tried it and knows if in general it is possible.
Thank you for helping.
Regards
Carolinyes it is possible,
to get the goal you have to set the Scheduling agreement without time-dependent conditions.
how? SAP IMG >Scheduling Agreement>Define Document Types and unflag the time-independent conditions.
enjoy -
How to handle the different pricing conditions changes in BI.
Dear Friends
can any one send me Regarding
How to handle the different pricing conditions changes in BI.
Thanks & Regards
RamanaHi,
Take a look at the 0sd_o06 ODS and 2lis_13_vdkon datasource for sales billing conditions.
http://help.sap.com/saphelp_nw70/helpdata/EN/36/8188408bc0bb4de10000000a1550b0/frameset.htm
http://help.sap.com/saphelp_nw70/helpdata/EN/7f/0f8c4037fba62be10000000a1550b0/frameset.htm
Regards. -
Standard report for pricing condition.
Hello everyone,
Is there any standard report to see the price maintain in particular condition record in VK11 with different key combination. can anybody tell me in which table it is maintain.
Regards,
Naveed Ansari.Hi
The Standard report for Pricing condition is V/LD.
You can get datas like Material prices, Individual prices, discounts & surcharge prices, Material list/Material pricing Group with & without scal display, Price list types with & without scale display.
V/LB SAPMV14A Change Pricing Report
V/LC SAPMV14A Display Pricing Report
V/LD SAPMV14A Execute pricing report
V/LE RV14ALLE Generate pricing reports
Award if useful to you
Thank you
Edited by: narendran vajravelu on Oct 14, 2008 7:23 AM
Edited by: narendran vajravelu on Oct 14, 2008 7:25 AM -
Mandatory Fields for IDOC ORDERS01 for Pricing Condition EDI1 to trigger
Hi ,
I'm Testing an Inbound ORDRSP using we 19 for Pricing Conditions EDI1. What are the Mandatory Fields for IDOC ORDERS01
Thankshello,
I think it's better to execute VA01 to create a sales order; in that way you should have an idea of mandatory fields.
Thanks. -
Receive "The page cannot be displayed" for Pricing Conditions
To all,
I receive the message "The page cannot be displayed" for Pricing Conditions when I select the "Accesses" button. I then received the message "HTML field saved to C:\temp\CRM_IPC.html".
This only seems to happen when using the pricing in the service order confirmation.Hi Bob,
R u using IPC for pricing, if yes just check the connections to the IPC server.
The error is because of the IPC connection not getting established.
<b>Please reward points if it helps.</b>
Regards,
Amit Mishra -
Why is there a limit on the number of times a "DVD player region" can be changed, and can this numbert be adjusted for more region changes, or an indefinite number of region changes?
Region encoding is the mechanism that enables motion picture studios to control the worldwide release of their movies. It is required by the DVD Forum (http://www.dvdforum.org/forum.shtml) in all commercial hardware DVD players. Every DVD-Video disc contains one byte of data representing a region code, which limits where the disc can be played.
http://support.apple.com/kb/HT2397
Once you have set the region in DVD Player five times it cannot be changed.
Instead, use VLC to view videos from different regions:
http://www.videolan.org/vlc/download-macosx.html -
How do we do Automatic freight preperation for outbound delivery in SAP
How do we do Automatic freight preperation for outbound delivery in SAP
'Automatic freight preperation'? New concept that SAP came out with? Or is it Freight Calculation? If it is the latter, activate Shipment and Transportation and you have it in a jiffy. You need to work on VT01N, possibly VI01. Plenty of work in SPRO, too
Regards
Ramana ND -
Changing the Sequence of the Access Sequence for Pricing Condition Type
Hi Friends,
We have an access sequence to determine the pricing. We have 8 key combinations for the same.
Customer/Plant/Material/Batch
Sales Org/ Dist Ch/ Cust Region/Plant/Material/ Batch
Price List Type/Currency/Plant/Material/ batch
Plant/Material/ Batch
1st 4 is with batch. and 2nd 4 is without batch. At the time of implementation ie., before 8 years the 1st 4 key combinations were used. But now based on the business need we are not using the 1st 4 key combination rather we are using the 2nd 4 which is without batch.
My question is that can we change the access sequence so that while the system fetches the price it need not go through the entire ( 91,02,401 ) records.
If this is possible then
Will there by any impact during viewing of past data?Hi,
There are two options.
1)Change the validity dates for those condition records to earlier date.
2)Usually the sytem checks from top to bottom.If it finds the record in first table then it will return that value and stop searching.
As your not required things are on the top,remove the condition records for them using VK12 T.Code.And maintain the records for what condition tables you are required.
Regards,
Krishna. -
Block Sales order if pricing condition changed manually (no delivery)
Hi,
Requirement is to block sales orders for review by a manager if pricing condition amount is changed manually. Only a manager should be able to review and release the sales order for billing. There is no delivery, item is service.
ThanksHi,
This can be achieved as follows:
1) SAP Standard updates the field KOMV->KSTEU for respective price condition type as soon as its changed Manually.
2) Through enhancement automatically delivery block should be set at Sales Order Header, for which User (Sales End User) should not have rights to change.
3) Respective Sales Manager should receive a mail regarding the same.
Point '3' can be done manually i.e user will request respective Manager to do the needful.
RB. -
LSMW Pricing Condition changes
Hi,
I need to create a LSMW to change pricing condiitons in condition type PR00 for access sequence table 006 (Price List Type/Currency/Material). I did the following:
1. Defined Object attributes Standard/Batch Direct Input 0070 (Condition record) Program Name RV14BTCI and Program type B (Batch). Method is 000.
2. Where do I define that the new records have to go into this table 006? Will it be in the source structures? Source fields? Can anyone explain me step by step how this will work? And what will be the subsequent steps? The documentation I have on LSMW isn't much help unfortunately and is very generic. I need specific solution/steps to this pricing condition table. Any guidance on it?
Thanks a lot.Hi Kevin
Pl. check this link on LSMW pricing :
<a href="http://sap-img.com/sap-data-migration.htm">LSMW</a>
<a href="http://sap-img.com/sd001.htm">to upload pricing conditions</a>
Pl reward if it helps.
Thanks & Regards
Sadhu Kishore -
Users autorizations for pricing condition in sales order
HI all,
Can anyone tell me if there is any posibilities to control users autorization for certain pricing condition in a sales order? For example: User A can add/edit/display K007 but user B can only display K007 for a new sales order.
Thanks in advance
GeorgeRHi
Please check this link on WIKi
http://wiki.sdn.sap.com/wiki/display/ERPLO/UserexitforRestrictingUserModifyingConditiontypeinSales+Order
regards
Prashanth -
Table for pricing condition type
My pricing condition is like this
MP00-PRICE,MP01-EDUCATION CESS,MP02-VAT,MP03-CST;
The pricing procedure is MP0000;
I have created access sequence & condition record for MP00,MP02,MP03.
But to set the education cess (MP01) to appear automatically kindly let me know which table (NO),(for MP03& MP02-Std table -628 ) was taken would suit the need so that access sequence can be set for it for automatic updationDear Pradeep,
From what i understood from your post, the decision on access sequence and tables used entirely depends on the business requirement.
I would advice you to maintain the same access sequence as what is now maintained for the PRICE (MP00-PRICE).
Thanks & Regards,
Hegal K Charles -
Decimal Places for Pricing conditions in Purchase info record
Hi guys:
In the material master, Moving average price/std price 2 decimal places, purchase info records -pricing conditions we have option of 2 decimal places.
Is there any we can increase the number of decimal places .?
Thanks
swethHi,
you can either have high prices or high accuracy, but not both together (because field length stays fixed).
Don't think about a modification - to much changes would be necessary. I never have seen a situation, where you needed more than about 6 significant digits (= not '0'): high prices don't have decimals.
So you usually change a factor: Maintain prices for higher or smaller units to get into the correct range. Or you might use different currencies in different situations. You can also maintain prices per 100 or 1000 units (in case of cheap products).
If nothing else is possible, you might use two conditions: one without decimals, second one only decimals, the sum of both can be a very precise high price.
Better to use the option price unit if you want exact value in place.
Kuber
Maybe you are looking for
-
Can i change my icloud account
GOT A NEW IPHONE AND SET UP MY ICLOUD ACCOUNT,BUT I CANT VERIFIED MY ACCOUNT.ITS BECAUSE I CANNOT ACCESS THE EMAIL ADDRESS THAT I PUT ON ICLOUD ACCOUNT
-
Apple's xpress port has a problem with Apogee mobile card...
Who can I speak with about this problem? I tried here, I tried Apple support ? Nobody can answer my question about this problem? I purchased a new MacBook Pro in January to use with Apogee mobile card but the xpress port in MacBook Pro has a major pr
-
How to arrange two items into a row in the webdynpro provided by SAP?
I am trying to custormize the ESS personal information - address info. My question is that how to put two separate items (like City and Address) into a same row? That is to change City: xxx Address: bbb to City: xxx Address: bbb ps: I didn't got
-
Completely unresponsive iPhone 3g, decides to work 8 hours later
So I have seen a lot of posts on people's 3g shutting down, but I have yet to find this exact behavior elsewhere although it happened to both my wife's and my iPhone. I took my phone off the charging cradle (with full charge) last night, made a phone
-
I can't get Safari to load period. It quits immediately. According to the troubleshooting, I'm to un-install any third party plug ins. Can anyone tell me what I should be looking for? I don't recall installing anything that wasn't an upgrade.