We have added search box. Key in SAP issue keyword to search
TopBottom

Announcement: wanna exchange links? contact me at sapchatroom@gmail.com.

RE:[sap-acct] Writing a validation - how do I exclude values in a set

Posted by Admin at
Share this post:
Ma.gnolia DiggIt! Del.icio.us Yahoo Furl Technorati Reddit

Posted by Joe Harrison (SAP FICO Consultant)
on Aug 23 at 9:54 PM
Mark this reply as helpfulMark as helpful
Thanks all

In the end I did not use a set. I put in a range. If the GL was outside the range then the error is prompted.

BKPF-TCODE = 'FBZ1' AND ( BSEG-HKONT < '100000' OR
BSEG-HKONT > '105000'



---------------Original Message---------------
From: Joe Harrison
Sent: Thursday, July 15, 2010 1:30 AM
Subject: Writing a validation - how do I exclude values in a set

> I always seem to get a red light when I try exclude values in a set I have created.
>
> My prerequisite statement is:
>
> BKPF-TCODE = 'FBZ1' AND BSEG-HKONT NOT IN BANKACCOUNTS
>
> BANKACCOUNTS is the set holding a list of GL accounts.
>
> How do I rewrite the statement so that the transaction code must be FBZ1 and the GL account is not in my set.

__.____._
Copyright © 2010 Toolbox.com and message author.

Toolbox.com 4343 N. Scottsdale Road Suite 280, Scottsdale, AZ 85251
Related Content
White Papers

In the Spotlight
How Do You Use Social Media to Advance Your Career? Take the Survey, Win an iPad
_.____.__

0 comments:

Post a Comment

T r a n s l a t e to your language