cancel
Showing results for 
Search instead for 
Did you mean: 

FPM Modification - Central Contract

Former Member
0 Kudos

Hi all,

we have a requirement where, we need to change the initial screen of CCTR, launching.

Actually we have 2 places from where CCTR's can be created from Portal.

1. From Left Pane under Create Document-> Create Contract.

2. Just above the table display of contracts, we have an option for creating Contracts button, and upon click of ths button, a drop down appears with Create Contract. Below is the screen shot of the same

When we go with First option, a pop up appears to select the type of Contract and Backend System and then we need to click on create button.

This will take to main Contract Create Screen.

But when we follow the second way, it directly opens CCTR creation screen.

Now our requirement is, when user follow's first process, he should be able to see directly CCTR Creation screen without intermedate pop where we select CCTR and backend system.

Can anyone provide some pointers on this.

I tried modifying Application ID's and Config ID but no resutl.

Your help is highly appreciated.

Regards,

Pavan Kumar

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi,

Sorry for delayed response.

I have acheived this using portal administation. I have changed the value of SAPSRM_Processtype to CCTR and given the Appcc ID as /SAPSRM/WDAC_I_FPM_OIF_CTR_PURCH

Initially the AppCC ID would be /SAPSRM/WDAC_FPM_OIF_PRSEL_PTYP

Regards

Pavan Kumar.

Former Member
0 Kudos

Hi Pavan,

Can you please mention the steps how you achieved this.

I also have a similar requirement.

Thanks in advance.

former_member184741
Active Contributor
0 Kudos

hi

In AppCC WD  /SAPSRM/WDC_FPM_OIF_CONF in component controller for method OVERRIDE_EVENT_OIF create a post exit and write below code.

data: lo_fpm type ref to if_fpm,

  lv_object_id type string.

* Check event id

  if lv_event_id = if_fpm_constants=>gc_event_start.

  lo_fpm = cl_fpm_factory=>get_instance( ).

 

  lo_fpm->raise_event_by_id(

  if_fpm_constants=>gc_event-leave_initial_screen ).

  endif

thanks,

sankar.

Former Member
0 Kudos


Hi Sankar,

I would like to know how did you arrvie or came to know this AppCC WD : /SAPSRM/WDC_FPM_OIF_CON.

Actually this getting triggered after we click on left side pane-> Create Contract and then pop up is raising after selecting CCTR button and clicking on Create this method is called.

But My requirement is, I should not see the pop up to select CCTR. When I click on Left Pane -> Create document. It should directly route me to Main CCTR creation screen.

Appricate your early response.

Thanks,

Pavan Kumar.

former_member184741
Active Contributor
0 Kudos

Hi Pavan,

/SAPSRM/WDC_FPM_OIF_CONF is the AppCC behind the contract FPM application.  you can get this by looking at the component configuration. Just try the code I had mentioned. Also look at my blog to get idea about AppCC.



thanks,

sankar.

Former Member
0 Kudos

Hi Sankar,

Sorry for delay in reponding.

I have already read the bolg mentioned by you, which says how to add new tab and change the name of the exisiting Tab.

But here my question was different.

Actually we are having 2 different WDCC's:

1. /SAPSRM/WDCC_FPM_OIF_PRSEL_PTYP : This will be called when, user clicks on Left Side of portal under create Documents section for Contracts.

2. WDCC:  /SAPSRM/WDCC_FPM_CTR_PURCH which has all tabs will be called from the POWL table which will be displayed at the Bottom of the screen.

When we click on the Central Contract, the main screen will open. Which has the WDCC, mentioned in point 2. ( /SAPSRM/WDCC_FPM_CTR_PURCH )

Please let me know if it is possible to bypass the WDCC: /SAPSRM/WDCC_FPM_OIF_PRSEL_PTYP and move directly to  /SAPSRM/WDCC_FPM_CTR_PURCH .

I hope I have clearly explained my issue.

Regards,

Pavan Kumar.

former_member184741
Active Contributor
0 Kudos

HI,

I can't find /SAPSRM/WDCC_FPM_OIF_PRSEL_PTYP and  /SAPSRM/WDCC_FPM_CTR_PURCH  in my system.

Former Member
0 Kudos

Hi Sankar,

This is SRM 7.03.

WDCC:  /SAPSRM/WDCC_FPM_OIF_PRSEL_PTYP is the below pop up screen which will be launched by clicking Contract under Create Documents.

WDCC : /SAPSRM/WDCC_FPM_CTR_PURCH is the below screen shot which will be called by click on POWL Table. Create Contract

Regards

Pavan Kumar

former_member184741
Active Contributor
0 Kudos

Ok  we are in 702. But still please give a try to what i said. As far as i know this cant be donr by configuration. So we have to do a enhancement.

Former Member
0 Kudos

Hi Sankar,

The sample code mentioned by you was just to start FPM, but we are not mentioning what Appcc has to be started.

I'm trying to find right place for enhancement. Will keep you posted if I find a solution.

Regards

Pavan Kumar

former_member190689
Contributor
0 Kudos

Hello Pavan,

      The process for creating Contracts is a standard process and the about the buttons which you can see at two places for that you can ask your portal guy to remove the navigation panel for that user. Now coming to the point as I mentioned this is a standard Process and the options which you get while creating the contract are maintained in the transaction type. And would always suggest to go with First option where you need to select as you never know when user does the mistake.

Even if you want to make the screen directly pointing to the creation of contract screen then just bypass the selection in your application WDCC and if any other contract creation type has been maintained in transaction type then remove it and check the cctr as default one.

BR

Gaurav Gautam

Former Member
0 Kudos

Hi Gaurav,

Thx for your quick response, can you please let me know how to bypass the selection of application in WDCC.

Main CCTR WDCC is /SAPSRM/WDCC_FPM_CTR_PURCH which has all tabs.

WDCC for initial screen where we select CCTR & continue is /SAPSRM/WDCC_FPM_OIF_PRSEL_PTYP

Regards,

Pavan Kumar