Quantcast
Channel: SCN : Popular Discussions - SAP SRM: Shopping Cart & Catalog
Viewing all articles
Browse latest Browse all 1243

custom button in the POWL

$
0
0

Hi,

 

I have a requirement to create a new shopping cart referring the old shopping cart and updating the old PO which got created from SRM.

 

for ex : SC 1001 -> PO 2001(Classic PO) is created. Now new SC 1002 will be created referring the old SC 1001 and for new SC 1002, PO should not be created, but PO 2001 should be updated.

 

for this requirement i am planning to create a new button 'Create Reference SC' via POWL and advanced search -> Adjust POWL Layout, Search Criteria, and Pushbuttons -> Actions for POWL type ID SAPSRM_FEEDER_SC_PROF.

 

Once the button got added, i am planning to write an enhancement to control the visibility of the button based on follow on document status in the class /SAPSRM/CL_CLL_POWL_A_BO_SC-> ENABLE_BUTTONS.

 

My Question : Once i click on the 'Create Reference SC' button, this should open a new SC screen and the data from old shopping cart should be copied to the new one. Do any one know how to achieve this?

 

How do we link the action to the newly created button as we are not adding the new button in the webdynpro? Attached the screen shot of where i am trying to add the button.


Viewing all articles
Browse latest Browse all 1243

Trending Articles