Application Development and Automation 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: 
Read only

LSMW Error

Former Member
0 Likes
758

Hello All,

I am preparing an LSMW for product cost collector change, KKF7.

While recording the batch input recording I enter the data in the initial screen. Then I get a pop up for all the available cost collector. From there I filter out the desired cost collector & come back in the pop up or dialogue box. Then I select that entry & press enter.

Till this point everything gets recorded but the command for selection of the cost collector doesn't get recorded. I had my initial analysis & found out that the command should be BDC_CURSOR but what should be written against that to make the selection of the first line in the pop up. The screen for the same is SAPLSLVC_ITEM_SELECTION- 0500. I have tried everything on the key board page up, page down, TAB etc. While recording the session it works but doesn't get recorded.

Please do help me as I am having very little knowledge in ABAP as I am functional consultant.

Manoj P.

5 REPLIES 5
Read only

Former Member
0 Likes
656

Hello All,

Kindly guide me. I am stuck up here.

Manoj P.

Read only

0 Likes
656

This message was moderated.

Read only

biplob_chowdhury15
Active Participant
0 Likes
656

Hi Manoj,

If the material have no. of cost collector for different order it will give you pop-up.

Select a material which have only one product cost collector for recording only. If pop-up come it will give you error in lsmw. Create one material with order for single cost collector in your DEV server.

During recording just enter cost collector and record it.

After sucessful recording import it to production / quality server.

Please try with simple data(one cost collector) in recording.

Try and revert back.

thanks,

Biplob

Read only

0 Likes
656

Biplob,

I had tried also this before posting the question in the forum. I had tried checking the same scenario in SHDB just to play around with different commands but nothing works.

Moreover this will not be the standard case while using the LSMW. I will have to filter out the required cost collector which is subjected for the deletion. The more pathetic is that KKF7 doesn't have BAPI also, so I can't go for BAPI method too. On top of it the new transaction i.e. KKF6N is not supported by LSMW.

I am stuck & really don't understand how to resolve this.

Manoj P.

Read only

0 Likes
656

Hello All,

Any update on my requirement?

Manoj P.