01-09-2019 7:02 AM
Hello all,
i got a requirement to update module pool screen while processing. i.e. here i am having step wise processing
like step-1, 2 ,3..etc. after clicking on process button system has to run all steps from 1 to 5 ,then i can update the step wise status in MPP screen after execution of all steps only but here my requirement is to update the status against each step in the run time only. can any one help on this..
Thanks in advance.
Thanks & Regards,
RajA
01-09-2019 9:10 AM
Ever thought about using the SAP GUI Progress Indicator, available as a function module SAPGUI_PROGRESS_INDICATOR, which is also used in the majority of any of the 'progress' classes.
Then update the MPP screen ?
Regards
Rich
01-09-2019 10:20 AM
Dear Richard Harper,
Thank you for your reply.
Here i have to update the status against each step, for example step 1, step 2 ... step 5 all are push buttons, beside each push button i am taking one ( I/O or Text ) field to update status whether it is in progress or completed ( through signal lights or icons ), after clicking on process button all process will run one by one till step 5 but i need to update the status in the run time.
i.e., Initially all 5 steps status are empty, after clicking on process button we need to update the status field(I/O) against step 1 as in Progress and after completion of step 1 we have to update the status field(I/O) against step 1 as completed and status field (I/O) against step 2 as in progress as the same way for remaining steps status.
Thanks,
RajA
01-09-2019 9:51 AM
The solution will be specific to the type of "status" UI element you are using. What is it exactly please? (screenshot welcome)
01-09-2019 10:19 AM
Dear Sandra Rossi,
i have to update the status using traffic lights or using icons.
Thanks,
RajA
01-09-2019 11:37 AM
Ok, next suggestion is to have a look at the function module dynp_values_update.
However, you must realise where SAP came from, and that was IBM Mainframes (this can be seen in some of the function codes), for example F3 to exit a screen is still exit a screen in Z/OS, F8 for execute is execute etc. These screens were block oriented in that the computer sent an entire screen, the user filled in all the fields and then sent the whole lot back in one go rather than character at a time (like Unix or Windows) so what you are doing is trying to make SAP actually do something that it was not made to do but has been kludged to try and get it to do that.
Rich
01-09-2019 2:37 PM
Hi Rich,
DYNP_VALUES_UPDATE function module was able to update the status after execution of all steps and not used for updating the status in the run time ( while processing remaining steps).
Thanks,
RajA
01-09-2019 5:57 PM
With basic SAP GUI elements like icons, the only solution I can imagine is :