cancel
Showing results for 
Search instead for 
Did you mean: 

How to get SC Number from POWL in MODIFY_VIEW Badi

Former Member
0 Kudos

Hi All,

I need to pull SC Number of the record selected from POWL. I need this in Modify View BADI. Currently I have written some code and able to fetch the index of the record which is selected but not able to retrieve data which is there in TABLE_REF which is an attribute of CL_WDR_CONTEXT_NODE_VAL.

It is declared as DATA and I am not able to find any method which can help me retrieving data from this. Can anybody provide any pointers to this.

Thanks

Siddarth

Accepted Solutions (1)

Accepted Solutions (1)

0 Kudos

Hello Siddarth,

You can get the same value from Context node in BADI MODIFYUI.

In context node, call method to get static attributes. Please create a specific type corresponds to TABLE_REF parameter of context node.

Kindly let me know if more information required.

Regards,

Vishal Solanki

Former Member
0 Kudos

Hey Vishal,

Thanks for your response. Your tip worked for me

Thanks

Siddarth

Answers (1)

Answers (1)

Former Member
0 Kudos

Hello,

You should be able to code any enhancements in the POWL Feeder classes for the query.

For shopping cart, please check class /SAPSRM/CL_CLL_PWL_A_SC method IF_POWL_FEEDER~HANDLE_ACTION

here you can code for any custom action you want. You also have access to Lead selections on POWL result table.

Regards,

Sushil.