Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Enhancement VL10

Former Member
0 Kudos

Hi Friends,

Could u please tell anyone briefly about the below business flow/requirement. I am working on ECC 6.0.

"<b>Add field VBAK-SUBMI as a Selection Criteria to the Selection Screen for the VL10 - Program V50RINCL, user exit V50R_SELECT_OPTION_ADD</b>"

I didn't get answer in last post, hope i'll get clear picture step by step after this post.

SURELY Points w'll be rewarded.

Thanks in advance.

Regards. VKRao.

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi

I don't know your real requirement, anyway if you need to add new selection criteria in VL10 trx:

- Create a copy of program RVV50R10C in order to add new criteria in the selection-screen;

- Create a new trx ZVL10 in order to run the new program above;

- Use the user-exits in order to transfer the values of the new criteria to std fm SHP_EXTENDED_DUE_LIST

The routine V50R_SELECT_OPTION_ADD is to optimize the data in selction-screen, so it's called in INITIALIZATION and AT SELECTION-SCREEN event

Let'us know what you need to do, give us more details

Max

5 REPLIES 5

Former Member
0 Kudos

Hi

I don't know your real requirement, anyway if you need to add new selection criteria in VL10 trx:

- Create a copy of program RVV50R10C in order to add new criteria in the selection-screen;

- Create a new trx ZVL10 in order to run the new program above;

- Use the user-exits in order to transfer the values of the new criteria to std fm SHP_EXTENDED_DUE_LIST

The routine V50R_SELECT_OPTION_ADD is to optimize the data in selction-screen, so it's called in INITIALIZATION and AT SELECTION-SCREEN event

Let'us know what you need to do, give us more details

Max

0 Kudos

Thanks Max Bianchi,

I am giving here my total business requirement, please go through, hope it's enough to solve the issue. My env. is ECC 6.0, i do have access key for this enhancement, i am giving Prog. Name, User exit etc.,

These 3 are my req./business rules for enhancement. Please provide step by step procedure, if possible,

1. Append SHP_VL10_ITEM structure to include VBAK-SUBMI - Program V50RINCL, user exit V50R_ON_SEL_CRIT

2. Add field VBAK-SUBMI as a Selection Criteria to the Selection Screen for the VL10 Delivery Due transactions. - Program V50RINCL, user exit V50R_SELECT_OPTION_ADD

3.Transfer the VBAK-SUBMI field to the report created during the VL10 transaction. – Program V50RINCL, user exit V50R_USEREXIT_TRANSF.

thanks, hoping an early reply.

Surely u'll get rewards(points).

Regards. VKRao.

0 Kudos

Hi

I suppose your requirement is to change the std trx VL10, so the program RVV50R10C, in order to add new criteria based on

VBAK-SUBMI.

1- Trx SE11: here u have to change the std structure in order to insert the field SUBMI: here u can create an append structure so u don't need to have the key access.

This structure is used by interfaces of user-exit of VL10 to manage the criteria of selection-screen.

U shouldn't need to use the V50R_ON_SEL_CRIT, it's not an user-exit, but it's include where some events AT SELECTION-SCREEN ON are defined.

2- Here you need to insert a new criteria in the selecion-screen so you have to insert a code like this:

SELECT-OPTIONS SO_SUBMI FOR VBAK-SUBMI.

U need to know in which tab has to insert this new criteria (see inlcude v50rsel3).

I can't understand why you have to use the routine V50R_SELECT_OPTION_ADD: it's not a user-exit, but it's to initialize the select-options (see the routine OPTIMIZE_LIFSP1)

3- U have to implement the user-exit V50R_USEREXIT_TRANSF in order to transfer your new criteria:

FORM userexit_select_options_transf                          "n_524424
     CHANGING  cx_select_options  TYPE shp_vl10_select_options
               cx_list_profil     TYPE shp_vl10_list_profil.

   cx_select_options-SUBMI[] = SO_SUBMI[].
ENDFORM.

4- U have to change the structure SHP_VL10_SELECT_OPTIONS to insert the range for new criteria:

- Create a structure ZSUBMI_RANGE using the these fields:

SIGN (like) SIGN

OPTION (like) OPTI

LOW (like) LGORT_D

HIGH (like) LGORT_D

- Create a type table ZSUBMI_RANGE_T based on the structure ZSUBMI_RANGE

- Insert field SUBMIT (based on ZSUBMI_RANGE_T) in append structure of SHP_VL10_SELECT_OPTIONS

Max

0 Kudos

Thanks Max,

U r help quite useful for my requirement, please carryon in future too.

Thanks a lot.

Regards. VKRao.

0 Kudos

Max Bianchi,

You are right. But you need to add the selection logic to the program. You have the new fields, but how do you restrict the selected values using the new select field ?

Please help,

I have the same requirement.