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: 

problem recording CL20N in LSMW and/or uploading data with object and batch input

Former Member
0 Kudos

hello all

I want to fill the characteristics of all our releases strategy class of type 032: I tried to create a LSMW and I incurred in several problems:

1) recording of CL20N is not possible: after entering the strategy group and code, the recording stops with the error DYNPRO_NOT_FOUND; I found out it is a probable bug in ECC6, since in 4.6C it worked fine and several people in this forum incurred in the same problem

2) I tried to use object 0130 with batch input but I get an error at the step "assign strategy to class" with OK-CODE /13,saying TMCLF-CLASS(2) is not an input field. the class exists already in fact and it is in fact a display only field: how can I avoid this step (if possible at all)?

3) lacking that, how can I fill the strategies (I have quite some) characteristics aside from the obvious manual way?

thank you

Alisa

28 REPLIES 28

Former Member
0 Kudos

See note 213120.

Rob

0 Kudos

thanks but in fact, the note says that as from 4.6A it does not work anymore: we have 4.6C and it works fine; in the second system, ECC6, I have problems also with the Bapi and the direct input

0 Kudos

You need to use a BAPI. Alternatively try batch input with thransaction CL20. This is what the note says.

Rob

0 Kudos

i know and I tried: not possible

0 Kudos

Hi,

I think this bapis solves your problem:

BAPI_OBJCL_GETDETAIL

BAPI_OBJCL_CHANGE

I use with no problems.

Regards,

Maria João Rocha

0 Kudos

hi Maria and thank you for the suggestion:

how do you use it?

0 Kudos

Hi Alisa,

If you just want to update characteristic values,then I would suggest to use CLMM mass update. For bapis please review note 943559.

You can use transaction BAPI to find more information and documentation the relevant bapi.

Regards

Amber

0 Kudos

hi amber and thank you for your reply: I know transaction CLMM but if I use that, I must fill in all the char. manually: with the LSMW, I filled the excel sheet and would do that in one go.

0 Kudos

Hi,

Using BAPI_OBJCL_CHANGE and pass the value for the characteristics on tbales

allocvaluesnumnew 
allocvaluescharnew

allocvaluescurrnew

See the BAPI documentation:

Moderator message - Maria - there is no need to cut and paste the documentation. It's there for all to see.

Regards,

Maria João Rocha

Message was edited by: Rob Burbank

Former Member
0 Kudos

Hi Alisa,

In that case , bapi will be more helpfull. Please use transaction bapi for more information.

Thanks

Amber

Former Member
0 Kudos

thank you all: I already went to see the bapis, read the documentation, the related notes but it seems to me i can use them only if I create a special report (which i wanted to avoid).

i tried to use the ones mentioned in the lsmw but they seem to have a problem when i want to fill several characteristics in several different strategies with more than one value per char.

I apologize if I am just plain ignorant: I simply never encountered this, as I always used the lsmw and never had problems in 4.6C (even if SAP says otherwhise)

enlighten me please....

0 Kudos

Hi,

CLB2?

Regards,

Maria João Rocha

0 Kudos

yes that would be direct input....I tried but i have the same problem: it does not manage to transfer the data because when it gets to the class name/number, which is already defined and set for the strategy, it gets stuck and I receive the message that it is not an input field (which is not supposed to be)

0 Kudos

In your recording, you have to be sure that you press "add new rows" for CL20.

Rob

0 Kudos

Hi,

Are you using the rigth format, for characteristics is BIAUSP.

Regards,

Maria João Rocha

Former Member
0 Kudos

Maria: the right format where? in which transaction? in any case I think I am because it is characteristics but in a classification: basically i need to fill release strategies classification;

Rob: I wish I got so far!! the recording stops before: as soon as I fill the release group and code, the recording stops and I get the message I mentioned above.

0 Kudos

Alisa,

Please see TC CLB2 documentation.

It's all there.

Regards,

Maria João Rocha

Former Member
0 Kudos

lets look at another angle: when I use standard batch/direct input object BUS0130 in LSMW, it seems to work in foreground but in background, it gets stuck at the following step:

lets say I have one strategy in class release_preq with 15 records of characteristics to fill; the object opens each time the strategy and class, fills one characteristic line, saves and continues. But when it opens the strategy classification again (AKA CL20N) the class name appears already and it is a display field only: the batch input gets stuck there and gives a message that it is not an input field; as if it tries to fill the class name again.....if I continue manually in foreground (only by pressing enter) the batch input continues.

any idea on how to solve this? if i can solve this the rest will work

0 Kudos

CORRECTION: the batch input stops because it checks the second row at field RMCLF-STDCL(2) and complains it is not an input field (which in fact it is not because there is nothing on the second line: the class is on the first line only)

0 Kudos

Then it appears that you have already pressed "add new rows" or the transaction has done that for you . So, in any event, just use TMCLF-CLASS(1) instead of TMCLF-CLASS(2).

Rob

0 Kudos

indeed Rob it appears so....the only problem is I did not do anything! this is not a recording, remember?? it is object BUS0130 therefore it is the system that is doing this

0 Kudos

alisa majer wrote:

this is not a recording, remember?

But the title of this discussion is "problem recording..."

??

Rob

0 Kudos

rob: half truths are VERY dangerous....the entire title is "

 

 

problem recording CL20N in LSMW and/or uploading data with object and batch input

also, in my reply just above the screen shot I explain that I get this problem when I use the obeject BUS0130

Former Member
0 Kudos

Maria: yes, my file formats contain the right format and structure, so it is not the problem; I have run this with LSMW, also with DI and the system did not manage to make the transfer...

0 Kudos

Hi Alisa,

Did you resolve it. I am also facing the similar issue. I am able to create characteristics for material, functional location and equipment using direct input method 0130 but unable to change the characteristics value through recording of CL20N.

Could you please share your solution.

Best Regards,

Abirami

0 Kudos

In the LSMW try to use method 0002 (Direct input) rather than 001 (Batch input) for program RCCLBI03.

I had the same issue when generating BIMS with the standard classification LSMW for Release strategies . When i canged to Direct Input; they were gone  and all went in fine.

Joris

anete
Participant
0 Kudos

Try batch input recoding with tcode CL24n

0 Kudos

Thanks,

CL24N worked for me