on 05-09-2006 4:05 AM
Within the enhancement SAPMF02D (has a function exit), I need to know which tabs are available in a tabstrip when changing/creating a customer.
Can someone give me some hints?
Thank you very much!!!
Hi,
check the BADI <b>VENDOR_ADD_DATA_CS</b> to add the tabstrip to customer creation/change.
Regards
vijay
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Yun
You can import the customer's current screen by using import dynpro statement. by using this statement you will get all the elements on the screen in 4 internal tables, then you can findout tabstrip's tabname and text displayed on them and even you can also change and export them by using EXPORT DYNPRO statement.
Statements:
IMPORT DYNPRO h f e m ID id.
Effect
Imports the screen specified in the field id. Loads the screen information into the structure h (screen header, structure D020S) and into the internal tables f (field list, structure D021S), e (flow logic, structure D022S) and m (matchcode information, structure D023S).
EXPORT DYNPRO h f e m ID id.
Effect
Exports the screen specified in the field id. The screen information is taken from the structure h (screen header, structure D020S) and the internal tables f (field list, structure D021S), e (flow logic, structure D022S) and m (matchcode information, structure D023S).
Hope this will help you
Regards
Sumit Bhutani
Hi yun
If you will see the structure D021S which is for screen fields, in this structure there are fields for field name 'FNAM' and short text 'STXT'. In this structure you will get all the tabs for tabstrip on current screen which satisfy your question <i>I need to know which tabs are available in a tabstrip when changing/creating a customer</i>.
if you think this helped you then please dont forget to give reward points.
Thanks
Sumit Bhutani
Hi Sumit,
In the field list (type D021S), I got 3 rows. They are SUBKOPF, SUBTAB, and OK-CODE under the colum 'FNAM'. SUBKOPF and SUBTAB are the subscreen areas defined in screen 7000 of program SAPMF02D. But I couldn't get what tabs in the tabstrip are currently present in screen 7000 when changing or creating a customer.
User | Count |
---|---|
94 | |
11 | |
11 | |
10 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.