Quantcast
Channel: SCN : Unanswered Discussions - SAP GUI
Viewing all articles
Browse latest Browse all 2552

Need to introduce a time lag into a script ...

$
0
0

I'm working on a variation of VA02 and I'm trying to simplify data entry. There are 3 different types of material that can go onto the sales order; most of the data is the same but there are technical differences the user doesn't need to know about (for instance the line item value is assigned to a different pricing condition depending on what material is used.

 

This all presented a number of challenges but I've ended up with a design where I am in a flavour of VA02 and input some line item data.

 

I use script buttons to take that data and use a WebRFC to update the order appropriately .... but of course I'm in the order already ... tricky.

 

SO ... I flip to VA03 - make the RFC call, and then flip back to VA02 .... sounds good - right?

 

BUT - the flip back to VA02 fails as the the system still believes the order is being processed ... D'oh!!

 

Does anyone have any thoughts on how to put a delay in to give the system a chance to catch up with the script?

 

Hmmmmm..... I probably should have started off in VA03 and used script calls to update .... D'oh!!!

 

Regards.

Patrick.


Viewing all articles
Browse latest Browse all 2552

Trending Articles