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

Error Message in BSP Web Template

Hi,

I want to give an error message on web when planning is on process, For Ex:- I have an Text Object of type input field on web then is it possible to raise a error message if they leave it blank,or if they enter incorrect value.

Cheers,

vMatt

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Oct 05, 2005 at 10:13 AM

    Matt,

    I have done this with the Use of FOX. I do a check if people enter distribution keys from employee to cost centers that the total sum is 100.

    DATA TOTAL TYPE I.

    DATA CTR TYPE 0COSTCENTER.

    DATA VT TYPE 0DATETO.

    DATA VF TYPE 0DATEFROM.

    DATA PERS TYPE 0EMPLOYEE.

    DATA PLANT TYPE 0PLANT.

    FOREACH CTR,VT,VF,PLANT.

    TOTAL = TOTAL + {PDISTR,CTR,VF,VT,PLANT}.

    ENDFOR.

    PERS = OBJV( ).

    IF TOTAL <> 100.

    MESSAGE E008(ZBPS) WITH PERS TOTAL.

    ENDIF.

    This FOX is linked in BPS_Wb to be executed automatically when the layout changes. It will result in an error if the conditions are not met.

    If you want to block further processing you can link it to a planning sequence.

    I hope this helps.

    Kris

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi Kris,

      First of all thanks exploring the way to handle this problem.

      But my problem is also with some Text apart from amount figure on Web

      Ex:- My Text object is of input type which allows to enter 30 characters by defnition of object.

      Being used this as an input field it allows more than 30 and it will stop at some point allowing the entries,but planners want that to be delimited when they are reaching 30th character automatically giving them a message or i should restrict them only upto 30 Characters they can enter.

      But on web for this object is of type input field iam unable to stop at 30.

      I hope you got me , this is nothing to do with functions i believe as it is more related to web template.

      But you gave a good view on this..but i guess this can't be the one i can go with..reason is i have to take this an function on web to execute with a button.

      Cheers,

      vMatt

  • author's profile photo Former Member
    Former Member
    Posted on Oct 05, 2005 at 07:11 AM

    Hi Folks,

    Any suggestions how to do this...i have to throw some error messages instantly when they input on screen of Planning application in Web while using a Webtemplate.

    Ex:- They have entered some value in a particular input field of type 0Amount Object which is to be distributed,

    But they just entered in the input field and saved and continued to next entry. At the time i have to raise an

    error with some message the "Value needs to be distributed" is there any way to do so...

    Cheers,

    vMatt

    Add a comment
    10|10000 characters needed characters exceeded

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.