Skip to Content
author's profile photo Former Member
Former Member

Validate BP

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?

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Best Answer
    Posted on Dec 17, 2008 at 11:54 AM

    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

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      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

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.