2010 Apr 21 2:46 PM
Hi,
I am using BAPI_PRICES_CONDITIONS in my program to create pricing conditions.
BAPI is working fine and it creates pricing conditions. I can see them in VK13 and in table A9**.
The surprising thing is - this BAPI creates pricing conditions in database, even if I am not calling BAPI_TRANSACTION_COMMIT or COMMIT WORK in my program.
In fact, I need to have two options as below in my program:
1) Test Run --> Just to display the return messages from BAPI (no DB update)
2) Create conditions --> Actual creation in Database
Now the problem is that condition records are created in both of these cases.
So, I am not able to achieve functionality of option-1.
Has anyone faced this problem before or can anyone help me in this?
Awaiting for your valuable input/suggestions.
Thanks & Regards,
Devendra
Hi,
I am using BAPI_PRICES_CONDITIONS in my program to create pricing conditions.
BAPI is working fine and it creates pricing conditions. I can see them in VK13 and in table A9**.
The surprising thing is - this BAPI creates pricing conditions in database, even if I am not calling BAPI_TRANSACTION_COMMIT or COMMIT WORK in my program.
In fact, I need to have two options as below in my program:
1) Test Run --> Just to display the return messages from BAPI (no DB update)
2) Create conditions --> Actual creation in Database
Now the problem is that condition records are created in both of these cases.
So, I am not able to achieve functionality of option-1.
Has anyone faced this problem before or can anyone help me in this?
Awaiting for your valuable input/suggestions.
Thanks & Regards,
Devendra
2010 May 24 12:44 PM
Hi Davendra,
I need to create pricing conditions and I havebeen trying to use BAPI_PRICES_CONDITIONS, but without success. The BAPI creates registers in KONH and KONP but I can't see anything in transaction VK13. Could you please tell me what do i need to pass to the BAPI so it works correctly? Do you know what A*** tables are related to price condition PR00?
Thanking you in advance,
Nisha
2010 May 26 2:19 PM
Hi Nisha,
Please make sure that you are passing VARKEY field properly.
It should contain combination of all the required fields. (e.g. Material No. + Sales Org. +... + etc).
Regarding A*** tables for PR00 condition, you can check it in VOK0>Cond. Type>Access Sequences-->PR00
The number in TAB column is the name of A*** table.
Alternatively, you can search in table T682I. The field T682-KOTABNR is the condition table number.
In our system, the tables for PR00 are A004, A005 and A006.
I hope this helps you.
Regards,
Devendra
2012 Aug 03 11:46 PM
where yoiu able to resolve your issue number 1?
I have the same problem.
Thank you.