‎2009 Mar 07 4:34 AM
Hi frnds,
I have 1 requriment for that I have to write Module Pool.
I have created two button.
FCT Code- MM01
FCT Code- MM03
I want when FCT code MM01 calls ( It will call Tcode - MM01) & for MM03 calls the Tcode MM03,
Where I will write code in PBO or PAI.
I have writtern my code PAI.
MODULE USER_COMMAND_1000 INPUT.
CASE SY-UCOMM .
WHEN 'ME20'.
CALL TRANSACTION 'ME20'.
ENDCASE.
ENDMODULE. " USER_COMMAND_1000 INPUT
But here While calling Tcode- ME20 it give me dump
Plese help me to resolve thise issue.
Regards.
‎2009 Mar 07 4:55 AM
If you give FCT code as MM01 and MM03 use that only for calling
the transaction.
MODULE USER_COMMAND_1000 INPUT.
CASE SY-UCOMM .
WHEN 'MM01'.
CALL TRANSACTION 'ME20'.
ENDCASE.
ENDMODULE. " USER_COMMAND_1000 INPUT
‎2009 Mar 07 4:55 AM
If you give FCT code as MM01 and MM03 use that only for calling
the transaction.
MODULE USER_COMMAND_1000 INPUT.
CASE SY-UCOMM .
WHEN 'MM01'.
CALL TRANSACTION 'ME20'.
ENDCASE.
ENDMODULE. " USER_COMMAND_1000 INPUT
‎2009 Mar 07 5:20 AM
Thx Gautam.
Actully the problem was 'ME20' Tcode is not available. 'ME2O' Tcode is there.
So thats why it was showing dump.
Regards,
‎2009 Mar 07 5:28 AM
>
> Thx Gautam.
>
> Actully the problem was 'ME20' Tcode is not available. 'ME2O' Tcode is there.
> So thats why it was showing dump.
>
> Regards,
Thats Cool !!
Cheers,
Amit.
‎2009 Mar 07 6:20 AM
Dear Amit,
Can you please tell me how to set Background, while posting.
regards.