Hi, after I created an APD using CSV-file export the generated file contains quotation marks:
"""Z_PLANUNGSRUNDE"""/BIC/YSDPLRND-YSDPLRND;"""Z_PLANUNGSVERSION"""/BIC/YSDVERS-YSDVERS;"""Z_PARTNERROLLEKAM"""/BIC/ZT_ZKSAL
I need the description of the fields in the mapping rules of course. But why were the quotation marks generated?
Unfortunatly I do not not how I could avoid this while exporting the data.
Do you know how to do?
Regards,
Peter
Request clarification before answering.
Hi Hermant,
here is the coding:
FORM compute_data_transformation
USING it_source TYPE yt_source_fields
ir_context TYPE REF TO if_rsan_rt_routine_context
EXPORTING et_target TYPE yt_target_fields .
*--------- Begin of transformation code -----------------------------
DATA: LS_SOURCE TYPE y_source_fields,
LS_TARGET TYPE y_target_fields.
LOOP AT IT_SOURCE INTO LS_SOURCE.
MOVE-CORRESPONDING LS_SOURCE TO LS_TARGET.
* Autor: Peter von Schubert, DIR
* Datum: 29.07.2021
* Währungsfeld für 0COST_VAL_S
LS_TARGET-COST_CURR = 'EUR'.
* Währungsfeld für ZTPRICE
LS_TARGET-/BIC/ZTPRICE_CURR = 'EUR'.
APPEND LS_TARGET TO ET_TARGET.
ENDLOOP.
*---------- End of transformation code ------------------------------
ENDFORM.
As you see: there is no chance to get the description of the fields... Or could it be that the target (CSV-file) has to be defined in a different way? I used transaction FILE to define the logical file name and logical destination. And I tried different data formats (ASC, BIN, DAT,...) - but w/o any effect.
Regards,
Peter
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 4 | |
| 4 | |
| 4 | |
| 3 | |
| 2 | |
| 2 | |
| 2 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.