Skip to Content

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

Using Variables from Field Assignments in a userexit

Hi,

I am doing a ‘goto’ from one query to another query. My problem is that one query passes company code while the second query searches using plant. In the field assignments there is a variable for 0comp_code, I want to use this variable in a userexit to convert the company code to its relevant plants. I have an ODS which contains the necessary relationship.

Is it possible to convert this company code assignment field variable to a plant selection screen variable in a goto operation? If so what will be the name of the variable in the userexit?

Thank you.

Former Member
Former Member replied

If you add 0comp_code as navigational attribute of 0plant (and load it), you can add 0comp_code as navigational in cubes compounding the multicube and, subsecuently, in the multicube. Then you can set 0comp_code as filter in your query and not conversion will be necessary. I don't see any clear manipulate the variable in the query jump.

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