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

creating custom action log for zprogram

Former Member
0 Likes
977

hi experts i have small doubt..plz guide me how to create a report program for action log for this i have created a ztable and i created change document for all dataelements..when i changing table values these values are captured in cdhdr ,cdpos but i dont know how to create custom program like the action log in IE03 tc..Give me a sample code also..

thanks and regards

4 REPLIES 4
Read only

SimoneMilesi
Active Contributor
0 Likes
806

You can submit the standard one

SUBMIT rsscd200
          WITH aenderer = p_uname
          WITH date_bis = date_to
          WITH datum    = date_from
          WITH objekt   = <your change object>
          WITH objektid = <the key you want to investigate>
          AND RETURN.


Where the key is build from input parameters

Read only

Former Member
0 Likes
806

Thanks  simone.

    It is working fine.but i dont want all the field in output..but i want only DATE,TIME ,CHANGED BY,CHANGED FIELD AND FIELD CONTENTS(OLD/NEW)  (structure for these field is alv_saplqmal_001)  in output like wat the 'action log'  is doing in ie03.

Plz help me with this doubt.

thanks.

Read only

0 Likes
806

Hello,

look at the report code: the function " CHANGEDOCUMENT_READ " does your job.

You get an output table with all the data you need, then you can create your alv with the fields you need

Read only

0 Likes
806

thanks very much simone.

  I got the reqired output.