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

Problem with Radio Button

Former Member
0 Likes
3,238

Dear Expert,

I had a problem while using the syntax SUBMIT.

I created a report which displays in Grid. In output we have Material Number, Plant, Storage Location, Date.

By clicking the Material Number, I am submitting to RM07MLBD (MB5B) with material number, plant, storage location and selection date. But some times when clicking the material number, its going to dump giving as "More than one radio button active"

I can call the Transaction by Call Transaction MB5B, But i need to send the Date also. When sending the Storage Location, in MB5B Transaction we had to activate the Stock Type (Storage Locatin/Batch Lock) Radio Button. But giving the dump.

Please help me to solve this issue.

Kindly give me any other way to call MB5B transaction.

Thanks & Regards,

Srini

6 REPLIES 6
Read only

Noorie
Active Participant
0 Likes
1,686

Hi,

This dump we usually get when we give default 'X' to one radio button in Selection Screen.

Either, if you can, then remove default 'X' for radio button or clear other radiobutton when one is selected in Submit .....

Read only

Noorie
Active Participant
0 Likes
1,686

Hi,

This dump we usually get when we give default 'X' to one radio button in Selection Screen.

Either, if you can, then remove default 'X' for radio button or clear other radiobutton when one is selected.

Read only

Former Member
0 Likes
1,686

Thanks for your reply Noorie. From my Z-Report i am submitting to RM07MLBD.

In rm07mlbd, i had to select the LGBST Radio Button(Storage Loc/Batch Stock), but some times by default Valuated Stock is selected. when i am running my Z report and clicking on Material Number, the following transaction will triggered. But going to dump. My syntax is as follows.

SUBMIT rm07mlbd USING SELECTION-SCREEN '1000'

WITH matnr = wa_final-matnr

WITH werks = wa_final-werks

WITH datum = wa_final-vdatu

WITH lgort = wa_final-lgort

WITH lgbst = 'X'

WITH pa_sumfl = 'X'

AND RETURN.

Kindly give me the solution.

Thanks & Regards,

Srini

Read only

ChandrashekharMahajan
Active Contributor
0 Likes
1,686

Hi,

you will find something related infor at,

also in program RM07MLBD, below is the decalaration of the radio buttons. check if you are passing correct values etc..

using clear statement properly etc...

SELECTION-SCREEN BEGIN OF LINE.

PARAMETERS LGBST LIKE AM07M-LGBST RADIOBUTTON GROUP BART DEFAULT 'X'.

SELECTION-SCREEN COMMENT 4(50) TEXT-010 FOR FIELD LGBST.

  • Text-010: Lagerort-/Chargenbestand

SELECTION-SCREEN END OF LINE.

SELECTION-SCREEN BEGIN OF LINE.

PARAMETERS BWBST LIKE AM07M-BWBST RADIOBUTTON GROUP BART.

SELECTION-SCREEN COMMENT 4(50) TEXT-011 FOR FIELD BWBST.

  • Text-011: bewerteter Bestand

SELECTION-SCREEN END OF LINE.

SELECTION-SCREEN BEGIN OF LINE.

PARAMETERS SBBST LIKE AM07M-SBBST RADIOBUTTON GROUP BART.

SELECTION-SCREEN COMMENT 4(50) TEXT-012 FOR FIELD SBBST.

  • Text-012: Sonderbestand

SELECTION-SCREEN END OF LINE.

Thanks,

Chandra

Read only

Former Member
0 Likes
1,686

Hi,

You'll get this dump in case you are submitting to a report with a non-default radio button as 'X'. In this scenario, you need to pass the data to both the radio buttons. Let us say rad1, rad2 as two radio buttons with rad1 as default. Then your submit report should be called as

submit reportname with rad1 = ' '

with rad2 = 'X'

and return.

Regards,

Syam.

Read only

0 Likes
1,686

Thanks you all and also for syamsundar.

I am passing X, which radio button i want to select and remaining radio button as space. Thats working fine.

Thanks & Regards,

Srini