on 01-29-2008 2:08 PM
How to setting, if I want to control that not allow to add same condition type, if it already existing in the transaction.
For example,
PR00 100.00 USD/MT
ZDIS 10.00 USD/MT
ZDIS 8.00 USD/MT (Not allow to enter or add condition type)
Thanks!!
Edited by:
Edited by: Kitta on Jan 29, 2008 3:17 PM
This message was moderated.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Create A routine function for same .
I am given here the code also
Write the following codes given below in include file.
&----
*& Include ZXVVAU05
&----
Written for restriction in VA02 for Condition type duplication
DATA: BEGIN OF tXKOMV OCCURS 50.
INCLUDE STRUCTURE KOMV.
DATA: END OF tXKOMV.
data : tab_name(40) type c ,
ld_len type i , ld_len1 type i .
field-symbols : <tab> type any.
tab_name = '(SAPMV45A)XKOMV[]'.
assign (tab_name) to <tab>.
txkomv[] = <tab>.
describe table txkomv lines ld_len .
sort txkomv by kposn KSCHL .
delete adjacent duplicates from txkomv comparing kposn KSCHL .
describe table txkomv lines ld_len1 .
if ld_len1 ne ld_len .
refresh txkomv .
message e002(zmm) with ' Please remove duplicate condition in item price' .
endif .
4. Save and activate.
This has to be done thru Abap person ,Hope this will solve the problem of yours as it has mine.
regards
Manu Kapoor
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi,
try condition type in pricing procedure to be automatic instead of manual entry.This will avoid duplication as manual entry is eliminated.
Hope this helps you.Reward points if it is usefull.
Thanking you.
Best regards,
R.Srinivasan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
103 | |
12 | |
11 | |
6 | |
5 | |
4 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.