cancel
Showing results for 
Search instead for 
Did you mean: 

Validate BP

Former Member
0 Kudos

Hi Gurus,

I am working on web ui 2007, and i need to validate an input field which take in BP number.

Normally i will just use a fm BUPA_EXISTENCE_READ to do that. But in webui 2007 it uses BOL as the business model layer, so it is advisable to use FM or better to do the BOL way? If it is the BOL way can you show me how to do it?

Accepted Solutions (1)

Accepted Solutions (1)

CarstenKasper
Active Contributor
0 Kudos

Have a look at the BP input fields on the UI. They all do a validation of the BP number. I believe to remember that there even is a BP tools class in the system that has a method that is used for this. SAP usually calls it in the SET_* method of the attribute.

cheers Carsten

Former Member
0 Kudos

Can you point me to an exact example pls? TQ.

Former Member
0 Kudos

Hi,

Have a look at opportunity component where we enter BP for that Opportunity:

Component Name-BT111H_OPPT

View-BT111H_OPPT/Details

Context Node=BTPARTNERMAIN

Attribute-PARTNERNO

Method-SET_PARTNERNO

Or directly open the class-CL_BT111H_O_DETAILS_CN15 method-SET_PARTNERNO

Regards,

Rohit

Answers (0)