on 04-13-2016 9:12 AM
Dear Gurus ,
Please suggest some ideas to add the Pan no in the report : J1INMIS : J_1I_EWT_MIS .
Withholding Tax Information System : report .
Regards
Deep
Hi Deep,
Append required field in WITH_ITEMS structure and write your code through implicit enhancement.
Regards,
E.Ananthachari,
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Dear Gurus ,
Please suggest some ideas regarding the same .
Regards
Deep
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Dear Pranay ,
Look what i did is that I made a Zcopy of this report . ZJ_1I_EWT_MIS
And I have written the logic in the same form :-
FORM select_with_item USING koart
SELECT SINGLE J_1IPANNO FROM J_1IMOVEND INTO with_item_tab-PAN WHERE LIFNR = WITH_ITEM_TAB-WT_ACCO.
append with_item_tab.
ENDFORM.
The value is correctly fetched in the variable declared by me as with_item_tab-PAN
but how it will be displayed in the final alv displayed as the Tcode I think FB03 called here after
double click the line item..
Regards
Deep
You need to do implicit enhancement in the source code only i.e. J_1I_EWT_MIS report.
1. Go to end of the form 'select_with_item', then from menu bar->Edit->Enhancement operation->Show implicit enhancement.
2. you will see quotes mark at end of the form SELECT_WITH_ITEM. Now press (Shift+F4) to enhance.
3. it will go to edit mode, Now right click on quotes line->Enhancement operations->create Implemenation- >Declaration type.
4. Give implementation name (must start with Z or Y) and short text. Press ok.
5. Enter your code to insert PAN no. in 'with_item_tab' internal table.
Try below code:
Loop at with_item_table.
SELECT SINGLE J_1IPANNO FROM J_1IMOVEND INTO with_item_tab-PANWHERE LIFNR = WITH_ITEM_TAB-WT_ACCO.
modify with_item_tab.
endloop.
If FB03 tcode is getting triggered on line selection, then you need to enhance that as well to include PAN number.
Append structure to BSEG table and BSEG_ALV structure.
Do implicit enhancement in include MF05LFB0. Write logic to pass value to BSEG-PAN_NO.
Once the development is completed you can test by changing layout and include pan number.
Hi Deep,
BSEG is a cluster table not a transparent one and the data volume in Bseg is very large. Generally the conversion on table BSEG takes an extremely long time (sometimes several days) or terminates.
https://wiki.scn.sap.com/wiki/display/TechTSG/Table+Conversion+-+Frequently+Asked+Questions
The workaround is to check with your basis team to avoid time out dump.
Dear Pranay,
So how to activate my appended structure in the Table : BSEG , WITH_ITEM
and in the structure : BSEG_ALV.
My tables are in active mode but the appended structure is party active which is there in BSEG and in the structure FAGL_BSEG_EXT they are shown as party active .
How to activate them as my FB03 tcode is using this struture : FAGL_BSEG_EXT
and while I execute to display the document going for dump because the appended structure is party active.
So please suggest some ideas.
Regards
Deep
User | Count |
---|---|
108 | |
12 | |
11 | |
6 | |
5 | |
4 | |
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.