Quantcast
Channel: SCN: Message List - SAP SRM: Shopping Cart & Catalog
Viewing all articles
Browse latest Browse all 2860

Enter company code validation Error - PO change

$
0
0

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


Viewing all articles
Browse latest Browse all 2860

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>