Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Uploading sales text and purch. order text in MM01 via LSMW

Former Member
0 Kudos
460

Hi,

I urgently need help in how to upload sales text and purch. order text in MM01 via LSMW.

I'm using Direct Input, Object: 0020, Method: 0000, Program Name: RMDATIND.

I know there's a structure BMMH7 to cater for long texts for batch input, but I'm not sure as to how I can utilize this to upload sales text and purch. order text.

Please HELP!!!!!!!

2 REPLIES 2

Former Member
0 Kudos
95

Hi .

Try like this

note down the TEXTNAME, LANGUAGE, TEXT ID, TEXT OBJECT from the MENU BAR--> Header or GOTO in ur MM01 transaction.. . then declare one more structure which is specially f for this texts.structure contains the fields which r required . for example 1.Material Number,2.language,3.Text line ( Char - 72 ). then in the field mapping step. assign the text fields with texts structure , declare OBJECT , NAME , ID , SPRAS as constant values ...as this will be same for all the lines.

Reward Points it is useful.

Thanks,

Manjunath MS

0 Kudos
95

Hi,

This mail is in response to your replies in SDN.We have a critical issue regarding " Long Texts "(texts in accounting document).I have also posted the same query in SDN as a reply to your response.

1) Am using RFBIBL00( Direct Input method )LSMW, to transfer Accounting Documents.

2) I need to Update "Texts" like long texts or Extras-> texts for accounting document using Direct input method.

3)I tried to append a custom 'Z' include, that calls SAVE_TEXT function module, in program RFBIBL00 to save texts for the respective Accounting document.But the performance is very low.And this method will not work is there is an error in the record.since doument number will not be created yet.

4)If I use direct input program /SAPDMC/SAP_LSMW_IMPORT_TEXTS or /SAPDMC/SAP_LSMW_SXDA_TEXTS how will it save texts to document, before it is created , since we are still in LSMW that just generates .CONV file , but it might not create account document number, once the .Conv file goes to RFBIBL00, account document gets generated .

5)another major issue am encountering is , if one of a document fails (error) how about updating texts.How i send text to BDC in this case.

My queries are :

a) Is there any other way to update texts using Direct input method ?

b)Can I integrate, direct input program RSTXLITF with RFBIBL00, is that feasible, will i be able to save texts with out any performance issues ?

I would really appreciate if am given some suggestions or solutions for the above case.

Thanks alot in Advance !

Regards,