cancel
Showing results for 
Search instead for 
Did you mean: 

Issue in Creating Multiple Inspection Lots with Custom ABAP Program

mantrishekar
Active Participant
0 Kudos

Dear Folks,

As per my Business Requirement i need to Create an Inspection Lot.

Now am using below FUnction modules in my Report to Create Inspection Lot Number.

QPL1_INSPECTION_LOT_CREATE

QPL1_UPDATE_MEMORY

QPL1_INSPECTION_LOTS_POSTING

BAPI_TRANSACTION_COMMIT

Now the above sequence is working fine for me if i Process Single Record.

But if am trying to Pass Multiple Records Multiple Records For Creating Inspection lot Number, it is Creating for First Record and after second Record my Program is terminated with an error saying 001No status object exists for &

Could any body Please help me by Providing a Solution for it.

Thanks in Advance.

Regards,

Shekar

Accepted Solutions (0)

Answers (4)

Answers (4)

raymond_giuseppi
Active Contributor
0 Kudos

Did you try to add a call of QPL1_INITIALIZE before COMMIT WORK.

NB: Using a non released FM, you MUST perform some where-used search yourself on your system !

Hint: You can find a sample in method CL_RMXT_TASK_QPLOSGEN->IF_RMXT_TASK~EXECUTE_TASK.

rupesh_brahmankar3
Active Contributor
0 Kudos

Hello,

You have to debug the process and try to find out the root cause.

Did you go through these SAP notes?

89541 Inspection lot exists w/o status object: EM BS001

536769 Inspection lots without status object

Best Regards,

R.Brahmankar

mantrishekar
Active Participant
0 Kudos

Hello Brahmankar,

No Short Dump in St22

I am not using Status_Buffer_refresh Function Module in my Program.

Regards,

Shekar.

rupesh_brahmankar3
Active Contributor
0 Kudos

Hello,

Did you get a short dump in ST22? Please check the dump in details.

Did you use the function module STATUS_BUFFER_REFRESH?

Related to message BS001 and temporary object numbers please read SAP KBA 2558352.

Also refer SAP note 536769 - Inspection lots without status object

Best Regards,

R.Brahmankar