Application Development and Automation 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: 
Read only

POPUP

Former Member
0 Likes
399

I am calling the function<b> "POPUP_GET_VALUES"</b> currently the pop up title is

"Enter the Quantity to receive"...

I would like to change the title also to include the material number (EKPO-MATNR), Item number of the purchasing document (EKPO-EBELP)... How can i do that...

Currently the code is

CALL FUNCTION 'POPUP_GET_VALUES'

EXPORTING

NO_VALUE_CHECK = 'X'

<b>POPUP_TITLE = ' ENTER THE QUANTITY TO RECEIVE'

</b>* START_COLUMN = '5'

  • START_ROW = '5'

  • IMPORTING

  • RETURNCODE =

I would like the popup title to also include material number and Item number of the purchasing document...Please let me know how to do it????

3 REPLIES 3
Read only

Former Member
0 Likes
357

HI,

b4 calling the FM use concatenate...

<b>data title like string.

concatenate 'Enter the Quantity receive for' ekpo-matnr 'and' ekpo-ebelp into title separated by space.</b>

CALL FUNCTION 'POPUP_GET_VALUES'

EXPORTING

NO_VALUE_CHECK = 'X'

POPUP_TITLE = <b>title</b>

  • START_COLUMN = '5'

  • START_ROW = '5'

  • IMPORTING

  • RETURNCODE =

.

Pls Close the thread if problem is solved. Reward to all helpful answers.

Regards

SAB

Read only

RichHeilman
Developer Advocate
Developer Advocate
0 Likes
357


data: title_string type string.

* Write it to the string, so that output format comes
write ekpo-matnr to title_string.
concatenate ' ENTER THE QUANTITY TO RECEIVE FOR' title_string
               into title_string separated by space.



CALL FUNCTION 'POPUP_GET_VALUES'
EXPORTING
NO_VALUE_CHECK = 'X'
POPUP_TITLE =  title_string
....

Regards,

Rich Heilman

Message was edited by:

Rich Heilman

Read only

LucianoBentiveg
Active Contributor
0 Likes
357

Try concatenating values into an auxiliar variable. Example:


CONCATENATE ' ENTER THE QUANTITY TO RECEIVE' 
                         EKPO-MATNR EKPO-EBELP
    INTO aux_title SEPARATED BY SPACE.
CALL FUNCTION 'POPUP_GET_VALUES'
 EXPORTING
      NO_VALUE_CHECK = 'X'
      POPUP_TITLE = aux_title

Regards.