cancel
Showing results for 
Search instead for 
Did you mean: 

webdynpro and bapi_alm_Order_get_detail

former_member431412
Participant
0 Kudos

I have a WDP maintaining orders. here is the process I am having trouble with.

User presses a button

Data updated

Work Commited

Data sent to remote system via biztalk

WDP Fields set to read only

Auto refresh until response from Biztalk

The problem

Bapi_alm_order_get_detail does not recognize changed data. If I leave the WDP and restart the app, the new data is displayed

While debugging, I found that I can step into IBAPI_PROC_INIT_REQUEST and set gv_init_request to a value of 'X'.

When I change the value, the WDP gets the new data without needing to exit and restart.

In the WDP, I do not have access to the variable gv_init_request.

Can somebody give me advice on how to make the WDP act like I restarted it so I can get the updated data?

Any help would be greatly appreciated.

Thanks in advance,

Scott

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member431412
Participant
0 Kudos

I reset the data with the following code

CALL FUNCTION 'CO_ZF_DATA_RESET_COMPLETE'

     EXPORTING

       i_no_ocm_reset = ' '

       i_status_reset = 'X'.