cancel
Showing results for 
Search instead for 
Did you mean: 

IS it possible to infer text message pop up @ sales order configuration.

keyur_mistry1
Active Participant
0 Kudos

Classification Team,

I have need to pop up message @ sales order configuration.

Is it possible to do same, when user is configuring product.

We have need to guide user when they are configuring sales order.

Our complex configuration is difficult to remember. some cases we have to guide user through pop up message.

Is it possible?

Pls provide guidance on same.

Accepted Solutions (1)

Accepted Solutions (1)

Ritz
Active Contributor
0 Kudos

keyur mistry,

Can you please add an example of what kind of message you want which may help user while configuring the product?

Thanks

Ritesh

keyur_mistry1
Active Participant
0 Kudos

@ Ritesh Dube

Okay good I can give here one small example.

Exactly we have this requirement for many things. Below is one of that from list.

Example;

we have more then 6 profile type for the different business process.

Base on order category they have to select that profile only. (Ex - ZKB order type for consignment process and configuration profile should select consignment)

Note: Every profile has different restriction to configure the order.

Now in our case what happening, naming convention we keep similar so, any one can read and identify for what configuration profile they have to select. But we have observed many case user is selecting wrong profile and keep trying to book order with Normal profile so VC will not get consistence. After that business is raising call for the same and we are giving every time this solution.

To avoid this king of incident we have to give some small text message when user is booking order.

Like wise we have many cases in which at least we have to guide user to book order.

We have almost near by 80 to 100 characteristics, which is very difficult to handle and very difficult to change VC design too.

So we are thinking if SAP has any text message information @ sales order configuration then without changing VC design we can give some solution to business. and we can guide user to configure product. (At least we can create some user friendliness)

Alternative solution we are looking for, if not text message then is it possible to create characteristics with the long text message. so we can create some TAB for text message and guide user.

Objective is any individual can book the order without the help of experience or VC consultant.

Flavio
Active Contributor
0 Kudos

Hi Keyur,

A possible solution could be to use an User-Defined Function that will make use of the ABAP MESSAGE statement.

I have just made a quick trial in my sandbox system, that seems to be working.

The user defined function is triggered when the first characteristic in the configuration will be valuated, from within the Sales Order Item configuration (transaction VA01 / VA02), and will pop-up the message.

For that, we also need an object dependency (Procedure) to call the user defined function.

Here the ABAP code for the message:

Here, the result from within VA02:

Here the dependency code (two characteristics are involved, the first one is my first characteristic in the configuration, the other is just a dummy one to make the function working):

Here the function from CU67, characteristic tab:

I hope this could be of any help.

Thanks and bye,

Flavio

Ritz
Active Contributor
0 Kudos

flavio ciotola,

Nice suggestion, can you please also add  sample code as text so that if any one want to replicate it can copy and paste as syntax.

I want to give it a try in system and it will be helfull.

Thanks

Ritesh

Flavio
Active Contributor
0 Kudos

Hi Ritesh,

Sure, here it is the function code:


  DATA: v_text  TYPE string.

  IF sy-tcode = 'VA01' OR sy-tcode = 'VA02'.

    v_text = 'Dear User, do the configuration in the following way:.........'.

    MESSAGE v_text TYPE 'I'.

  ENDIF.

For what concerns the dependency (Procedure) code, well, this actually depends on your characteristics set. Basically, the call is done as explained in the SAP Help

Function Call - Variant Configuration (LO-VC) - SAP Library

Finally, I just added the procedure in the configuration profile (forgot to mention this in y previous post).

Hope this is helping.

Thanks and bye,

Flavio

keyur_mistry1
Active Participant
0 Kudos

Favio,

Awesome job done by you.

I am going for the same suggested solution.

But here I have doubt like, the text message length can be maximum what?

Can you please give your valuable input on same. And if I need help on doing same I am just expecting your guidance.

Flavio
Active Contributor
0 Kudos

Thank you, Keyur.

The message length can be 300 characters maximum, as specified by the ABAP help:

Of course, if you need any further assistance, just let me know.

Thanks again and bye,

Flavio

Ritz
Active Contributor
0 Kudos

keyur mistry,

Although you got the answer to your issue , i though adding some more can be benifial for the memebers foolowing this discussion thread and for future user too.

To make it more advance you can setup default value for dummy characteristic ( TEST_FC in flavio ciotola  example above) by setting up default indicator in value tab of characteristic. With that user don't need to assign any value to see the pop-up message, as soon as configuration pop-ups it an pop-up message will also follow.

flavio ciotola,

is it possible to increase a length of message as 30 character will not be much if some one want to use it for supplying instruction to a user on " how to completly configure a complex product"

Can we add a link in message by clicking which a detailed document stored on server can be open and show step by step guide. just an idea. hope you will agree to this possibilities too.

Thanks

Ritesh

Flavio
Active Contributor
0 Kudos

Hi Ritesh,

If we would need more than 300 characters, then we could try to use standard text and hopefully obtain a message in the 'Performace Assistant' style, making a call to the FM 'HELP_DOCULINES_SHOW'.

I've just tried it out: first of all, I created a standard text (SO10), called ZTEST_FLAVIO, then the user defined function has been updated as follows:


FUNCTION ZTEST_FCIO.

*"----------------------------------------------------------------------

*"*"Local Interface:

*"  IMPORTING

*"    REFERENCE(GLOBALS) TYPE  CUOV_00

*"  TABLES

*"      QUERY STRUCTURE  CUOV_01

*"      MATCH STRUCTURE  CUOV_01

*"  EXCEPTIONS

*"      FAIL

*"      INTERNAL_ERROR

*"----------------------------------------------------------------------

  DATA: v_text    TYPE string,

        li_tline  TYPE TABLE OF tline WITH HEADER LINE.

  DATA: v_excludefun LIKE sy-ucomm OCCURS 1 WITH HEADER LINE,

        li_help_info LIKE help_info.

  IF sy-tcode = 'VA01' OR sy-tcode = 'VA02'.

    CALL FUNCTION 'READ_TEXT'

      EXPORTING

        id                    = 'ST'

        language              = 'E'

        name                  = 'ZTEST_FLAVIO'

        object                = 'TEXT'

      TABLES

        lines                  = li_tline

      EXCEPTIONS

        id                    = 1

        language              = 2

        name                  = 3

        not_found              = 4

        object                = 5

        reference_check        = 6

        wrong_access_to_archive = 7

        OTHERS                = 8.

    CALL FUNCTION 'HELP_DOCULINES_SHOW'

      EXPORTING

        help_infos      = li_help_info

      TABLES

        excludefun      = v_excludefun

        helplines        = li_tline.

  ENDIF.

ENDFUNCTION.

and here is the result at the sales order item configuration:

Hopefully, this is enhancing a little bit the original solution.

Thanks and bye,

Flavio

Ritz
Active Contributor
0 Kudos

flavio ciotola,

Thanks , now it looks a complete solution.

Thanks

Ritesh

keyur_mistry1
Active Participant
0 Kudos
Ritesh Dube

As you know we have functionality called document management @ cstics as well as cstics value level. We can maintain document @ required level and guide user.

Any point of the time user can open that document and read it. So as per the objective; user should not come frequently for the user guidance on order configuration consistence and which can reduce our 30% of the support call.

By the way thank you very much to both of you for your valuable inputs. This is very important solution for our business.

Answers (0)