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: 

Record User Particular transaction

Former Member
0 Kudos

Hi Friends,

I am in Pharma company and I have requirement that whenever any user executing ME21N, in background record all screen, wahtever data is entering to create Purchase Order and put into some specific folder.

So it it possible ?

Any suggestions ...

Thanks

PP

1 ACCEPTED SOLUTION

Former Member
0 Kudos

See if this can help u.

[Functional trace|https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/299ea690-0201-0010-4f9c-e626e3b43de1]

Tcode: STATTRACE

кu03B1ятu03B9к

17 REPLIES 17

Former Member
0 Kudos

HI,

Recoding ME21N for background processing is not not possible. Instead of ME21N go with ME21 tcode.

0 Kudos

Hi

ok ME21, but can we create recording of user input for this transaction code in background without user's interception.

Any idea through event linkage or what are the possible ways to do this.

Former Member
0 Kudos

Any Idea Techies ??

If anyway to start the task...

0 Kudos

Waiting for suggestions >>>

Former Member
0 Kudos

See if this can help u.

[Functional trace|https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/299ea690-0201-0010-4f9c-e626e3b43de1]

Tcode: STATTRACE

кu03B1ятu03B9к

0 Kudos

Karthik

This is only giving information who has used which transaction. But I have to create all scren detail of that transaction in background so that I can verify it.

Requirement is when user is entering ME21N or ME21 in transaction window then each and every step is to be recorded and store somewhere like in application folder.

But main step is how to activate point that, record whole transction without user knowledge that his/her transaction is recorded.

Is it possible ???

Thanks

PP

0 Kudos

How about creating a transaction variant of shdb, with values me21n or me21 defaulted and u ask ur user to execute tht transaction variant itself, need to do some research abt how to keep all this in backgraound, but can be considered as one of the options if no other is available.

Also take a look at this:

[Online logging|http://help.sap.com/saphelp_nw04/helpdata/en/cf/74bb3ee5bf7173e10000000a114084/frameset.htm]

кu03B1ятu03B9к

Edited by: kartik tarla on Jan 26, 2009 8:41 AM

0 Kudos

Hi

I do not want to change any user perception, as per user still they will use same ME21N or ME21, but in behind the screen it will create recording for transaction and put into some folder.

So Can I use event or what is the best way to do this.

Thanks for your input Karthik.

0 Kudos

How about a webcam, or invoking an OnDemand screen recording each time the user starts the transaction?

Is this some sort of interpretation of an FDA requirement? This seems a bit absurd to me... if the user has the correct authority and the transaction makes the correct checks, then you will see the results when posted. Or, there will be nothing.

No reason to recond their typing errors before they hit "Enter" or "Save", or the application does a rollback

Sorry, I see now that it related to background processing.

Cheers,

Julius

Edited by: Julius Bussche on Jan 26, 2009 9:50 PM

0 Kudos

Julius - I don't think this relates to background processing. I think your initial idea was correct - the OP want to capture in the background every step (IE - behind the scenes, so to speak).

Is that correct PP?

Edited by: Rob Burbank on Jan 26, 2009 4:05 PM

0 Kudos

Hi Rob,

My Idea was to capture user input for this transaction and validate with higher manager whenever some sort of material has been deported.

And still we want recorded session, not from direct table.

Julie, I think u r overwhelmed with my Question, Is it so?

Thanks

PP

0 Kudos

You might want to look into change documents.

Rob

0 Kudos

Okay, now I see. My commented out comments above are appropriate, except perhaps for the first sentence

So you want something like the park & post feature? (see activity '77' of object F_BKPF_BUK in tcode SU01 for an example). Or a workflow perhaps?

User A captures => User B approves?

Or do you only want this "after-the-fact", to reconstruct what the user entered should they (for example) claim that it was not them who did it? There might also be plausible reasons for this difference (SM13, etc...), so perhaps you only want to record those?

> Julie, I think u r overwhelmed with my Question, Is it so?

Yes, I am curious now. Please be more specific.

Cheers,

Julius

0 Kudos

Hi Julius,

I am telling you one scenario, Like I am user and I am creating Purchase order through ME21N. Now As Administrator A wants to check in regular interval that which user is entering what in screen parameter of ME21N transaction.

So To fulfill this request what I want to do as a developer, I will create event or something like that so whenever user A is executing transaction code ME21 or ME21N then it will automatically record transction like we are doing through SHDB, and store into specific table.

Then I will pick those transaction and simulate it to ALV report or like Recording so that administrator will use randomly and validate it.

Is it possible through any way or not.

I appreciate your reply.

Never mind for earlier comment, I was kidding

Thanks

PP

0 Kudos

Hi, well i dont know if any already existing development is thr to help u,

but u can go for ur own custom development, something which is just like shdb but without the starting screen of shdb and the process later followed.

SAPMSBDT, this is the program behind shdb transaction, so u may have to copy it, study it and customise it to ur requirement so that it runs entirely in background, then call it inside some user exit or badi that triggers at start of me21 or me21n.

кu03B1ятu03B9к

0 Kudos

> Then I will pick those transaction and simulate it to ALV report or like Recording so that administrator will use randomly and validate it.

>

> Is it possible through any way or not.

Perhaps the GOS history will help you, once the user has hit "Enter" once. But this is stored in the shared memory of the App server while the user is in the transaction, and the user can also control this themselves (via a PID, of by displaying the history).

So from a piece of custom code, you would need to set the parameter and write the GOS history to the main memory (or your custom table).

If you search for RSSGOSHIRE then you will find more details.

> Never mind for earlier comment, I was kidding

Plan B would be a key-logger between the keyboard and the PC? Those are quite cheap as well.

Cheers,

Julius

0 Kudos

Thanks to Karthik and Julius.

Let see if its as simplest as looks like.............

Cheers

PP