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: 

User Exit - POP UP - And ask to add value?

Former Member
0 Kudos

Hi all,

My requirement is :

For the production Order (CO01) when we confirming ( CO15) , once we enter the quantity we have to use the pop um and it will ask user to enter the batch # for the component.

So in POP UP - i have to display all the component related to material and in front of that component I have to have som kind of text box where user can enter batch #.

for eg. Pop up should look like this

______________________________________________

| Please enter the batch # for the below component.

| ________________________________

130 0004 61 00 304 -

Here user can enter the batch #__

|

| same for more compnents if more then 1.

|______________________________________________________________

Thanks in advance.

8 REPLIES 8

tamas_hoznek
Product and Topic Expert
Product and Topic Expert
0 Kudos

There are a lot of POPUP* function modules available - enter POPUP* in SE37 and see what you can find with that name.

Something like POPUP_TO_GET_VALUE or POPUP_GET_VALUES may be useful... but there are others as well.

0 Kudos

But I have 6 column against the component where user has to add for all 6 column value. so does any pop up function has that facility. If no then i think i have to create screen and that screen i have to pop so how can i do that?

tamas_hoznek
Product and Topic Expert
Product and Topic Expert
0 Kudos

Well, if you can not find any suitable function module, then yes, I suppose you'll have to create your own screen and call that. In that case, you'll be free to program all the logic what you need.

You could create a new function module that branches to screen processing. For this, you'll have to know how to work with dialog screens. I can't really give you detailed description for this... it will depend on what exactly you need to happen in that screen.

0 Kudos

You can call your custom screen with specifying co-ordinate, so that it will work like a pop up window.


CALL SCREEN dynnr 
            [STARTING AT col1 lin1 
            [ENDING   AT col2 lin2]]. 



0 Kudos

POPUP_GET_VALUES will work for u it can display as many input fields u want, and also u can give options such as making them mandotory or even provide search help to fields

кu03B1ятu03B9к

0 Kudos

This function module display field name and value of each field but I want that in vertical we have more then 1 row( 1st column of row is material that I have provide to user) and in horizontal we have more then 1 column and all i can do for some colun I can display value ( in one column and that is matnr) and for other column user can enter the value

for e.g

( Different column user will enter data)

MATNR WO #1 | WO #2 Wo # 3 GRS # 1 GRS # 2 GRS # 3

(I will provide) Use will enter data for all of this

abc

def

ghi

Thanks in advance.

tamas_hoznek
Product and Topic Expert
Product and Topic Expert
0 Kudos

Your best bet is then to code your own function module that you'd call. From there, you can call a screen with the CALL SCREEN STARTING AT... ENDING AT... command as it was described in this thread.

In your screen, you'd use a table control to design the columns and rows the way you need, and code the logic to expect and receive the values from the user. Again, you'll need to know how to work with dialog screens to accomplish this.

0 Kudos

i think its better to call a custom screen, with a table control, so u could customise according to ur requirement.

кu03B1ятu03B9к