cancel
Showing results for 
Search instead for 
Did you mean: 

Predefined text to appear in the field on SC screen

Former Member
0 Kudos

Hello All,

My reqt is that when creating the SC thru the "Internal Goods/Services" link,while adding the Items to the SC,in the field "Internal Note",I need a predefined text to appear(basically a information text) that too based on the type of Product category of the Item which is selected(whether services/material).

Can anyone suggest how this can be done(I mean any std BADI/Exits available for this)????

Regards,

Disha.

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Disha,

You should normaly use BADI BBP_DOC_CHANGE_BADI, method BBP_SC_CHANGE.

Here, for non-catalog items (field CATALOG_ID empty), you can change the data.

Unfortunatly, the interface does not handle texts.

So you will have to change standard ABAP code.

Intermediate SC item data is entered in screen SAPLBBP_SC_UI_ITS 0230.

You will have to change FORM special_map_pbo to initialize internal text depending on the product category.

PS: Text can also be defaulted from SC default settings.

Rgds

Christophe

Former Member
0 Kudos

Hi christophe,

Can you pls elaborate "Text can also be defaulted from SC default settings"??

Thanks & regards,

Disha.

Former Member
0 Kudos

In "Default settings for items" (not available in Wizard mode), you can define a default text for all new SC items.

Rgds

Christophe

Former Member
0 Kudos

hi christophe,

Can you please specify the exact path for this default setting(thorugh SPRO)???

Also if i dont want to restrict this text to appear item wise based on the Product Category of the item,then will this default setting alone serve my Purpose?

However if I have to restrict the display of the text based on the Product category,then the only way to do this would be through modifcation of standard code,right???

Please correct me if I have understood anything of your statements wrongly...

Thanks & regards,

Disha.

Former Member
0 Kudos

Disha,

"Default settings for items" is not a customizing point, but default values that user can define for each new SC (default cost center for all items...).

You definitively have to modify the standard code, and implement your custom logic based on product category (specific customizing table).

Rgds

Christophe

Former Member
0 Kudos

Hi Christophe,

Thanks a tons Christophe...i got the starting point for my reqt...wil get back to u on this soon...

Regards,

Disha.

Former Member
0 Kudos

Hi christophe,

For the Internal Note text,I have written the folowing stmnt in the form FORM special_map_pbo.

gt_scr_spec_note-text = 'TEST!'

but still i am not able to view the text 'TEST!' in the Internal Note field on the SC screen.

regards,

Disha.

Former Member
0 Kudos

Great !!!

you have done 10% of the job... )

You don't hope to do it as simple as this, do you ??

You have to define this custom text type in all programs using it, especially to read it.

Rgds

Christophe

Former Member
0 Kudos

Hi christophe,

Can you please give some more hint on the defination of this Custom type??

Regards,

Disha.

Former Member
0 Kudos

Unfortunatly not, I don't have a cookbook for this.

This is standard in SRM 5.0, but in your case you have to debug all the function group BBP_PDH_TEXT to find all needed modifications.

There are also some references in program text elements, in HTML, in select-option lists, etc...

Rgds

Christophe

Former Member
0 Kudos

Hi christophe,

Actually im new to SRM and have never worked on such text Handling before...(actually more confused now)

!!

But thanks for the suggestions....I know this reqt is not so simple as it seems to be....I'll try more on this...Wil keep you posted..

Regards,

Disha.

former_member184214
Contributor
0 Kudos

Hello,

In your shoes I will try to play with BAdI BBP_CATALOG_TRANSFER (IMG > Supplier Relationship Management > SRM Server > Business Add-Ins (BAdIs) > External Web Services (Catalogs, Vendor Lists etc.) > Transfer Shopping Cart from Catalog)

quote from help: You can use the Business Add-In BBP_CATALOG_TRANSFER to change or add to the data that the catalog returns to SAP Enterprise Buyer via the catalog interface.

end quote

HTH

Gordan