2006 Nov 18 12:29 AM
hi guyz
I developed an alv report using join statements .But i got all that fields in a function module. so how can i use function module in alv .
if i got a function module with all the fileds do i need to use select statement.
plz help me.
thanks
sudheer
hi guyz
I developed an alv report using join statements .But i got all that fields in a function module. so how can i use function module in alv .
if i got a function module with all the fileds do i need to use select statement.
plz help me.
thanks
sudheer
2006 Nov 18 1:20 AM
2006 Nov 18 1:22 AM
Hi mate,
actually i need to pass tracking number frm the function module which is generated to alv report how iz it possible?
thanks
sudheer
2006 Nov 18 1:42 AM
Hi,
Modify the output internal table (let's say ITAB) that is used for displaying the ALV with the tracking number..
Ex..
CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'
EXPORTING
....
....
TABLES
<b>T_OUTTAB = ITAB_OUTPUT</b>
Thanks,
Naren
2006 Nov 18 2:13 AM
The function module to get the tracking number as follows:
Z_BAPI_CS_SHIP_A_PACKAGE
how can i use it alv
plz explain
thanks
sudheer
2006 Nov 18 2:14 AM
The function module to get the tracking number as follows:
Z_BAPI_CS_SHIP_A_PACKAGE
how can i use it in alv
plz explain
thanks
sudheer
2006 Nov 18 2:30 AM
Hi,
Please check if this is your requirement..
Are you using the FM REUSE_ALV_LIST_DISPLAY to display the records in ALV..
And you want to include the tracking number in the output??which will be a new column..
Or is it an existing column that you modify the column with the value from the Z function module..
Please post the code of your program..
THanks,
Naren
2006 Nov 18 2:40 AM
yep , it iz an existing column wanna modify the column with value frm the zfunction module and also
how can u make date from yyyy.mm.dd to mm/dd/yyyy in alv
sorry to bother you,
thanks a lot
sudheer
2006 Nov 18 3:02 AM
Hi,
Hope the following helps..
1)
LOOP AT IT_OUTPUT.
Call the function module to get the tracking number and store the output in the
variable V_TRACKINGNO.
IT_OUTPUT-TRACKING_NO = V_TRACKINGNO.
MODIFY IT_OUTPUT TRANSPORTING TRACKING_NO.
ENDLOOP.
2) Date conversion
DATA: V_CHAR(10) VALUE '2006.11.17'.
DATA: V_DATE TYPE SYDATUM.
CONCATENATE V_CHAR(4) V_CHAR5(2) V_CHAR8(2) INTO V_DATE.
WRITE: V_DATE TO V_CHAR MM/DD/YYYY.
WRITE: / 'MM/DD/YYY Format - ', V_CHAR.
Please make sure to reward points for helpful answers..
Thanks,
Naren
2006 Nov 19 12:39 AM
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |