cancel
Showing results for 
Search instead for 
Did you mean: 

Forceing user to do AMR in CJ02 at the time of SAVE.

former_member190178
Participant
0 Kudos

Hi Experts,

While using CJ02 (PS), at the time of giving WBS elements and thereafter its processings user wants that at the movement of saving, program should force the user to do the AMR for that WBS element.

How can we accomplish it ?

Accepted Solutions (0)

Answers (1)

Answers (1)

nitin_patoliya
Active Contributor
0 Kudos

What do you mean by AMR ? I could not understand your question. Please clrify

Regards

Nitin

former_member190178
Participant
0 Kudos

Hi Nitin,

Sorry for using abbriviation. AMR is "Asset Master Record" (AS01). Question is : when we run Cj02 and give the WBS elements to into it. So after each and every step say giving Invesntment profile or anything at last it should prompt to create the asset using AS01 for the WBS. Please feel free to ask anymore on it.

nitin_patoliya
Active Contributor
0 Kudos

In Cj02, you wanted to force the user to create asset via AS01 before save. you have to check with ABAP for that BAPI which can be implemented at save. mostly i guesss BAPI_PROJECT_MAINTAIN.

However I am not sure, you have chekcwith the possiblity with tehcnical consultant.

Regards

Nitin

venkatesh_kulkarni1
Active Participant
0 Kudos

Hi Soni,

if it is forcing you that means you are having investment profile and it is assigned to project profile...

in the investment profile(OITA) you must checked manage AUC...

because of that only system forcing you to maintain AMR...

I have faced same problem in ( CJ20N).

please once you check this then try for NITIN Option.

Venkatesh

former_member190178
Participant
0 Kudos

Hi Venkatesh,

Right now system is not forceing but I will have to make program like that so it starts force the user to do the AMR (AS01) before SAVE. I am into ABAP and PS consultant has flown back to India. Now I found some BADI's in this forum only but program is not stopping anywhere in debugging mode except WBS_FIELDS_FOR_ASSET. This BADI has 2 methods but seems of no use.

Any suggestions ?????

Former Member
0 Kudos

If you are in ECC 6.0 then before saving Badi an be created in SAP Enhancement system in which SAP has provided to create and insert badi where the transaction AS01 can be called before saving WBS element. Please consult experience Abaper for the same.

former_member190178
Participant
0 Kudos

I am working in 4.7.

virendra_pal
Active Contributor
0 Kudos

i am still a bit confused

if you are having an investment project then you will have investment profile

now when you release automatically AuC will be created

on settlement the debit will be transferred to the AuC

how can you ask the user to create AMR - asset master record in this case??

AMR for AuC is automatically created

The AMR for final asset has to be initiated by the user and the user must create it preferably from CJ20N rather than AS01 so that the distribution rule automatically sets in.

There is a BADI in 4.7 for final asset creation which should be used but the user will have to set a status of some sort to tell the system that final asset can now be created