Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

How to save Variable values ????

Hello Members!

Q1) Is it possible to save selectively values in Web Planning Application?

Q2) If yes, then is it possible to save only variable values of the web plannig application without using the standard "Save" button!

A1.1) If yes, then I presume that it has to be done at client side (Web Planning application). For that custom javascript must written inside a HTML Text Component ( in Web Interface Builder ).

A1.2) This javascript must provide a mechanism to post a HTTP-Request with parameterised variable values as "Event" and then server must update the required Variable values!

The <b>sapUrMapi.... </b> API could perhaps be used!

Q3) How could be this javascript implemented?

Q4) If the Variable selectors store different types of BPS-Variables (Hier, Exit,..), then the javascript must somehow be adapted!

For example, if the variable selector has Hierarchy variable, and the user has selected a Hierarchy Node (0HIER_NODE) and not a Leaf (Characteristic), how should the javascript convey the Node type in the Event!

Q5) Another possibility.

After selecting a new value in the variable selector and a server roundtrip (Enter button) is made. At this point we have not used "Save" button. What does this "server roundtrip" do exactly? In which BPS buffer (Class) is the new value of variable selector saved. Would it be then possible with this buffer to save only new values of variables?

Any Helpful technical explanation/example(s)/Code under Javascript/ABAP Extension Class would be greatly appreicated and awarded!


Former Member

Helpful Answer

Not what you were looking for? View more on this topic or Ask a question