Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Regarding Validations issue in transaction code F-58

Former Member
0 Likes
705

Hi Gurus,

I have done validations using this this transaction code . It is working fine for F-48 ,Fb60 ,F-43 and F-02 . But the problem is when i doing f-58 transaction code it is asking mandatory fields business place and Section code Because of validations.

This is the logic i have used :

Prerequisites:

( Transaction code = 'FB60' OR Transaction code = 'F-43' OR

Transaction code = 'F-48' OR Document Type = 'KR' OR

Document Type = 'KZ' ) AND Account Type = 'K' AND

Transaction code 'FBZ2' OR ( Transaction code = 'F-02' OR

document Type = 'SA' )

check :

Business place ' ' and section code ' '.

Please help me regarding this issue .

I tried like this but it is not working :

( Transaction code = 'FB60' OR Transaction code = 'F-43' OR

Transaction code = 'F-48' OR Document Type = 'KR' OR

Document Type = 'KZ' ) AND Account Type = 'K' AND

Transaction code 'FBZ2' OR ( Transaction code = 'F-02' OR

document Type = 'SA' ) OR ( Transaction code 'F-58' OR

document Type 'KZ' ) .

Thanks and Regards,

Naganjana Reddy .P

7 REPLIES 7
Read only

Former Member
0 Likes
672

the brackets are not used properly...

should be like

if ( .. ( ..) .. ) OR (. ... (...)... ) OR (... (....) and (..) ..)

so what you need to do is... to format the below one...

IF
(  ( Transaction code = 'FB60' OR Transaction code = 'F-43' OR  Transaction code = 'F-48' ) AND "not or i think 
   ( Document Type = 'KR' OR Document Type = 'KZ'  ) AND 
    Account Type = 'K'  )

 OR 
( ( Transaction code 'FBZ2'  OR Transaction code = 'F-02' ) AND  
        document Type = 'SA' ) 
OR 
( Transaction code 'F-58' AND document Type 'KZ' ) .

I am not saying that this is perfectly what you need.... just check how i am doing the brackets.. use according the logic you need,

Read only

0 Likes
672

Hi Soumyaprakash,

Thanks for your quick reply. it is not working before it was working for other transaction code like f-48,f-43,FB60 and f-02 now these transaction codes are not working properly .

Thanks and Regards,

Naganjana Reddy.P

Read only

0 Likes
672

Hi Soumyaprakash,

Thanks for your quick reply. it is not working before it was working for other transaction code like f-48,f-43,FB60 and f-02 now these transaction codes are not working properly .

Thanks and Regards,

Naganjana Reddy.P

Read only

0 Likes
672

Hi Soumyaprakash,

Thanks for your quick reply. it is not working before it was working for other transaction code like f-48,f-43,FB60 and f-02 now these transaction codes are not working properly .

Thanks and Regards,

Naganjana Reddy.P

Read only

0 Likes
672

Hi Soumyaprakash,

Thanks for your quick reply. it is not working before it was working for other transaction code like f-48,f-43,FB60 and f-02 now these transaction codes are not working properly .

Thanks and Regards,

Naganjana Reddy.P

Read only

0 Likes
672

wow, quite a lot of repeatative posts

ok..

what i think is the condition in the if block is not given properly. as the brackets are not given in proper places. you can just debug and check.

Read only

0 Likes
672

Hi Gurus,

Sorry for the repetitive posts becuase of internet problem its happens. Please help