How to correct the sequence of pricing condition in ME21N
Hi,
I checked the sequence of pricing condition for a contract in ME33K in Quality and development server, the sequence is correct in both ME33K and ME21N also but I faced the problem the pricing condition showing in reverse order in ME21N as compare to ME33K.
I tried to debug ME21N the standard program but I am not getting anything.
Could any one give proper suggestion to get the correct sequence of Pricing condition.
Below is the correct sequence of pricing condition:
u2022 PB00
u2022 ZDIF
u2022 ZBFT
u2022 ZVTF
u2022 ZMSC
u2022 ZYIE
u2022 LQY1
Waiting for quick response.
Best Regards,
BDP
Hi,
I think you can check this with functional. Check the sequence of the conditions defined in pricing procedure.
Thanks,
Vinod.
Similar Messages
-
How to Test the individualmapping field and conditions...
Hi Frnds,
I done mapping from source to destination as per tech spec in my scenario based on some conditions
i used node functions also..
But my question is how to test the every mapping filed , condition is correct or not, what i used node function working properly or not...
Regards,
RajHi
If you want to check mapping for individual mapping then in design go to test tab and put your data there and then come again on Design tab and click on any target field fro which you want to check mapping then right click on target field in mpping area and click on Display queue and check whether it is expected output for that particular field mapping.
Regards
Sami
Reward points if useful. -
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? -
I've tried downloading iOS5 several times and after an hour each time I get a message that says my network connection has timed out. But I can't find any information about "timing out" or how to correct the situation. Any help?
Disable your antivirus and firewall, and try again.
-
Every time I download a file to my macbook pro, it saves it to downloads but changes the name and inserts % sign. Please advise how to correct the name that it is saved under.
Anything Downloaded with a Particular Apple ID is tied to that Apple ID and Cannot be Merged or Transferred to a Different Apple ID.
Apple ID FAQs
http://support.apple.com/kb/HE37 -
I purchased iPhone 5S and opened new Apple account with preffered language English and location UAE. I was directed to enter my birth date with only Arabic language option. There was no way to change the language or skip the step. I had to enter an arbitrary birth date to go to the next step. How to correct the birth date now and change the numerals to English?
Solution!!
I was finally able to get the installer build to work, even though it takes about ten minutes!! The network and CPU activity is minimal, so I don't know what LV is waiting on during all this time?
For this installation it appears to be related to the directory structure created by the Volume License Manager 2.1 software. There are two sets of users at my company, LabVIEW Professional and Developer Suite, which have different license numbers and installers. The errors were related to source files located in the Products folder of the network distribution. My installation expected the Products folder to be in a different location that it was actually placed by the VLM software. I copied the entire Products folder from _SourceFiles up to the LabVIEW 8.5.1 folder and now it works, although very slowly.
LabVIEW 8.5.1
-->_SourceFiles
-->Bin
-->Device Drivers
-->Licenses
-->Products (original location)
-->Signal Express
-->Dev Suite
-->LV Pro
-->Products (manual copy)
I hope this information may be of use to NI or other users.
Message Edited by jrjones on 08-12-2008 03:21 PM
Message Edited by jrjones on 08-12-2008 03:23 PM -
How to control the sequence of a map?
Hello
we are using a send email with attachment (map) in our process design, the email body has a few pdf documents, does anyone know how to control the sequence of attachment in the email body?
thanks,Values in a map are ordered randomly, you can't predict the order.
-
I can't upload Mozilla Foxfire internet, an error message shown Crash, I sent the crash report but not happen. Also look at the crash report detail, I'm should were the crash started and don't no how to correct the problem
== This happened ==
Every time Firefox opened
== may 18 2010 ==
== User Agent ==
Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; (R1 1.6); InfoPath.2; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)Firefox will not open. I have the message "Firefox crashed" and a statement that Firefox will restore my tabs and send me a message, neither of which has happened.
-
How to fix the sequence of conditions in PO?
Hi,
I am using calculation schema RM0000, whose part of the condition sequence is like below:
Step Counter Condition Type
10 1 RB00
10 2 RC00
10 3 RA00
10 4 RA01
10 5 HB00
10 6 ZB00
10 7 ZC00
10 8 ZA00
10 9 ZA01
10 10 HB01
In my case I have to use ZA01,RA00,ZA00 in my PO. As per the schema above, the sequence should always be RA00 -> ZA00 -> ZA01. But in fact, the sequence is based on the when I enterred the condition.
For example, if I enter ZA01 before RA00, then in PO the sequence is ZA01 -> RA00; if I delete ZA01 and enter ZA01 again, the sequence change to RA00 -> ZA01...
How can I fix the sequence of conditions in PO? Is there anything I forgot to configure?
BTW, it seems that header condtions always lie after item conditions in item condition tab. Is it the standard logic of SAP?
Thanks!
WesleyHello,
The sequence of condition types cannot be changed dynamically, it will be picked from what maintained in the pricing procedure in M/08.
The fields, Step - Counter , decides the sequence of the condition types.
Condition counter is Access number of the conditions within a step in the pricing procedure.
Use
During automatic pricing, the system takes into account the sequence specified by the counter.
Regards
Gregory Mathews -
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. -
How can we make the value of pricing condition flow to the sales invoice?
At an intercompany process, we have the condition type PBXX at the purchase order. On the other hand, at the sales invoice (which is created by VF01) of the sames process, there exists the condition type PR00. The calue of the condition types PBXX and PR00 should be the same. How can we make the value of PBXX flow to the sales invoice? I can create new pricing procedures if needed. I can change the types of the pricing conditions (such as PBXX or PR00) included at the procedures (by customization) if needed. All I need is to have the value of the price at the purchase order the same with the sales invoice at the same process. The transaction codes used at this process are:
ME21N - Create purchase order
VL10D - Create delivery
VF01 - Create invoice
Thanks in advance for the answers...Yes, i verified that the config item id in the pricing table and the cz_config_items table are the same (once we save the configuration).
The reason we have to do this is coz I have to pass additional parameters, which are item speciific (captured at confiugurator runtime session) while making a call to the pricing engine.
Hence, we are capturing some additional pricing parameters (during a runtime configurator session) in a custom table, and plan to link those to the corresponding items in the 'CZ_Pricing_Structure' table thru the config_item_id. -
How to maintain the sequence in the custom table
Hi,
We have custom table where we will store the standard text name based on different flags and it will be fetched the value according to the condition.
Example code
SELECT SINGLE field1
field2
INTO ( vaiable1 variable2 )
FROM custom table
WHERE tdobject = iv_signature
AND bukrs = vbdkr-bukrs
AND vkorg = iv_vkorg
AND vkbur = iv_vkbur
AND lland = vbdkr-land1
AND fkart = vbdkr-fkart
AND kschl = iv_kschl.
CHECK sy-subrc <> 0.
SELECT SINGLE field1
field2
INTO ( vaiable1 variable2 )
FROM custom table
WHERE tdobject = iv_signature
AND vkorg = iv_vkorg
AND vkbur = space
AND fkart = vbdkr-fkart
AND kschl = iv_kschl.
CHECK sy-subrc <> 0.
SELECT SINGLE field1
field2
INTO ( vaiable1 variable2 )
FROM custom table
WHERE tdobject = iv_signature
AND vkorg = iv_vkorg
AND vkbur = space
AND fkart = vbdkr-fkart
AND kschl = space.
The solution I created to avoid the select is, i have created the FM with all parameter. Addition to the FM, I have created a Table as well to maintain the flag.
New table
TDOBJECT TDID BUKRS VKORG VKBUR KUNNR MWSKZ AUART VGBEL_AUART KTGRM LLAND FKART WERKS KSCHL STNAME
FOOTER X X ZNET_DICI_FTR_FI
FOOTER X X ZNET_DICI_FTR_NL
FOOTER X X X
i.e. say example if we maintain the value in the custom table based on the first select query. Then we need to maintain the flag in the table which was created newly.
Note In the both field the key fields are same.
The problem now is we have plenty of select query for different condition, i though of maintain the sequences of the entries. But my worry is how many sequence number will be maintained and in what bases it will be maintained.
Could you please help me to resolve this problem?
Regards,
VijayHi,
I got your requirement as,
whenever a new entry is made in the table, one sequence has to be maintained somethign like serial number and everytime it has to be incremented. If it is so, then you can go for an additional field as serial number. Then get the max serial number from the following select query:
select max(serial) from cust_table
into v_serial.
Now, when you make a new entry, just give (v_serial + 1) to serial number...
Please let me know if i understood wrongly... or what you want... -
How to capture the calculated (using pricing engine ) quote line price
Hi everyone,
Need some help.
Can anybody explain me:
How to capture the quote line price on run time when the pricing engine is invoked and at the same time this calculated quote line price should not get updated in the base table(Quoting module in CRM).
Please help me.
Thanks,
Srinivas
Edited by: user0232 on Aug 26, 2011 8:21 AMHi,
Which cost to capture is depends on Costing and valuation varients
Got to OKP6 or OKP8
Select valuation varient >>> Maintain strategy sequence under MATERIAL VALUATION
Which system can take first Variable or standard.
Kapil -
VL02N , How to correct the deliverd quantity in vl02n for the batch items .
Hi,
How to save the order if the correct picking value if the item is batch managed.
When we are in Delivery -> Item->batch split screen, we have an option Adj Del Qty. When this is clicked, than delivery qty is updated correctly. When this is not done, delivery is saved with mismatch between cumulative batch quantity and delivery quantity.
Could any one has an idea how to save the order with the correct delivery quantity when the batch split -> Adj Del Qty is not clicked.I am thinking you want to show the rejected quantity on the Parent Item in the Inventory Tab.
Use the following SQL for showing the Net Available Qty after subtracting the rejection.
<b>SELECT T0.OnHand - T0.IsCommited - (SELECT SUM(T1.Quantity) FROM IGN1 T1 WHERE T1.ItemCode = $[$5.1.0] AND T1.TranType = 'R')
FROM OITW T0
WHERE T0.ItemCode = $[$5.1.0] and T0.WhsCode = $[$28.1.0]</b>
Use the following SQL to get just the rejected quantity
<b>SELECT SUM(T1.Quantity) FROM IGN1 T1 WHERE T1.ItemCode = $[$5.1.0] AND T1.TranType = 'R'</b>
Suda -
How to get the exact time when condition records has been created?
Hello All,
Can anyone thorw some light on - how to find the exact time on which a particular condition record has been created?
I have tried to get it from KONP {by inputting condition record number}, but unfortunately time is not tracked over there, but the date is tracked.
Await your valuable inputs on the same.
Regards,
HrishiDear Hrishi,
Try with this
Go to display mode of the condition record through VK13 transaction from the condition record overview screen go to menu Environment >Changes>Click on Change report now system will take you to the Change Documents for conditions selection screen here you input proper selection data then execute now system will give the all the details here you can find the time also.
I hope this will help you,
Regards,
Murali.
Maybe you are looking for
-
Hello, all. In iTunes 11.0.2.26, an Albums search by track names returns albums as if they only have one track on them, but I still want to access the entire album. How can I have the search results show the entire album (with just the searched for n
-
"Failed to clean up source mailbox after move" Error
I'm getting the following error after attempting a three mailbox move from one Exchange 2010 SP2 database to another on the same server. All the similar errors I've seen while searching are between 2010 and 2003 or 2007. Warning: Failed to clean up
-
Substance Volume Tracking (SVT) - Monitoring (CBRC20) - additional columns
We are implementing SVT and found out that the monitoring report (CBRC20) gives the user not enough information. F.i. we want to include the description of the tracked substance. I could not find a place in configuration, nor a user exit, where addit
-
Do I need to extend the OS disk if my Datastore is thin provisioned?
I noticed on my windows server (VM) that one of the disk drives was getting low. This was showing 22gb free from the OS. (Windows 2008 R2) It is functioning as the file storage and print server. So, I extended the SAN LUN by 100gb, extended the vC
-
Authorization for Delimit / Lock button in PA30 screen
Hi All, I have a requirement that users should not be able to Lock the leave record in IT2001. The user has authorizations for Read / Write and Display. Also I do have a requirement that the user should not have authorization for delimit button. The