Skip to Content
0
Former Member
Mar 08, 2012 at 04:50 PM

LSMW - BUS1077 - Specifications for CG02

424 Views

Hi,

to upload new and change existing EH&S specifications (CG02) I would like to use LSMW with the BAPI BUS1077, Method SAVREPMUL, message type SUBMAS.

At the moment I only try to change header data or to create a new specification, I didn't add any valuations.

For this fields SUBSTANCE with the SUBID-value, SUBCATEGRY, SUBAUTHGRP and - to see if something happens at all - the NOTE were used and filled.

I checked with two specifications, one existing, one to be created.

IDOC message is always 53 - everything fine, but nothing really happens, nothing is changed.

When I add a sender entry of any kind, I get an error. But I want to upload data, not receive it from another system.

When using function module BAPI_BUS1077_CREATE in a separate ABAP program, additionally BAPI_TRANSACTION_COMMIT and BAPI_BUS1077_SAVEFROMBUFFER have to be used. But probably this i not needed in LSMW and anyway it wouldn't be used during the IDOC processing even if added to the LSMW program.

Which fields have to be filled addionally in order to really save some data? Do you have any experience here?

Thanks a lot for your answers!

pici