cancel
Showing results for 
Search instead for 
Did you mean: 

Close frame attachments in shopping cart details screen

Former Member
0 Kudos

Hi,

i'm working in SRM rel 5.0 and i have this requirement.

In detail screen of shopping cart document i need to see texts screen but not attachments screen.

I see that this operation is managed by BBP_PDH_TEXT service and there is gs_ui_control_flags structure that have HIDE_ATT_SCREEN field, set to blank.

I try, in debug, to change this value with 'X' and result is that no attachments screen is showed.

How can i set this field? Perhaps in attribute of my service using SICF transaction?

Thank's in advance.

Best regards

Maurizio Ortolani

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

We had a similar reqt.However we finally modified the ITS template in service BBP_PDH_TEXT for that.however this will disable the attachement feature for all the documents(SC,Bi etc..) as this is a common template being used across.

The commented statements are:

`BBPGroupBoxBegin(LABEL_ATT_HEADER.label)`

-


if ( (GV_MODE == "E") || (GV_MODE == "C") || (GV_INTERNAL_ATTACH_MODE == "X") )`

<table><tr><td class="instruction" tabindex="0">`#LBL_ATT_INSTRUCTION`</td></tr></table>

`BBPVSpace()`

`TABLE(class="format")`

`TR()`

`TD(class="label")`<label for="`GS_SCR_TEXT-FILENAME.name`">`#LBL_ATT_DESCRIPTION`</label>

`TD(class="data", nowrap="X")`<input `if (GV_ATT_EDIT_MODE != "")`disabled readonly `end`type="text" id="`GS_SCR_TEXT-FILENAME.name`" name="`GS_SCR_TEXT-FILENAME.name`" value="`GS_SCR_TEXT-FILENAME.value`" maxlength="64" size="30">

`TR()``Lines()`

`if (GV_CONFIG_DEACTIVATE_APPLET != "")`

`TR()`

`TD(class="label")` <label for="`GS_SCR_TEXT_FILEPATH.name`">`#LBL_ATT_PATH`</label>

`TD(class="data", nowrap="X")`<input `if (GV_ATT_EDIT_MODE != "")`disabled readonly `end`type="FILE" id="`GS_SCR_TEXT-FILEPATH.name`" title="`#HELP_ATT_PATHINPUT`" name="`GS_SCR_TEXT-FILEPATH.name`" maxlength="255" size="30">

`TR()``Lines()`

`end`

`if (GS_UI_CONTROL_FLAGS-SHOW_ATT_CATEGORY_SELECTION.value != "")`

`TR()`

`TD(class="label")`<label for="`GS_SCR_TEXT-FILENAME.name`">`#LBL_ATT_CATEGORY_SELECTION`</label>

`TD(class="data", nowrap="X")`

<input type="hidden" name="`GV_CATEGORY_SELECTED.name`" VALUE=" ">

`if (GV_DISABLE_CATEGORY_SELECTION == "")`

`BBPCheckbox (GV_CATEGORY_SELECTED.name,"","X")`

`else`

`BBPCheckbox (GV_CATEGORY_SELECTED.name,"","")`

`end`

`TR()``Lines()`

`end`

`endTABLE()`

`BBPVSpace()`

`BBPButtonBegin()`

`if (GV_CONFIG_DEACTIVATE_APPLET != "")`

`if (GV_ATT_EDIT_MODE == "")`

`BBPButton("TEXT_ATT_ADD", BUTTON_ATT_ADD.label)`

`else`

`BBPDisabledButton(BUTTON_ATT_ADD.label)`

`end`

`else`

`if (GV_ATT_EDIT_MODE == "")`

`BBPButton("", BUTTON_ATT_APPLET_ADD.label,"launchAppletCreate()", "")`

`else`

`BBPDisabledButton(BUTTON_ATT_APPLET_ADD.label)`

`end`

`end`

`BBPButtonEnd()`

`BBPVSpace()`

`BBPVSpace()`

`BBPVSpace()`

`end`

-


<table><tr><td class="instruction" tabindex="0">`#MSG_ATT_NO_ATTACHMENTS`</td></tr></table>

HTH.

BR,

Disha.

Pls reward points for useful answers.

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Atul,

Srm release is 5.0 and i'm working with standard scenario.

If you give me your email address i send you an attachment.

In attachment you can find which hot level packages and in second screen, a tab where you can define interface parameters.

I try to change it but doesn't work.

Best regards

Maurizio

Former Member
0 Kudos

Hi

Please go through my business card to get the details for the same.

Waiting for you details.

Regards

- Atul

Former Member
0 Kudos

Hi All,

Use Screen Variant to hide attachments sub screen. I made that for a client with SRM 4.0

Regards

Former Member
0 Kudos

Hi Disha,

thank's for your response but i don't want to change ITS template at the moment.

I hope that there is a way without code changes.

Best regards

Maurizio Ortolani

Former Member
0 Kudos

Hi

Which SRM version and scenario are you using ?

<b>I am not sure it is possible, without making modifications to the HTML Templates of the service BBP_PDH_TEXT. We have made similar changes long time back, using template modification.</b>

Also, you can go through the following SAP Notes as well ->

<u>Note 1039919 If no attachments from Purchaser, hide it in PO Edit Screen

Note 998201 E-Sourcing Enterprise SRM Java Server 4.2 SP3 Release & Info

Note 998099 E-Sourcing Enterprise plus Contracts 4.2 SP3 Release & Info</u>

Regards

- Atul