Skip to Content
0
Former Member
Jun 30, 2006 at 11:48 AM

CALL TRANSACTION CC31

76 Views

Hi all,

for my diploma thesis I am looking for a way to create ECRs and assign objects to them programatically. My first idea was to use CS_BI_ECR_CREATE_BATCH_INPUT but this did not work. Now my second approach is to write an own BAPI basically calling transaction CC31. I am completely new to ABAP so these are my questions/ideas:

1. Create a BAPI

importing:

change header (RC29A)

table of change object types

table of assigned object

Exporting:

change number (CHAR72)

2. within this bapi create BDCDATA which is used in

3. CALL TRANSACTION 'CC31'

USING BDCDATA

MODE 'N'

UPDATE 'S'.

Questions:

1. is this possible? (my transaction needs to be called remotely)

2. how can I access the autogenerated change number in order to return it?

Thanks in advance, Filip