on 05-23-2009 12:31 PM
Hello Experts,
I have similar ZTCODE for J1IH.In ZTODE i need to add Cancel Ex Invoice tab of std T.Code J1IH in Application tool bar.
How to process .
Ravi
Hi Ravi ,
I think you have some code for your ztransaction.
If you have a program alognwith the Z transaction code you have to use the
status J1IHMAIN of program SAPMJ1IH from your program.
Here SAPMJ1IH is the program of the std. transaction J1IH .
You need to use the excluding keyword to exclude other tabs of the standard transaction.
Please check the following code, it will resolve the issue - -
DATA: BEGIN OF pftab OCCURS 5,
fcode(4) TYPE c,
END OF pftab.
pftab-fcode = 'MRWO'.
APPEND pftab.
pftab-fcode = 'MRRD'.
APPEND pftab.
pftab-fcode = '57NR'.
APPEND pftab.
pftab-fcode = 'DIEX'.
APPEND pftab.
pftab-fcode = 'MRDY'.
APPEND pftab.
pftab-fcode = 'TR6C'.
APPEND pftab.
SET PF-STATUS 'J1IHMAIN' OF PROGRAM 'SAPMJ1IH' " Getting the status of J1IH
EXCLUDING pftab " Except the Cancel exe inv.
IMMEDIATELY. " to get the status Immediately
WRITE 123.
Regards
Pinaki
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
You can create a transaction variant for the standard transaction using the tcode: SHD0,
Carry out the recording for the transaction variant..and You can hide, make mandatory, output only...using this technique of transaction variants.
You can refer the documentation for the same in SHD0
Regards
Shiva
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
96 | |
9 | |
8 | |
5 | |
4 | |
3 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.