on 2015 Dec 16 2:15 PM
Hi Techies,
When I am trying to change the Asset in PO it is throwing "Enter company code" error. But the same is not happening during shopping cart creation. I debugged and found out that there are no values getting populated for mv_attributes-buk[] in standard method.
method /SAPSRM/IF_PDO_SHARED_USER~GET_COMPANY_CODE.
IF mv_initialized IS INITIAL.
CALL METHOD /SAPSRM/CL_PDO_SHARED_USER=>INIT
.
ENDIF.
RT_BUK = MV_ATTRIBUTES-buk[].
endmethod.
This table gets value from the company code attributes maintained for a particular user. My doubt is why it is getting populated during SC creation not during PO change.
Looking forward for your replies.
Thanks&Regards,
Veena
Hello,
check what's happened in CONSTRUCTOR method from /SAPSRM/CL_PDO_USER_CONTEXT class.
Regards.
Laurent.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.