2008 Nov 21 6:04 AM
Hello Experts,
i am having difficulty in this part of my enhancement.
i have enhanced an infotype, and i added 1 button there which, when clicked, it should DISPLAY a custom infotype that i have developed.
here's my code:
MODULE user_command_route INPUT.
data: lv_pernr type RP50G-pernr,
lv_infty type RP50G-CHOIC.
CONSTANTS: lc_per(3) type c value 'PER',
lc_9006(4) type c value '9006'.
pcomm = sy-ucomm.
CASE pcomm.
when p_butt is "Route to new Evaluator"
WHEN GC_ZRNE.
CALL FUNCTION 'Z_POPUP_SCREEN_0494'.
when p_butt is "display implementation detials"
WHEN GC_DIMD.
psyst-ioper = 'DIS'.
SET PARAMETER ID: lc_per FIELD lv_pernr,
lc_9006 FIELD lv_infty.
CALL TRANSACTION 'PA30' and SKIP FIRST SCREEN.
ENDCASE.
ENDMODULE. " USER_COMMAND_ROUTE INPUT
i dont know why it doesnt seem to skip the first screen of infotype 9006.
can somebody please correct this coding part of my module:
WHEN GC_DIMD.
psyst-ioper = 'DIS'.
SET PARAMETER ID: lc_per FIELD lv_pernr,
lc_9006 FIELD lv_infty.
CALL TRANSACTION 'PA30' and SKIP FIRST SCREEN.
Thanks a lot. it will really be of big help. thank thnaks in advance.
Mark
Hello Experts,
i am having difficulty in this part of my enhancement.
i have enhanced an infotype, and i added 1 button there which, when clicked, it should DISPLAY a custom infotype that i have developed.
here's my code:
MODULE user_command_route INPUT.
data: lv_pernr type RP50G-pernr,
lv_infty type RP50G-CHOIC.
CONSTANTS: lc_per(3) type c value 'PER',
lc_9006(4) type c value '9006'.
pcomm = sy-ucomm.
CASE pcomm.
when p_butt is "Route to new Evaluator"
WHEN GC_ZRNE.
CALL FUNCTION 'Z_POPUP_SCREEN_0494'.
when p_butt is "display implementation detials"
WHEN GC_DIMD.
psyst-ioper = 'DIS'.
SET PARAMETER ID: lc_per FIELD lv_pernr,
lc_9006 FIELD lv_infty.
CALL TRANSACTION 'PA30' and SKIP FIRST SCREEN.
ENDCASE.
ENDMODULE. " USER_COMMAND_ROUTE INPUT
i dont know why it doesnt seem to skip the first screen of infotype 9006.
can somebody please correct this coding part of my module:
WHEN GC_DIMD.
psyst-ioper = 'DIS'.
SET PARAMETER ID: lc_per FIELD lv_pernr,
lc_9006 FIELD lv_infty.
CALL TRANSACTION 'PA30' and SKIP FIRST SCREEN.
Thanks a lot. it will really be of big help. thank thnaks in advance.
Mark
2008 Nov 24 7:11 AM
Hi,
Can you try with passing begda and endda
Eg:
set parameter id 'BEG' field begda.
set parameter id 'END' field endda.
If any subtype in your infotype use the subtype also.
Eg:
set parameter id 'SUB' field subtype.
By
Anand Babu
2008 Nov 25 6:10 AM
Hello anand,
i already tried it,
i even tried to supply ITP as parameter id for INFOTYPE (which by the way, i found here) but still is not working.
anyway, i guess the only thing to implement this requirement is via BDC...
i already tried in our sandbox, and is working...
my only problem is performance issue.
anyway,
thanks a lot for your time.
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |