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: 

GETTING CURRENT VALUE OF PARAMETER ID

Former Member
0 Kudos
205

Hi friends,

How to get the current value of SAP standard Parameter ID value.

My requirements is, In MIGO transaction, I want to know the current value

of the series group field when posting document.

Pl. tell me which BADI or User exit or how to get the value.

Thanks in Advance.

regards,

senthil kumar

10 REPLIES 10

naimesh_patel
Active Contributor
0 Kudos
80

You can use the

GET PARAMETER ID 'MTN' field l_matnr.  " for material

Regards,

Naimesh Patel

0 Kudos
80

Hi,

I want to read the current value, I tried it with ur examble, but it didnot work,

is there any other way?

Thank you for ur reply. whoever will give some helpful or good answer will be rewarded.

regards,

senthil kumar.s

0 Kudos
80

have you assigned any value to parameter ID before trying to fetch it??

0 Kudos
80

Hi Sharayu Kumatkar ,

You mean just filling value in field , if I am right, answer is 'yes'.

else, i could't get you.

regards,

senthil kumar.s

0 Kudos
80

while setting the parameter id have you checked if parameter ID is getting the correct value...

also check if you are using the correct parameter ID.. is the parameter ID compatible with the value that you are setting??

0 Kudos
80

Hi Sharayu Kumatkar ,

Kindly explain in technical terms, how to do that.

Screen field is : J_1IEXHEAD-SRGRP

Parameter ID is : J2H

regards,

senthil kumar.

0 Kudos
80

Hi Senthil..

This is the way..

data : val type J_1IEXHEAD-SRGRP.

GET PARAMETER ID 'J2H' field val.

write:/ val.

reward if helpful.

0 Kudos
80

Use this to get the current value of the J_1IEXHEAD-SRGRP

GET PARAMETER ID 'J2H' field l_SRGRP. " << for J_1IEXHEAD-SRGRP

Regards,

Naimesh Patel

0 Kudos
80

Hi varma,

I tried already as you said. I have used that code in MB_MIGO_BADI,

when its get executed, memory id doesnot have any value.

My requirements is, In MIGO transaction, I want to read the current value of the series group field when posting, to get this , I think we have to use

BADI or User exit, if I am right In which Badi I should use this code.

regards,

senthil kumar.s

0 Kudos
80

try using field-exits