Routing Long text not populated using LSMW
I need help with the ROUTING LONG TEXT using LSMW. I'm using the standard LSMW direct input program /SAPDMC/SAP_LSMW_IMP . I'm confused with NAME field while loading the data. I have tried to create the routing long text manually after successful creation i opened the Longtext at header screen and opened GOTO--> HEADER there i have seen TEXT NAME is constructed based on CLIENT || N || GROUP || GROUPCOUNTER || INTERNAL_COUNTER (CLIENT||N||PLNTY||PLNNR||PLNAL||ZAEHL - field names) I used the same logic to construct the test data for another routings which were created and doesn't have the long text. I have run the lsmw program and executed successfully but when i open the routing in CA03 i dont see the long text populated.
Test data used looks like this:
OBJECT NAME TDID SPRAS TEXTFORM TEXTLINE
ROUTING N500000890100000001 PLKO E * THIS IS A TEST1
ROUTING N500000890100000001 PLKO E * THIS IS A TEST2
ROUTING N500000890100000001 PLKO E * THIS IS LINE3
ROUTING N500000910100000001 PLKO E * LONGTEXT1
ROUTING N500000910100000001 PLKO E * LONGTEXT2
My question here is do i need to construct the NAME as i have mentioned above or do i need to just send the Routing Group number into the file for the NAME field. Help me understand what do i need to populate into NAME field.
Please help with the mistake i have done.
Pretty much appriectiated for your replies.
You asked the same question in two different forums multiple times:
Standard LSMW to load Routing Long text
Re: LSMW : Long text not visible after the import of data
Please use same one thread for one question.
I gave you most of the needed information assuming you know how to do LSMW in the first thread itself.
You need to have the following fields in your source structure in addition to other fields like long text
MANDT
PLNTY
PLNNR
PLNAL
ZAEHL
In the step Maintain Field Mapping and Conversion Rules assign the source field MANDT to the variable NAME and then again place the cursor on the variable NAME and assign variable PLNTY, (now you have two source field assigned to same variable) similarly assign all the remaining 3 source fields PLNNR, PLNAL, ZAEHL. (now you have 5 source field assigned to same variable).
Now select the variable NAME by placing the cursor click on Rule (Insert Rule) and select the radio button Concatenation .
Make sure that in your input file you have leading zeros for PLNNR PLNAL and ZAEHL etc. like below
50000089, 01, 00000001
Also, you don't need maintain the value of OBJECT, TDID, SPRAS, TEXTFORM as source fields. You can directly maintain them as constants in Maintain Field Mapping and Conversion Rules by click on the push button Rule .
Similar Messages
-
Standard LSMW to load Routing Long text
We are migrating data to sap for Routings. We are using SAP best practices to load the data into sap using idocs. But we dont have idoc structure to load Long Text.
Do you know a LSMW standard direct input to upload the routing long text.
Please help me out.Yes, you can upload long texts to pretty much any application, routings, boms, material masters, etc.
In LSMW select the following direct input method:
Object 0001 Long texts
Method 0001 (No selection)
Program Name /SAPDMC/SAP_LSMW_IMP
Program Type D Direct Input
You can define the following as constants in field mapping and conversion rule.
TDOBJECT C(010) Text: 'ROUTING'
TDID C(004) Text ID : 'PLKO' <<< if you're uploading to header
TDSPRAS C(001) Language : 'EN'
TDFORMAT C(002) Paragraph format for text line : '*'
If you want upload to operations etc look at the following table
ROUTING PLFH Long Text
ROUTING PLFL Long Text
ROUTING PLFT Long text
ROUTING PLFV Long Text
ROUTING PLKO Long Text
ROUTING PLPH Long text
ROUTING PLPO Long Text
internally SAP stores, routing group with zeros padded on the left. For example if your routing group is 200 it will be stored as 00000200 so in your flat file either you have to pad the zeros or in the LSMW you need to use the conversion exit function module.
You can following link below if you want to deeper understanding on this subject.
Re: LSMW : Long text not visible after the import of data -
Routing long text editor change
Hi,
When we go to Routing long text and try to open it, it will open one word document.
My requirement is, I want to change that word document as Notepad (text editor) for particular user.
Please tell me is it possible to change that word doc to text doc, If yes then how to make settings?
Regards,
ChetanHi Chetan,
Even I have the same problem ! I had raised a SAP ticket & waiting for the response...
Now can tell me how/what should i do to change to get a particular editor???
Awaiting for your response..
~Guru -
Hi,
Is there nay table to see routing long text field for the multiple materialDear,
Please refer these threads,
Table for routing operation text?
Re: Long text indicator
Regards,
R.Brahmankar -
Long text not displayed in outpur of adhoc query
Hi,
I am trying to run an ad hoc query in which i need the Org unit long text in the output.
When i run i only see the short text of the Org unit.I tried changing the output display option as 'Value and text' and 'text' both but it shows the short text only.
Could you please suggest what changes i need to make to the infoset to view the long text of the Org unit.
elp will be highly appreciated.
sushilThe help text does not say that this is the case for routings (and I dont know it either as I never loaded text for routings).
Of course you can read your text with the function module, as you enter the keys like you done it to load the text.
But this is not a proof at all.
In 90 % where the text does not appear it is just a matter of the used key. maybe forgot to have leading zeros in the name field.
Best you enter a text manually in a route, then you use SE16 with table STXH to find this record, and then you compare the key fields of this record with the key fields of a record you created with the upload.
if this is all okay, then it might have to do with a text indicator in the normal tables of the routing. -
Alert : long text not complete
Hi all,
I manage specific alerts in my BPM.
I have defined it as "dynamic text" alerts in ALRTCATDEF.
These alerts are well thrown by PI however I can see only the first caracter of the long text.
My version is PI 7.0 SP8.
Is it a known issue ?
Thanks in advance,
J.C.Hi JC,
This may not be an issue at all...and just the way alerts are shown in the inbox.
Just right click on the table cell where you see the first character of the text, right click and select "view source".
You should be able to see the long text within the HTML source.
Though not a solution but this can be used to test out the alert.
Regards
Gaurav
PS: Please reward points for helpful answers. -
Hello,
I have a problem triggering an alert with dynamic text out of a bpm. The alert is triggered correctly (I can't see any dump in tzhe log files), I can see the alert in my alert inbox, but the long text isn't filled. I'm using SAP Netweaver 2004s SP 9 (SAP Basis 7.00).
Then I tried the same preocedure in a SAP Netweaver 2004 SP 15 (SAP Basis 6.40) with the same settings, and it worked fine. I can see the long message in the alert inbox. The only differnce was, that in 2004s the alert classification 'Webflow Alert' didn't exist, so I had to create it.
Does anybody know, where the problem could be?
Thanks,
ThomasHi,
Just check that the length of the message is not more then the required limit. If thats the case it sometimes does not show the message.
Else, just try re-activating that step again by making some dummy chnages.
This problem happens at times when you are using dynamic variables .
Regards
Vijaya -
I create a long text using 'SAVE_TEXT' but when I go to XD03 it is not there. When I run 'READ_TEXT' I can then see the text.
How do I see the text in the transaction XD03?
I did put an 'X' in the 'INSERT' field of 'SAVE_TEXT' function module, but this didn't help.
Please help.hi,
u can use CREATE_TEXT FUNCTION MODULE to upload long text.check the record which you are uploading to xd03.
for example
for aco3 long text is uploaded based on asnum
the file is
asnum long text
SAL-345 To upload long text
that is asnum value should be in capital numbers,check it.
regards
siva -
Field Short Text and long Text not displayed in SKA1 in Se17
When try to extract chart of account data from SAP using Tcode se17 and table ska1. Short text and G/L acc long text are not displayed where as these are displayed when we use t code se16 and table ska1.
My client want to use specifically se17 for extracting the data.Vineet,
that's a joke isnt' it ?
se17 is from SAP-Rel 2.1 or s.th.!
all jokes aside - the inclusion of text table (here table skat - to table ska1) is only realized with transcations SE16 and SE16N.
To program this inclusion to se17 is very costly - i think and a modification too!
hope you can persuade your client
<a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.sdn.businesscard.sdnbusinesscard?u=iwo3sshliihvcradiegqaw%3d%3d">andreas Mann</a> -
Migrate long text to Equipment using Emigall
HI all,
I'm trying to figure out how to migrate Long Text and Internal Note to the Equipment object. We are using the Device object to migrate the Equipment data, and I don't see anything allowing for notes of any sort in the Device object.
Has anybody done this? If so, what object did you use to accomplish it?
Thanks, from a newbie
CathyHi,
You can create your own Migration Ojeect to trasnfer the Long Text. Have a look at the following thread and see if it helps.
[how to write program for the long text in EMIGALL for the DEVICE LOCATION.]
[EMIGALL for long text]
Regards,
Sachin. -
Long Text not Trasporting in QS41
When I created code entries for a code group using transacation QS41, I filled in the short text but I also added long text to further clarify which code should be chosen. When I test this option in our developement system, I can click on "Display Long Text" icon and read the extended text when I am choosing a particular code.
When I transport these catalog entries up to our staging system, the code groups, codes, short text and long text icons transport great but when I click on the long text icon I get a message "No long text exists".
Has anyone run into this or can you offer a solution?
thanksHi
BAPI_DOCUMENT_CHANGE/CHANGE2/CREATE/CREATE2 (structure BAPI_DOC_TEXT)
check following
Re: reg how to retrieve long text
Re: LSMW long text
for additional info
How to transfer long text to excel sheet?
check wheather it is useful...
Sujit -
I am trying to upload the purchase order long text in mm01 using BAPI
Hi All,
I am trying to upload Purchase Order Long text (which is in chinese Language) and Language field with ZH(chinese) in MM01 using BAPI_MATERIAL_SAVEDATA.
It is uploading properly, But in the Language field it is showing Z1(Customer reserve) instead of ZH(Chinese).
What could be the reason for this and how it can be resolved.
Thanks in advance,
RajaHi,
Which input parametr did you use? See table T002
LANGU = '1'
LAISO = 'ZH'
Rgds,
JP -
How to keep long text in bdc using create_text function module
hi,
ihave bdc in that i having field like long text i have to upload the long text using create_text function module how to use and where to use in bdc. wat parameters i have to pass exactly.
i need some other information like how can i pass this to BDC i got like this .
can u plz check it.
its a length of 255 chaters
perform bdc_field using 'RSTXT-TXLINE(02)'
'zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz'
& 'zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz'.
perform bdc_field using 'RSTXT-TXLINE(03)'
'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx'
& 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx'.
perform bdc_field using 'RSTXT-TXLINE(04)'
'yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy'
& 'yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy'.
perform bdc_field using 'RSTXT-TXLINE(05)'
'hhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhh'
& 'hhhhhhhhhhhhhhhhhhhhhh'.Hi,
Use this coding where do u want,
data: begin of textline occurs 10.
include structure tline.
data: end of textline.
start-of-selection.
textline-tdformat = '*'.
textline-tdline = 'TESTING FOR CREATION OF TEXT'.
append textline.
clear textline.
call function 'CREATE_TEXT'
exporting
fid = '0013'
flanguage = sy-langu
fname = '0095000501'
fobject = 'VBBK'
tables
flines = textline
exceptions
no_init = 01
no_save = 02.
end-of-selection. -
Text Area for long text not appearing properly for BBP_POC_DISPLAY Service
Hi,
In our development we have added additional Icon at ITS in Process PO transaction and onclicking that icon Web dynpro AB screen called with the Purchase Order No of selected row .(SRM 5.0)
There is one more icon in Web dynpro screen on click of that Purchase order service open in ITS with display mode .This is achieved with service BBP_POC_DISPLAY from Web Dynpro-AB.
This is also working ok only the issue is in Document tab of PO The Text Area for long text appear at Top .This functionality is working fine with BBP_POC service from ITS .
Has anybody faced this kind of issue ?
Thanks,
SMSHi SMS,
I am unsure of the additional component you are talking about. In general, issues with text area misplacing, is solved by note 1067625. May be you can check it.
thanks,
Ashwin -
BOM and Routing import is not populating data in base table.
BOM AND ROUTING INTERFACE Import Prog is not populating base table with interface data.Even the Interface table data is not processed.I am passing process flag as 1 and transaction_type as INSERT,still the ROUTING INTERFACE TABLES are not getting processed.
passing the below details.
INSERT INTO bom.bom_op_routings_interface
(organization_code, assembly_item_id, completion_subinventory, routing_sequence_id, organization_id,
routing_type, common_routing_sequence_id, last_update_date, last_updated_by, creation_date,
created_by, last_update_login, alternate_routing_designator, assembly_item_number, process_flag,
transaction_type) ;
INSERT INTO bom.bom_op_sequences_interface
(operation_seq_num, department_id, department_code, option_dependent_flag, operation_lead_time_percent,
implementation_date, effectivity_date, disable_date, count_point_type, backflush_flag, minimum_transfer_quantity,
operation_sequence_id, routing_sequence_id, organization_code, assembly_item_number, last_update_date,
last_updated_by, creation_date, created_by, include_in_rollup, alternate_routing_designator, process_flag,
transaction_type);
INSERT INTO bom.bom_op_resources_interface
(resource_seq_num, resource_code, resource_id, basis_type, usage_rate_or_amount, usage_rate_or_amount_inverse,
assigned_units, schedule_flag, resource_offset_percent, activity, standard_rate_flag, autocharge_type, organization_code, assembly_item_number,
operation_seq_num, effectivity_date, last_update_date, last_updated_by, creation_date, created_by, alternate_routing_designator,
operation_sequence_id, routing_sequence_id, process_flag, transaction_type);
Where am I making a mistake.
Thanks in Advance.
Sambit PradhanHi,
Try following
step 1. Insert routing header (bom_op_routings_interface) : Run Interface
step 2. Insert routing lines (bom_op_sequences_interface) with correct reference to routing_sequence_id: Run Interface
step 3. Insert all resource lines (bom_op_resources_interface) with correct reference to operation_sequence_id, routing_sequence_id , Run Interface.
Thanks,
Hrishi
Maybe you are looking for
-
Crystal Reports 2008 Runtime creates Logon Fialed error
i have a client running Crystal REport 2008 SP4. They are now receiving this error when running reports. Logon failed. Details: [Database Vendor Code: 18456 ] Logon failed. Details: [Database Vendor Code: 18456 ] Error in File Sick Leave Taken fro
-
hello again, I have a class which is very long so I will summarize the problem.I have an applet that implements runnable, and in the void run method it calls a thread and shifts my applet. and now I want to shift this system periodically but when I t
-
Apple ID reset accepted but not working
My administrator password for my iMac has stopped working. I am locked out. During log in a pop up appeared saying I can reset the password via my Apple ID. I tried but my Apple ID didnt work either. Using my PC laptop I managed to reset Apple ID and
-
Can I download software I have a physical copy/license for?
I have a physical copy of CS6 (Production Premium) and I want to install just Photoshop on a laptop that does not have a working DVD drive. Is there some way I can install it using a download + my serial number? I only need it on the laptop for a cou
-
Compressor crashing right at startup
I installed FC Studio yesterday and applied all patches (except the FCP 5.0.2 wich the installer denies to install), but compressor is starting up, showing the UI for a couple of seconds and then crashing ... every single time.