‎2006 May 10 6:25 AM
hi,
i need to call a tcode 'pa30' and populate certain fields (personnel no,infotype and STY) with the values and then call the next screen.(call transaction....leave first screen)
using the parameter id's of Personnel no,STy i have displayed the initial value,when the Tcode is called....
Since there is no parameter id for the field infotype iam unable to populate my initial value in that field,how to solve this problem.
thanks,
sivaraman
‎2006 May 10 6:45 AM
Hello Siva,
You have parameter ids for these parameters.
In your program, add these three commands.
SET PARAMETER ID 'PER' FIELD RP50G-PERNR.
SET PARAMETER ID 'SUB' FIELD RP50G-SUBTY.
SET PARAMETER ID 'ITP' FIELD RP50G-CHOIC.
CALL TRANSACTION 'PA30' AND SKIP FIRST SCREEN.
Hope that solved your problem.
Regards,
Susmitha
‎2006 May 10 6:27 AM
hi,
if there is no parameter id, solution is to record the tcode using SHDB and pass it to the call transaction.
see this exmaple may give an idea of how to do it
DATA: IBDCTAB TYPE TABLE OF BDCDATA WITH HEADER LINE.
IBDCTAB-PROGRAM = 'SAPLSEUK'.
IBDCTAB-DYNPRO = '390'.
IBDCTAB-DYNBEGIN = 'X'.
IBDCTAB-FNAM = 'BDC_OKCODE'.
IBDCTAB-FVAL = '=CHNG'.
APPEND IBDCTAB.
IBDCTAB-PROGRAM = 'SAPLSETX'.
IBDCTAB-DYNPRO = '0120'.
IBDCTAB-DYNBEGIN = 'X'.
IBDCTAB-FNAM = 'BDC_OKCODE'.
IBDCTAB-FVAL = '=NEXT'.
APPEND IBDCTAB.
CALL TRANSACTION 'SE93' USING IBDCTAB
Message was edited by: Hymavathi Oruganti
‎2006 May 10 6:30 AM
HI sivaraman,
1. use CALL TRANSACTION 'PA30' using bdcdata.
2. in the internal table,
bdcdata,
put values for simulation of the first screen,
and the values in it.
regards,
amit m.
‎2006 May 10 6:35 AM
Hai Siva Raman
use the following Statements
SET PARAMETER ID 'PER' FIELD fieldname.
CALL TRANSACTION 'PA30' AND SKIP FIRST SCREEN.
Thanks & regards
Sreenivasulu P
‎2006 May 10 6:45 AM
Hello Siva,
You have parameter ids for these parameters.
In your program, add these three commands.
SET PARAMETER ID 'PER' FIELD RP50G-PERNR.
SET PARAMETER ID 'SUB' FIELD RP50G-SUBTY.
SET PARAMETER ID 'ITP' FIELD RP50G-CHOIC.
CALL TRANSACTION 'PA30' AND SKIP FIRST SCREEN.
Hope that solved your problem.
Regards,
Susmitha
‎2006 May 10 8:09 AM
THANK U FRIENDS.
HELLO SUSMITHA,
SET PARAMETER ID 'ITP' FIELD RP50G-CHOIC.
THIS IS WORKING FINE.
BUT
CALL TRANSACTION 'PA30' AND SKIP FIRST SCREEN.
ITS NOT WORKING IN MY CASE....ONCE ALL THE VALUES ARE POPULATED,DISPLAY SCREEN SHOULD BE DISPLAYED.
SCREEN : MP016700
SCREEN NO : 2000.
‎2014 Apr 13 8:29 AM
Hi Susmitha,
This doesn't skip the first screen, I think it has ambiguity in choosing among display/change/create/delete modes.
So is there any solution apart from doing a BDC?
‎2006 May 10 9:14 AM
Hi,
The other form of transmitting data would be Export/Import statement.
You can use this statement, for filling the values on the screen dynamically, this also doesnt need any screen attribute settings.
If found useful, award points please.
Thanks,
Bharadwaj
‎2008 Nov 21 8:03 AM
Hi,
we've got the same problem..
can you please tell me how did you implement it?
i've been following your thread and i can see that this one is answered..
so, i hope you can share some of your knowledge.
thanks a lot in advance.
hope to hear from you soon.
‎2010 Mar 08 10:57 AM
even i m also facing thesampe problem. there is no parameterid for a field, then how to set some value to the screen field