Skip to Content
0

BADI/BAPI for adding fields to classification worklist in SAP GTS?

Aug 23, 2017 at 05:00 PM

91

avatar image
Former Member

My requirement is to add two custom fields to the standard report while displaying product classification worklist in SAP GTS. It will be great if experts suggest on this

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

2 Answers

avatar image
Former Member Aug 24, 2017 at 02:59 AM
0

Hi Caroline,

I`ll try to guess, as you do not mention which specific 'custom fields' you have in mind, and if their purpose is purely to filter the selection of materials that go into the work-list. Generally, the requirement to extend the work-list for product classification selection criteria with new fields can be easily handled via generic product attributes. This is controlled in customizing, where you have the options to have up to 5 fields of a set length each - ie 5 custom fields with length 1 character, 5 fields with length 10, etc. You can name the fields in customizing as well, in the same IMG path. Once this is defined, every transaction selection screen that relates to a product will have these new fields available for selection - not only classification work-list TC, but also product display TC, etc..

Its not immediately clear how are you planning to populate these fields (?). If you choose to use the additional product attributes, whey are usually transferred with the material itself during material master distribution from ECC. A user exit implementation on the ECC feeder system side is necessary to populate them properly and send across to GTS where they will be mapped according to customizing mentioned at the beginning.

Hope this helps.

Regards,

Branio

Show 4 Share
10 |10000 characters needed characters left characters exceeded
Former Member

Thank you for your reply. My requirement is to add two custom fields to the standard report (standard ALV) and not the selection screen. To be more precise, I need fields to be added in /SAPSLL/SAPLPROD_CLASS_IFACE screen 100. The structure that I am trying to extend is /SAPSLL/PRODUCT_CLASS_SEL_UI_S to display my fields to the standard ALV. This structure cannot be enhanced, so I am looking for other options.

Population of the custom field is already handled using User Exit SLLLEG04.

0
Former Member

Former Member May I know the customizing IMG path you are talking about?

0
Former Member

Hi Caroline,

Attached is a screenshot where the product additional attributes are customized on the GTS side. If the ECC side is done already, and the attributes linked, then the attributes would be populating PRGEN table. I dont have a system to play around at the moment unfortunately to confirm.

To understand you requirement yet a bit better, what do you want to do with these 2 fields ? Should they be read only,a visual guide for the user ? Or do you want to edit/maintain them in the classification worklist ?

Using additional attributes, they are in standard solution a read-only field, where the `source of truth` is the ECC source system. If you`d want to change them you`d need a custom logic to write into PRGEN table, but with any subseqent re-transfer of material from ECC to GTS, the changes done in GTS would be flushed-out by ECC values.

Regards,

Branio

gts-attributes.png

gts-attributes.png (33.1 kB)
1
Former Member
Former Member

Thank u for the screen shot. My fields are only for display! Will try and use them for the standard ALV :)

0
Dave Willis Aug 24, 2017 at 04:36 PM
0

Hi Caroline,

Unfortunately there's no standard solution to meet your requirement. I think you'll have to use a Code Enhancement or other "hack" to add your additional columns.

Regards,

Dave

Share
10 |10000 characters needed characters left characters exceeded