‎2008 Dec 22 9:42 AM
Hi All,
I have copied the std trasaction(fbl5) program into z program and made only small changes.
But i have not copied all the includes. i .e the program is as it is std program .
Now i want to add one more column in the output .
But i am not able to findout from where they r printing? so pls help me on this issue.
Thanks & Regards
Kalyani.
‎2008 Dec 22 9:49 AM
under the event end -of -selection
we have select query and perform for fieldcatlog there u should modify..
END-OF-SELECTION.
SELECT * FROM BSID INTO GS_BSID WHERE
BUKRS = GS_ITEMS_LINE-BUKRS
AND KUNNR = GS_ITEMS_LINE-KUNNR
AND GJAHR = GS_ITEMS_LINE-GJAHR
AND BELNR = GS_ITEMS_LINE-BELNR
AND BUZEI = GS_ITEMS_LINE-BUZEI.
PERFORM STORE_ITEMSAR USING 'X' YT_BSID_ASSIGNED_ZEILE
GS_ITEMS_LINE.
ENDLOOP.
ENDIF.
*----- Which fields should be displayed/Layout? -
PERFORM CREATE_FIELDCATALOG.
PERFORM CREATE_LAYOUT.
while copying the standard program copy the the include also to z include....
when clicking copy program button...
we will get an pop-up in that check the checkbox includes and press enter...
‎2008 Dec 22 9:49 AM
under the event end -of -selection
we have select query and perform for fieldcatlog there u should modify..
END-OF-SELECTION.
SELECT * FROM BSID INTO GS_BSID WHERE
BUKRS = GS_ITEMS_LINE-BUKRS
AND KUNNR = GS_ITEMS_LINE-KUNNR
AND GJAHR = GS_ITEMS_LINE-GJAHR
AND BELNR = GS_ITEMS_LINE-BELNR
AND BUZEI = GS_ITEMS_LINE-BUZEI.
PERFORM STORE_ITEMSAR USING 'X' YT_BSID_ASSIGNED_ZEILE
GS_ITEMS_LINE.
ENDLOOP.
ENDIF.
*----- Which fields should be displayed/Layout? -
PERFORM CREATE_FIELDCATALOG.
PERFORM CREATE_LAYOUT.
while copying the standard program copy the the include also to z include....
when clicking copy program button...
we will get an pop-up in that check the checkbox includes and press enter...
‎2008 Dec 22 10:40 AM
‎2008 Dec 22 11:17 AM
hi,
the out put is comming from call function 'FI_ITEMS_DISPLAY' .
first check whether the field which you want to display is present in 'it_pos' table are not if it is not their add that filed to that table write logic to get data. if that field is already present in table the check whether that table is getting data for that filed in deburg mode. at last add that filed to fieldcat. change the layout .
thanq,
rajesh.k
‎2008 Dec 23 9:15 AM
hi
use BTE1650 to enhance this additional colum in FBLxN transactions.Very easy approach.
Rgds,
‎2009 Jan 21 12:23 PM