on 01-29-2016 9:36 AM
Dear Gurus ;
I need to upload Long texts for Routings (Tcode:CA02) and i'm using this Direct Input Program /SAPDMC/SAP_LSMW_IMPORT_TEXTS related to the Object(0001:Long texts) and the method (0001).
I have created 2 Source structures (one for the Header (LTXTH2) and the second one for the line (LTXTL2) with their fields (STYPE, OBJECT, NAME, ID and SPRAS) for the Header and (STYPE, TEXTFORMAT and TEXTLINE) for the Line.
My problem is in te step : Maintain Field Mapping and Conversion Rules , how to map the field NAME ??
Here is the rest of the Mapping that i have done:
For the Header fields :
STYPE : constant = ' 1 '
OBJECT : constant = ' ROUTING '
NAME = ???!!!
ID : constant = ' PLPO '
SPRAS : constant = ' EN '
For the line fields:
STYPE : constant = ' 2 '
TEXTFORMAT : constant = ' * '
TEXTLINE : transfer = LTXTL2-TEXTLINE.
Many thanks 🙂
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Dear Juergen ;
Thank you sO much for your quick answer. I did as you mentioned in your blog with one sample record and this is the result :
1 Maintain Object Attributes
2 Maintain Source Structures
3 Maintain Source Fields
4 Maintain Structure Relations
5 Maintain Field Mapping and Conversion Rules
13 Start Direct Input Program
BUT when i go to Tcode CAO2 and i select the first Operation and click on the text editor bottom, i don't find the Long Text !!!
Any suggestions from your side ?
Many thanks
Best Regards !
The direct input moves the text direct into the STXH and STXL long text tables, for some objects SAP also has a flag on the leading tables that long text exists. This field is not updated with the direct input. You would need a Z-report to update this field. See this OSS note
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.