cancel
Showing results for 
Search instead for 
Did you mean: 

Training and Event Management Business Events

Former Member
0 Kudos

Hi Experts,

I would like to know if there is any BAPI/ FM available to create a Business Event Under particular Busness Group and Type.
I have Some more things to have a clarification on

1. When we create Business Event in PV10, Where all the data is stored? is there any master table which holds the all values in that screen? or values are stored in separate tables? if they are in separate tables, may i now what are them and the associated infotypes also.

I debugged the Tcode to find out which FM?BAPI is getting Called while saving the data, but could not find the exact one
Please let me know the FM/BAPI to create a business Event

Thanks in Advance

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos


Special Thanks to Boris for his great support.

Issue Solved,
For those who struggle with the same,Go thorough the PP09 package well, all necessary basic things are available in standard itself.

but no Standard BAPI/FM found according to the reqiurement.

Configured the necessary according to the client requirement.

1 . Created a BDC for PV10 (Create Event Without resources) and its working fine now.
     On Recording , make sure the screen '1001' for 'Plan version' is included, else it might not work from WD even if its working fine in SE37.

if its not included in the recording, make it manual on BDCDATA

Tips,

  PERFORM bdc_dynpro      USING 'SAPLRHSV'  '1001'.

   PERFORM bdc_field       USING    'BDC_CURSOR'

                                                      'PLOG-PLVAR'.

   PERFORM bdc_field       USING    'BDC_OKCODE'

                                                      '=CONF'.

   PERFORM bdc_field       USING    'PLOG-PLVAR'

                                                      '01'.                               " Current plan


PERFORM BDC_TRANSACTION  should be used twice,

one for the screen 1001 alone and second one for remaining screens


thank you.

Former Member
0 Kudos

Hi ,

I am facing this issue in LSMW.

Is there a way to capture the below BDC code in the LSMW recording itself?

Tips,

  PERFORM bdc_dynpro      USING 'SAPLRHSV'  '1001'.

   PERFORM bdc_field       USING    'BDC_CURSOR'

                                                      'PLOG-PLVAR'.

   PERFORM bdc_field       USING    'BDC_OKCODE'

                                                      '=CONF'.

   PERFORM bdc_field       USING    'PLOG-PLVAR'

                                                      '01'.                               " Current plan


Former Member
0 Kudos

Hi,

I captured this for BDC in the following way,

1. Log off the user and Log In to the same user and client again,

2. without opening the Tcode (which we want to record), Goto Tx-  SHDB
3. Do the recording for the T code,

For each and Every Fresh log in, you will be asked to enter the Plan Version for the Tx PV10
Once you visit the PV10, it will not ask for the Plan Version Again unless you log off

Cheers

Former Member
0 Kudos

Thank you Sebin. We will use a BDC as LSMW was not helping.

Answers (2)

Answers (2)

0 Kudos

Hi Sebin,

For book attendee in event use function module RH_PARTICIPATION_EVENT , using this function module all employees are seen under event in PSV2 t-code.

Former Member
0 Kudos

Hi

check this :

function module SWE_EVENT_CREATE or SAP_WAPI_CREATE_EVENT

Creation of Events by Calling a Function Module (SAP Library - Roles in Workflow)

regards,

praneeth kumar

Former Member
0 Kudos

Hi Praneeth.

Thank you very much for your prompt response.
I think above mentioned event creation for a business object is using for workflow and other applications.


According to my requirement,

In Training and Event Management Module, (HCM), we have certain objects, and the hierarchy is as follows,

1. Business Event Group         (ex: Learning Course)

    1.1 Business Event Type     (Ex: Language Learning)

       1.1.1 Business Events      (Ex: English Language)

Here my Business Event is English Language, we can create those Events in Tcode PV10 or from easy access menu.

But i want to create it from a WebDynpro application, So i think i am need of a BAPI or FM

Please help me with this.
Thanks in Advance

Former Member
0 Kudos

Hi ,

please check function module RH_EVENT_INSERT

Regards,

Boris.

Former Member
0 Kudos


Hi Boris,

Thank you very much for your response.

i have tried

RH_INSERT_OBJECTS

RH_INSERT_INFTY    - (Thought of fill all the infotypes one by one from PSV2 Tcode, Worst Case since PSV2 is a combination of many infotypes)
RH_EVENT_INSERT

These function module, but my confusion is,
how do i pass values in the PSV2 screen to the RH_EVENT_INSERT (No table or param exist for that)?

Former Member
0 Kudos

Hi Sebin,

please try

1. creating Business Event ( template ) that contains most of the required data with  PSV2

2. use it as a reference event ( parameter REFID of RH_EVENT_INSERT )

Regards,

Boris.

Former Member
0 Kudos

Hi Boris,

Thats a nice idea, thank you.

But i think i need some more clarification.
1.when i execute this FM in se37 with the method you suggested, its directly taking me to the transaction screen PSV2. is there any other ways to skip the Transaction screen and save/execute the FM ?

2.How do i pass the end date for the Business Event?

How about creating a BDC?

will you please suggest me a suitable way or help ?

Thanks in advance

Former Member
0 Kudos

Hi Sebin,

I think you need to use BDC.

Possible solution which give flexibility to select the desired data.

1. Definition of personnel action ( collection of several logically connected infotypes )

for Business Event creation.

You can use standard personnel action "E" as example.

2. Creation Batch Input Recording with transaction PP03 and your personnel action.

You can use the recording to create function .

Regards,

Boris.

Former Member
0 Kudos

Hi Boris,

That was really helpful especially the screen shots.
Thank you very much for your great support.

I customized the PP03 Options according to our requirement. (Tcodes OOVK, OOMT are useful).


when i create an event using PP03, i see, all data are getting uploaded in the corresponding infotype database tables, but the problem is, i cant find them in the Business Event Dynamic menu in PSV2.1.

1. i gotta do any customization for displaying those events in Dynamic Business Event Menu (PSV2) ?
2. In future, if i make any changes on PP03 Customization, will it not affect my BDC badly?

3. Please let me know if i am going wrong way, Guide me.

i tried creating BDC for PSV2, its something really complex and the worst part, its not at all recording the scrolls and Mouse button clicks.


Please suggest me a way.


Thanks in advance

Former Member
0 Kudos

Hi Sebin,

1. I think your problem in PSV1/2 occurs because personnel action does not include relation between Business Event and Business Event Type ( see line 123 in third screen shot ).

2. " In future, if i make any changes on PP03 ... " - i need some more clarification.

Regards,

Boris.

Former Member
0 Kudos

Hi Boris,

Thanks for your support


1. easy purpose, i made very little configuration for Personal Actions

   <please find the screen shot>

As you mentioned, i guess, i have already customized it. and i did not forget to make some changes on the same using Tx OOVK also (Maintained A/B relation for 020)  .

2.Clarification on my second doubt,
  As of now, i need the above mentioned(in the screen) relations only. But In future, if i have been asked to customize or maintain some more relations,( like 1001 A036, 1001 A035 or so), then screens in PP03 will not change? and that will not affect my BDC badly.?

please correct me if i went wrong.

Thank you

Former Member
0 Kudos

Hi Sebin,

1. You had to create new Personnel actions with key from customer

namespace ( table TRESC ), otherwise after system enhancement your changes will be overwritten.

2. After changes  you may have some alternatives.

     2.1 Include changes in existing Personnel action

     2.2 Include changes in new Personnel action

Regards,

Boris.