on 03-01-2009 9:31 AM
Hi Guys
We have some issue in validation
I have a payment term called AA05 and this payment term should not be used for transaction code F-43 and F-22
My validation is as follow - this validation we have created at header level
PREREQUSITE
At the Accounting Segment i gave PAYMENT TERMS = AA05
CHECK
At the Accounting Header i gave TRANSACTION CODE = F-43 & TRANSACTION CODE = F-22
MESSAGE
As error - Not to be used for the transaction code
The same is activated
Now iam passing an entry with a vendor having AA05 payment term - so that the same is defaulted in F-43 transaction
But iam not getting the error
Iam i by any chance doing any mistake in the validation
Thankyou
Warm Regards
Bala
Hi something similar happened to me, i regenerated the code with this programm: RGUGBR00 through tx. se38 i've read this from a note (don't really remember which one).
hope this helps.
FifoChávez
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi, I'd worked on similar requirement. We wanted the validation to run for only F-47 and FBA6. What we did was, we created a Set through GS01 and maintained the transaction codes in it.
Ex. Go to GS01, give a set name u want to create (eg. ZZSET_TEST ), give Reference table as SYST
It'll ask for the Field Name. Give it as TCODE as you want to check the TCODE. And then maintain your
Tcodes ( for me it was F-47 and FBA6 ).
Now in Check, include a condition
NOT SYST-TCODE IN ZZSET_TEST-TCODE
Hope it helps !!!
Edited by: Vivek Prabhu on May 26, 2009 8:47 AM
Hi Balasubramanian,
try below
CHECK:
At the Accounting Header i gave TRANSACTION CODE = F-43 'OR' TRANSACTION CODE = F-22
i think you are using the AND condition that is why its not giving the error..
hope it works now.
Regards!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
At the time the validation is called, the transaction code value will be FB01 instead of F-43 or F-22 - that is why you are not getting the error from the validation. Take a look at a posted document from each these transactions - you'll see the t-code on the document header is FB01, not F-43 or F-22.
Since there are many transactions codes that are based on FB01 - and end up posting as FB01 - I would suggest a criteria other than transaction code for your validation. One option might be to check the document types.
Regards,
Shannon
User | Count |
---|---|
108 | |
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.