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: 

BDC program for ITEM level

Former Member
0 Kudos

Hi Experts,

I need to write a BDC prgroam for the following requirement.

Can you please help me since I don't know for this scenarios and very urgent to me ?

Scenario: For tcode: IA02

After entering Equipment number , it will navigate to next screen in that we can find list of counters like 1 and 2 etc.

If we select any of that counter and click on operation which is in the toolbar it takes to next screen where we can find list

of operations . So, for that operation i need to update the longtext (we can find field name LT with checkbox)which is 240 char max.

Ex: Equipment number: 410000000

In that COunters will be : 10, 20, 30

When we select particular conter: it will take to list of Operations:

0010, 0020,0030 .... for each operation number i need to update the long text.

410000000 - Equipment number

10 - Counter

Operation - 0010 - Here LT - Long text

Operation - 0020 - Here LT - Long text

20

0010 - Here LT - Long text

0020 - Here LT - Long text

0030 - Here LT - Long text

Can you please help me for this scenario ?

Thank you very much in advance.

6 REPLIES 6

JL23
Active Contributor
0 Kudos

you can you LSMW or BDC to load long text regardless of header or item level or the the original maintenance transaction.

Please see:

http://help.sap.com/saphelp_nw70/helpdata/en/fb/787039172511d2b428006094b944c8/content.htm

Former Member
0 Kudos

Hi Jurgan,

Thank you for reply.

I didn't get how to consider the inputs for that for mycase.

Can you please suggest me ?

JL23
Active Contributor
0 Kudos

the text is an individual opject.

it has key fields which makes the takes individual

Best you go into the maintenance transaction, then open the long text in the text editor (often possible with ay double click in the text window, or by clicking the editor icon)

in the editor choose from menu GOTO > HEADER

Here you see the key information for your individual text, e.g. text name, text id , text object, language.

And this is what you need to supply a long with the text to load the long text.

Former Member
0 Kudos

Hi Jurgen,

I have executed the program: /SAPDMC/SAP_LSMW_IMPORT_TEXTS from the above link which you suggested me.

There i couldn't find anything as you said. I think i am not taking it properly.

Can you please spare some time to give me elabarately how can I apply those programs for my case ?

I am confused with information what is provided in that link Since there are few programs i am not sure

what i have consider in which orde.

Tahnk you in advance.

Sandra_Rossi
Active Contributor
0 Kudos

Hi,

Another way is to call SAVE_TEXT function module, instead of using BDC. You'll find lots of examples in SDN.

But first, you need to know the IDs of this kind of text (TDID, TDOBJECT and eventually TDNAME if it's a compound name). Go to your transaction, display the text, click "change editor" button or menu, then menu "goto header", and here they are.

Sandra

JL23
Active Contributor