Skip to Content
0
Jan 16, 2021 at 03:39 PM

Standard messages not being displayed on the screen

45 Views

hi,

We are on SAP screen personas 3.0 SP10, using slipstream engine for the developement of the personas screen for MIGO_TR. We want only transfer tab with just the From Block, hence writting the script to fill the values for the Destination block fields on the screen, but after setting the batch field values the document is posting in the backend but the messages are not coming on the screen.Code pasted below for the reference.

Please advice.

Thanks

//get the batch from
var vBatch = session.findById("wnd[0]/usr/ssubSUB_MAIN_CARRIER:SAPLMIGO:0007/subSUB_ITEMDETAIL:SAPLMIGO:0303/subSUB_DETAIL:SAPLMIGO:0305/tabsTS_GOITEM/tabpOK_GOITEM_TRANS/ssubSUB_TS_GOITEM_TRANS:SAPLMIGO:0390/ctxtGODYNPRO-CHARG").text;

//set the bacth in dest as tghis is mandatory
session.findById("wnd[0]/usr/ssubSUB_MAIN_CARRIER:SAPLMIGO:0007/subSUB_ITEMDETAIL:SAPLMIGO:0303/subSUB_DETAIL:SAPLMIGO:0305/tabsTS_GOITEM/tabpOK_GOITEM_TRANS/ssubSUB_TS_GOITEM_TRANS:SAPLMIGO:0390/ctxtGODYNPRO-UMCHA").text = vBatch;


//session.utils.executeScriptAsync({src:''});
//return true; ///for std script to excute but failed