Skip to Content

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

Sales org/dist channel parameter values

I have a material workflow based on BO BUS1001006. I have a request to add visibility of the Sales Org if the user enters one when they create a material. MVKE-VKORG is not part of this business object. I tried adding it as a database field but I'm not sure how to access the parameter the user would have entered. Is it possible?

If it is not possible, how could I add display of the sales org. I tried also adding as a virtual attribute but I am faced with the same issue - coming up with logic that would pick the sales org the user entered for each instance of the workflow.

Your help is greatly appreciated.

D. Scott

Former Member
Former Member replied

BO BUS1001006 will not work in your case. The key is only the material number. The object is instantiated with the key and nothing else.

You can think it like this: Go to transaction SWO1 and test your business object. Click the instantiate button. You need to enter the key, which is the material number. When you instantiate the object, the attributes get populated. Where is for example your vkorg? It's nowhere because you are not able to give it as an input (=it is not part of the key).

If you want to have the sales organisation and distribution channel in your workflow, you need to deliver them to the workflow during the workflow starting phase for example with event parameters or whatever. Then they will be individual container elements and not part of the BUS1001006. Other option is that you change BUS1001006 to something else that has a key <material number> + <sales org> + <distribution channel>.

Regards,

Karri

0 View this answer in context

Helpful Answer

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