cancel
Showing results for 
Search instead for 
Did you mean: 

URL Message

Former Member
0 Kudos

Hi All,

I am working on srm 5.0. one of my requirement is that when the shopping cart limit is exceeding 50k usd the user should see a message saying that sc has exceeded 50k. please attach a X form (word doc) and the message should give an URL for the form. The user opens the URL and downloads the word document and fills in the information and then attaches back to the shopping cart.I know BBP_DOC_CHECK_BADI is used to validate the data but then i am not sure whether it can pop up an URL.

can anyone give me inputs on how to go abt it.

Points for sure!!

Rgds

Harshika

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

You can use BBP_DOC_CHECK_BADI and call warning or error message like this:


MESSAGE e901(zbbp_sc) INTO lf_dummy.
        CLEAR ls_message.
        ls_message-msgty = sy-msgty.
        ls_message-msgid = sy-msgid.
        ls_message-msgno = sy-msgno.

Regards,

Marcin Gajewski

Answers (1)

Answers (1)

Ramki
Active Contributor
0 Kudos

Hi Harshika

Pop-up can be given and URL can be in the message but I am not sure whether it shows it as a clickable link.

Suggest this provided you do not get any other solution from dev experts(next best solution):

1) Give the message as error message (see point 2 also below).

2) Remove the error message only when there is an attachment (you can even check document name, if you want to).

3) Maintain the URL link in PFCG role so that user can always see it in the left pane and easily accessible.

Sorry...this is not the best solution..but ...hope it helps

Best regards

Ramki