cancel
Showing results for 
Search instead for 
Did you mean: 

Validating a set a key fields on VC form

Former Member
0 Kudos

We have a Z table with fields FUnd, Fund center, Func Area etc...where master records will be maintained. If a user enters a wrong combination of the fields any where in R/3 and BW, then an error will be triggered. This validation is triggered through a Z-RFC.

Now we want to handle the same validation on the VC forms also. Is it possible? if so, how to do it? what is the best way? please advise.

Thanks,

Kiran

Edited by: kiran dasari on Oct 11, 2010 6:55 PM

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Kiran,

If you are working with BI you have two optinos. First one, as suggested by Pradeep, create query on master data and second one is use FM such as RSAU_READ_MASTER_DATA. (In case of PBF, use /PBFBI/READ_MASTER_DATA for validation.

Regards,

Vinay

PradeepBondla
Active Contributor
0 Kudos

Hey Kiran,

One best solution is... Dont give chance to enter wrong values at all...

I mean... take combo boxes to your fields and take a dynamic entry list for this... where each combo box will have query to populate entry list. each field may be independent/dependent on other field. Create queries for fund, fund center, FA if you need validations, put it in your query filter. (ex: if fund 101 has FA's except 0001, then put fund in filter of FA).

Now use these queries in making your dynamic entry list.

Thanks,

PradeeP