cancel
Showing results for 
Search instead for 
Did you mean: 

Hiding Print Version Button in Purchase Order Overview Screen of SNC

karanbahl
Active Participant
0 Kudos

Hi all,

We have a requirement of hiding the standard 'Print Version' alv button in the Purchase Order Overview screen in SAP SNC.

The master component is /SCF/UIWD (SNC Web dynpro component).

The master component is utilizing /SCF/BSP2WD component for this screen. In this component, I cannot see any usage for alv declared. It seems the alv has been created dynamically. The technical help(refer attachment) for the button doesn't give any conclusive evidence where the code for the alv button is written.

I observe that an assistance class /SCF/ CL_UIWD_ASSIST is being used.

Also, In BSP_CONTROLLER View, I find a method CREATE_COMPONENT_USAGE which has some coding present for ALV.

b) ALV Tableview

  if wd_comp_controller->go_tbv_usage_grp is initial.

*   Create component usage group for SALV_WD_TABLE

    wd_comp_controller->go_tbv_usage_grp = lo_cmp_api->create_cmp_usage_group(

                                                            name           = 'USAGE_GROUP_TBV'

                                                            used_component = 'SALV_WD_TABLE' ).

  endif.

However, I have no idea how to use this to refer to the Print Version Button and use it to hide it.

Any inputs on this would really be helpful.

Regards,

Karan

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

Hi All,

For hiding print version ,Do as following Setting.

SPRO ->SAP REFERNCE IMG->SAP NETWEAVER->UI technologies->SAP list viewer(ALV)->maintain webdynpro - abap specific settings

Uncheck the Checkbox Java server available.

And Check.

Thank you,

Ramya Sunkari

Former Member
0 Kudos

I need to add some fields in the ALV
have you found out where the fieldcatalogue creation / equivalent action is happening

Former Member
0 Kudos

Hello Sourav, good morning.

In wich screen you want to add new fields?

Regards,

Toni.

anupam_srivastava2
Participant
0 Kudos

Hi Karan

I have got a similar requirement, do you got the solution?

Regards

Anup

shekhar_gupta3
Explorer
0 Kudos

Hi All,

You can modify with SNC Web UI using  various ways:

1) SAP Customization mode (Add &sap-config-mode=X at the end of your SNC URL) .

In this mode, you can hide columns, buttons etc. Do not forget to make transport.

Some changes are not possible (especially in old screens like one using BSP or older than NW7.3), for that use #2

2) Application Customization BADI "/SCF/UIMDL_APPCUST"

3) Enhancement on Webdynpro componment

Regards

Shekhar

Former Member
0 Kudos

Hi Bro,

Please, help me. We have exact requirement. Have you got the solution. Or anyone else please help me out.

Regards,

Saurabha W.

Former Member
0 Kudos

Hello Karan,

You should use the web browser to change the layout. You must add the string "&sap-config-mode=X". Then, with the right button, you should change que configuration. You can define this button as invisible.

Regards,

Toni.

Former Member
0 Kudos

Hi Toni,

In supplier network collaboration- Purchase Order Overview (Supplier View ) There are two places where this Print Version Button is there. In the screenshot if you see the bottom half tab there are two tool bars. I have hidden the print version button for first toolbar which is contaning Details, Publish PO etc. But not able to find out the method where the other toolbar is created.I have tried /SCF/SCREENCFG but not able to get the appropriate method. It will be very useful if you are able to help me.

Thanks and Regards,

Saurabha

anupam_srivastava2
Participant
0 Kudos

Hi Saurabha

I have a similar requirement , I need to add a drop down menu on the alv toolbar for RR Overview screen.

Did you find any solution to your query ?

Regards

Anup