Database table for Pricing Condition
Hi,
Can some one pls help me in finding the database table where I can fetch all the Access Sequences ('A' tables) associated for a particular Pricing Condition.
Regards,
Pankaj.
Hi,
Goto T685 and fetch KOZGF for your condition type(KSCHL) and KVEWE = 'A'.
Goto T682I and fetch KOTABNR vaues for all entries in above selected table based on KVEWE = 'A', KAPPL and KOZGF.
Prefix 'A' to above selected KOTABNR values to get the 'A' tables.
Hope this helps you!!!
Regards,
Ganga
Similar Messages
-
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 -
Database table for output condition records
Hi
Can anyone let me know " in which database table the condition records of output type will get stored?" . please let me know the table names related to output.
Thanks in advanceHi Srinivasarao,
Check the table <b>TNAPR</b> in SE16. It will have all the output condition records assigned through transaction NACE.
You can find the output types in the field KSCHL of TNAPR table. It also consists the output type and the layout and print program assigned to the the output type.
You can see the list of processed document through output types in the table NAST.
Thanks,
Vinay -
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? -
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. -
RE: UNABLE TO FIND DATABASE TABLE FOR CHECK NO, IN ISU
HI,
CAN ANY BODY TELL ME DATABASE TABLE FOR CHECK NO IN ISU.
THANKS,
SARANGhey sarang
i will tell u a short cut to know vat is the table for all ur desired fields,
just enter a worng value in the particular filed.. and then u can see a error message displayed like the follwing example
entry 01 not found in table erro1
just try giving wrong values for check number..and just enter
then u will get a error message with the table information..
check wthere this trick works in ur system
kr
prince -
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 -
To count number of records in an internal table for a condition
Hello All,
I want to count number of records in an internal table for a condition.
For e.g. -- I have one internal table IT which having fields F1, F2, F3, F4, F5.
Now, I want number of records in itnternal table IT where F1 = 'ABC'.
Is it possible to do..?? If yes, then how.??
Thanks in advance...!!
Regards,
Poonam.Hi,
If you mean an internal table, there are a few ways to do this.
1 One would be to loop over the table with a WHERE clause and increment a counter.
data: lv_counter type i.
clear lv_counter.
loop at itab where fld1 = 'ABC'.
lv_counter = lv_counter + 1.
endloop.
lv_counter now has the number of rows per the condiction.
2 Well, you may want to try this as well, and compare to the LOOP way. Not sure what kind of overhead you may get doing this way. Here ITAB is our main internal table, and ITAB_TMP is a copy of it. Again I think there may be some overhead in doing the copy. Next, delete out all records which are the reverse of your condition. Then whatever is left is the rows that you want to count. Then simply do a LINES operator on the internal table, passing the number of lines to LV_COUNT.
data: itab type table of ttab.
data: itab_tmp type table of ttab.
itab_tmp[] = itab[].
delete table itab_tmp where fld1 'ABC'.
lv_count = lines( itab_tmp ).
Thanks & Regards,
ShreeMohan -
How to trace the database table for a structure
hi
am trying to find the database table for a structure unfortunately am failing to use the sql tracer any one know howelse i can do that the structure name is 'busbankcheck' and 'bus000flds'.
thanx in advanceHi florence,
1) U can go to tcode sldb and give ur structure name or if u can find which logical database it is from u can get the tables of the structure....
Suppose it is of HR it may be like pnp logical database and then to sldb and give pnp and u can get all the table of that....
2)If u know which fields u want from the stucture....then go to table DD03L and give ur fields name and it iwll bring where all tables this field is avaialble and u can find them......
3) the st05 sql trace can help u.....
I hope any one of the three will definetely help uuu
Regards
vamsi
Edited by: vamsi talluri on Jan 22, 2009 1:24 PM -
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.
ThanksHi,
Check the settings in below configuration:
SPRO>MM>Purchasings>Conditions>Automatic document adjustment-->Control doc. adjustment.
SAM -
Where can i find table for field condition rating
hi all ,
where can i find table for field condition rating& its decription, please help me
thanks in advance to allHi Jurgen
thanks for the Quick reply and what shoud be the table for the field
gopal -
Creation of Customized field for Pricing Condition tables
Hi Friends
I have a requirement to create a Pricing condition table with Customized field starts with 'Z' and
Field length should be more than 80.
After creating New Customized Field, system is not allowing to create Pricing Condition table and giving error 'Too Many fields selected (larger than 100 bytes)'.
Could you please advice how to over come this error and Maximum field to create Pricing condition table .
Thanks
RaviHi there,
Table & table attributes are defined by the ABAPers. Not by finctional consultants.
You need to have an access key to define new tables & access sequence.
Check with your ABAPer. He will be able to help you with that.
Regards,
Sivanand -
Sales Order Unable to Use New Condition Tables for Tax Condition Type
Dear All,
I am currently working on SAP R/3 4.0. I have a new requirement for my tax where I need to create new condition tables other than the 4 standard SAP tables which are Customer/Material, Division/Customer, Departure Country/Destination Country, Domestic Taxes and Export Taxes. My new tables consists of Departure Country/Destination Country/Shipping Point/Tax Code. The requirement is that the tax code is based on the chosen destination country and shipping point. The problem I am facing now is that no matter what types of table I create or even I generate with reference to the standard table, the access sequence will only refer to the 4 standard SAP tables above. Even if I put my own table in the highest priority for the access sequence, the same thing happens. My sales order will only pick up date from the standard table.
I wonder if anyone encountered the same problem as me.
Kindly advise.
Thank you.
Regards,
YvonneHi
Yvonne
I suggest fist check a simple thing ,whether u have successfully determined shipping point for each line item ,it is possible that just adding a line item will not trigger shipping point determination . So after u update the shipping point on line level u can rerun pricing and check agian if u r getting it .
Secondly for tax purposes I suggest Try to have Customer and material tax classification approach this allows to u have long term flexibiliy and also reduces your maintenance activity . As if u change or add number of shipping points and business changes using the sequence of shipping point ,the logic of just using shipping point will not work.
In Tax classification u cna add new condition table for each new tax category and use it in different access sequences.
This information can be passed on to FI using Different Tax code for Different combination.
I hope this helps
Regards
Mandar -
Custom Report for Pricing Conditions Master
Hi Everyone,
We know that Pricing Conditions Master Data is stored in KONH and KONP. If a condition is populated in a document then transactional data can be obtained from KONV with 'condition record number' as the foreign key.
The requirement is to design a custom report that lists for order items the pricing conditions (basic price) that are not populated in the sales orders. The pricing is not carried out in these orders as these are not chargeable orders, but the user wishes to know in an existing custom report the price from the conditon master data.
The idea is that the sales order has no pricing calculated but how much Sales Price the material has as per the price condition master record.This can be known by the custom report.
Visiting the standard prcing preports like V/LD is laborious for the user and wishes to add a column in an exisitng report of order item list for the price of each order item.
The challenge here is that in KONH there is no field for material exlusively. It gets stored as a text and hence fetching data from this table for a given material seems difficult. Let us remember that we are not refering to any sales order while accessing data from KONH or KONP.
Any thoughts / views on how this can be achieved are most welcome.
Thanks,
HemantYou will have to work on exact condition table in access sequence instead of KONH. For eg: If condition table in access sequence is 601 then you will have fetch the condition number KNUMH from table A601 (prefix A before the condition table number). With the KNUMH you can get the condition value from KONP.
Regards,
GSL.
Maybe you are looking for
-
Firefox will not re-start without "ending process" with Windows Vista Task Manager.
Error Message: "Firefox is already running, but is not responding. To open a new window, you must first close the existing Firefox process, or restart your system." Have to start Task Manager and then end firefox.exe process. Thanks all.
-
I just got a new i-touch. i am unable to set it up. please help
Hi All I just got a new itouch. To set it up, i downloaded the latest itunes and connected the ipod to my machine. Follwoing the instructions, i clicked on (Connect to itunes) on the ipod. The ipod got detected in itunes but i am unable to proceed. T
-
[SOLVED] GTK3 Themes Not Rendering Correctly in OpenBox
So, I've been trying to find a way to fix this issue for a while now. In OpenBox, GTK3 applications do not display correctly when using a theme based on Adwaita. An example theme would be Elegant Brit. Menus tend to shift a pixel over when highlighte
-
Hi, I am not able to copy wage types while configuring 0008. It says tables are locked for the user. I am not able to scroll down nor click on any function like Copy. When I click on any text, an error message flashes down in red as entry already cop
-
I have a Cisco WVC210 IP Webcam. What is the RTSP URL to access RTSP streaming (MPEG4) using a streaming player on my PC like VLC, Real Player, etc.? I tried the following URL but it doesn't work: rtsp://IP-webcam/img/video.mpeg4. (I am not looking f