cancel
Showing results for 
Search instead for 
Did you mean: 
Subscribe

Hello,

Tcode GGB0 and I am in need to create a validation rule to check the postings made by the Tcode F-63, 55 to the supplier, where accounting records can be only 422205 or 446000.

Can someone help me.

I'm not able to develop the condition nor check.

Thanks,

Cristiane

Edited by: Cristiane França da Silva on Oct 11, 2011 10:28 PM

0 Likes
View Entire Topic
vivek_srivastava12
Active Contributor
0 Likes

Hi,

In Pre-requisite please write the below:

Transaction Code = 'F-63' or Transaction Code = 'F-55' AND ACCOUNT TYPE = 'K'

Check:

BSEG-HKONT = '422205' or BSEG-HKONT= '446000'

Message:

Create your own Z message.

Please let me know if you face any issues.

Br,Vivek

Former Member
0 Likes

Hi, Vivek,

In this case need to put this validation to the vendor 55, as I do that?

Hugs.

Former Member
0 Likes

Hi,

Please try the by giving the Check as BSEG-HKONT = u2018422205u2019 OR BSEG-HKONT=u2019446000u2019 AND BSEG-LIFNR=u201955u2019

Regards,

Kiron Kumar T.

Former Member
0 Likes

Hello Kiron,

I have included the field BSEG-LIFNR = '55 ', and looked like this:

Condition: SYST-TCODE = 'F-63' AND BSEG-KOART = 'k'

Verification: BKPF-Blart = 'kr' AND BSEG-HKONT = '422205 'OR BSEG-HKONT = '446000' AND BSEG-LIFNR = '55 '

But it still does not validate. When I run the test in TCODE: F-63 in another account accountant he still accepts the release.

What else is there?

Former Member
0 Likes

Hi, SYST-TCODE it's not the same which code in the sap easy access.

You can simulate validation and check why it's not working. in GGB0 select you validation , and pass in menu Validation-Simulate

Also you need to use signs () in your logic

Edited by: Aleksey Tkachenko on Oct 13, 2011 3:45 PM

Former Member
0 Likes

Hi Aleksey,

What do you suggest for me to replace the SYST-TCODE?

Includes signs () as follows:

Verification: (BSEG-HKONT = '422205 'OR BSEG-HKONT = '446000')

AND BSEG-LIFNR = '55 '.

For simulating the validation where I find this option, I looked on my screen here and not found.

Regards,

Former Member
0 Likes

Hi, to run simulation you need to select Node which superior of your step.

Eg Validation QQ1 has steps- Step1, step2. So you need to select QQ1, and then choose in Menu Validation-Simulation.

"Verification: (BSEG-HKONT = '422205 'OR BSEG-HKONT = '446000')

AND BSEG-LIFNR = '55 '." -that's looks better.

"What do you suggest for me to replace the SYST-TCODE?" may be. I suggest you to simulate and see which value of SYST-TCODE.

Former Member
0 Likes

Hi Aleksey,

I am doing validation as you instructed me, and it happens that the "condition" is incorrect.

The Validation Rule in GGB0 looks like:

condition: SYST-TCODE = 'F-63' AND BSEG-KOART = 'k'

verification: (BSEG-HKONT = '422205 'OR BSEG-HKONT = '446000') AND

BSEG-LIFNR = '55 '

what can be?

Former Member
0 Likes

Hi, I think here the issue "SYST-TCODE = 'F-63' ", just run simulation and check which value SYST-TCODE has

vivek_srivastava12
Active Contributor
0 Likes

Hi,

F-63, is for parking of Documents and by parking system do not update any table such as BSEG, BSIS etc.

So In your case validation will not work.

Br,Vivek