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: 

A recording that works but the lsmw does not

ross_goodman
Participant
0 Kudos

Hi,

I have created a recording of the process which successfully changes the collection specialist in the collections managemenet role in the BP transaction.

When I process data using this recording in lsmw the batch runs fine and tells me that all transactions processed successfully. However on checking the business partners none of the changes have in fact saved.

Running the batch in foreground flows exactly the same as performing the manual change with the exception that there is no success message at the botton of the screen after the save button is pressed.

Has anyone seen this behaviour before and know how to get the transactions to save correctly in SM35?

kind regards,

Ross Goodman

5 REPLIES 5

Former Member
0 Kudos

Hi Ross,

I have not encountered such a problem but may i knw for which transaction you are doing the recording .

Please check whether you have done the recording for Change transaction or for creating?

Regards,

Rahul

0 Kudos

Hi Rahul,

I have recorded transaction BP. I just noticed too that in fact the last transaction always saves to the database, but all transactions before that report as running fine in SM35 but in fact make no change. In lsmw when you look at the process log all the "BP nnnnn was changed" messages refer to the bp in the last transaction!!

Ross

0 Kudos

In LSMW instead of using Recording try using idoc : ISMBP_CHANGE.

Let me know which field you want to change. Also send me you LSMW object by export so that i try find bug if any in recording

0 Kudos

Thanks guys. I found the problem. Using the standard search for partner functionality returns a really weird function code that SAP dosen't accept in batch!! So I changed the recording to use the open partner button on screen and this works just dandy!!

Thank you those who responded.

Ross

ross_goodman
Participant
0 Kudos

All done by changing the means of opening the business partner.