Hi,
try this example
REPORT ztx1406.
data : gv_string type string
data:it_mara type STANDARD TABLE OF mara.
CONCATENATE 'MA' 'RA' into gv_string.
select * from
(gv_string)
into table it_mara.
select * from
(gv_string)
into table gt_acct.
Hi,
try this example
REPORT ztx1406.
data : gv_string type string
data:it_mara type STANDARD TABLE OF mara.
CONCATENATE 'MA' 'RA' into gv_string.
select * from
(gv_string)
into table it_mara.
select * from
(gv_string)
into table gt_acct.
Thanks , problem solved .
Hello,
I think in alv it's not possible. Best solution is populate your final table and make sum and average left other fields blank.
Thanks,
Abhijit
DATA: itab TYPE STANDARD TABLE OF spfli,
DATA: line(72) TYPE c,
list LIKE TABLE OF line(72).
line = ' CITYFROM CITYTO '.
APPEND line TO list.
SELECT DISTINCT (list)
INTO CORRESPONDING FIELDS OF TABLE itab
FROM spfli.
IF sy-subrc EQ 0.
LOOP AT itab INTO wa.
WRITE: / wa-cityfrom, wa-cityto.
ENDLOOP.
ENDIF.
Hello Kabil,
The best way to handle this issue is to download the Internal table data to Excel. Filter the records based on the criteria.
Other way round is to create a similiar type internal table and move bad records to this internal table based on the criteria of identifying it as wrong records.
Regards
Suresh Nair
Hi,
in method CHANGE_AT_SAVE you have these parameters available:
*S_RBKP_NEW
*S_RBKP_OLD
*TI_RSEG_NEW
*TI_RSEG_OLD
*TI_RBCO_NEW
*TI_RBCO_OLD
*TI_RBMA_NEW
*TI_RBMA_OLD
*TI_RBTX_NEW
*TI_RBTX_OLD
*TI_RBVS_NEW
*TI_RBVS_OLD
*TI_RBWS_NEW
*TI_RBWS_OLD
*I_UPDATE_FLAG
Best regards.
hi ,
Check below links :
http://help.sap.com/saphelp_scm50/helpdata/en/2a/1ec73c52aacf5be10000000a114084/content.htm
http://help.sap.com/saphelp_ewm70/helpdata/en/07/f474408273d062e10000000a155106/content.htm
http://help.sap.com/saphelp_scm41/helpdata/en/b9/d71530b48315449fc7b7b99bbcf92c/content.htm
Thanks
Tarak
Hello Juli,
In Sapscript we can make use of HTML coding so your
<UL> TESTING HEADER TEXT </UL>
Regards
Suresh Nair
Hello,
There is a parameters OUTPUT_OPTIONS of type SSFCOMPOP. Where you can pass the details of the print parameters.
For prinnting:
Constant: c_set type c value 'X",
c_print TYPE tddevice VALUE 'PRINTER',
Data:
p_screen(1) TYPE c, " Output on printer or screen
g_screen = us_screen.
PERFORM processing USING p_screen
CHANGING returncode.
Form Processing.
IF p_screen IS INITIAL.
w_compop-tdnoprev = c_set.
w_compop-tdnoprint = space.
w_compop-tdnewid = c_set.
w_ctrlop-getotf = space.
w_ctrlop-device = c_print.
Else.
For Preview
w_compop-tdnoprev = space.
w_compop-tdnoprint = c_set.
w_compop-tdnewid = c_set.
w_ctrlop-getotf = space.
w_ctrlop-no_dialog = space.
w_ctrlop-device = c_print.
Endif.
Endform.
Thanks,
Abhijit
Hi ,
Does anyone knows a function module for Deleting/Adding Components in a process order?
regards, Oli
Hello,
Can the LOIPRO01 idoc be used with and Inbound Function module?
Kind Regards,
Oli
Hello Guest,
One way is going to make them function module through SE37 transaction and put a break point in session, then you log in to view this material where the text and should enter debuguer, from here you can view the data that is should call the function module READ_TEXT.
Regards.
Yes, you should use a structure (or work area) in your IF statement.
An internal table is a table, so it can have multiple records and the system can't know on its own which particular record it should look at. On the other hand, a structure would only have one record and therefore there isn't any ambiguity.
There is an exception to what I wrote above. In old ABAP programming, internal tables with headers used to defined (using the OCCURS addition). In that case, the header used to act as a structure (or work area) and used to be referred using the same name as the internal table. In those cases, you could use the internal table name (although even then you would be referring to the header or work area) in an IF statement.
With the WHERE condition in your code extract, naturally, all records with ZCHECKED = 'N' would be changed so that ZCHECKED becomes 'Y'.
If your aim is to update just one record each time the RFC is called, then you should use a SELECT SINGLE or SELECT UP TO 1 ROWS to get the first record where ZCHECKED = 'N'. Then, you can use the UPDATE statement to change the value of ZCHECKED to 'Y' for the fetched record.
Hi,
I got an error while attempting to use the export to spreadsheet(in office 2003 XML) format.
It is opening a 'Save As' dialog box instead of exporting the report content to excel.
The option i tried is,
List-->Export-->spreadsheet-->office 2003 XML format
Please provide a solution.
Thanks,
Loganathan Mohanasundaram
Thanks Kumar for your clarifications.
Amine
Hey Ashish,
I am aware that the question was posted by you long back, but I am replying so that other readers probably can benefit from the answer below -
I faced the similar issue recently in one of the projects. The solution that i have opted is as below -
1. I leveraged the changing parameter 'ESSR' work area of the user exit 'EXIT_SAPLMLSR_010'. This user exit is internally called via BAPI_ENTRYSHEET_CREATE.
2. You can export the value of 'ESSR-BKTXT' field to memory ID from the calling program and import it within this user exit and pass it to changing parameter ESSR.
Hope this helps to other readers! ![]()
- Thanks,
Urvi.
Hey Mainak,
I am aware that the question was posted by you long back, but I am replying so that other readers probably can benefit from the answer below -
I faced the similar issue recently in one of the projects. The solution that i have opted is as below -
1. I leveraged the changing parameter 'ESSR' work area of the user exit 'EXIT_SAPLMLSR_010'. This user exit is internally called via BAPI_ENTRYSHEET_CREATE.
2. You can export the value of 'ESSR-BKTXT' field to memory ID from the calling program and import it within this user exit and pass it to changing parameter ESSR.
Hope this helps to other readers! ![]()
- Thanks,
Urvi.
Hi Rüdiger,
thanks for the explanation an the further information ;-)
Cheers,
Damir