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

Problem in BDC for PFCG

Former Member
0 Likes
1,286

hi all,

I want to create a BDC for PFCG to create a new role and the assign Transaction to that role.

After Recording when iam running through SHDB it works fine in foreground but after transfering that recording to ABAP editor (se38) then it is not running. The Error is....

there are Role and Description field in header when Ok-code = SAVE appear then it is showing a mandatory Saving dialog box and when i press enter throws me out in se38 bdc but when iam running through SHDB recording bdc and when Ok-code = SAVE appear then it is showing a mandatory Saving dialog box and when i press enter it enter Menu tab and it go ahead and works fine.

__Is there any BAPI to CREATE ROLE AND ASSIGN TRANSACTION TO THAT ROLE for PFCG.__

hi all,

I want to create a BDC for PFCG to create a new role and the assign Transaction to that role.

After Recording when iam running through SHDB it works fine in foreground but after transfering that recording to ABAP editor (se38) then it is not running. The Error is....

there are Role and Description field in header when Ok-code = SAVE appear then it is showing a mandatory Saving dialog box and when i press enter throws me out in se38 bdc but when iam running through SHDB recording bdc and when Ok-code = SAVE appear then it is showing a mandatory Saving dialog box and when i press enter it enter Menu tab and it go ahead and works fine.

__Is there any BAPI to CREATE ROLE AND ASSIGN TRANSACTION TO THAT ROLE for PFCG.__

9 REPLIES 9
Read only

Former Member
0 Likes
1,138

Hi

Please Once check this BAPI's . It can solve your issue

BAPI_BUPA_ROLE_ADD

BAPI_BUPA_ROLE_ADD_2

BAPI_BUPA_SET_ROLE

regards

Hitesh

Read only

0 Likes
1,138

I had tried this BAPI but of no use is there any other way???

Read only

Former Member
0 Likes
1,138

I solved through BDC.

Thanks anyway.

Read only

0 Likes
1,138

How did you resolve this?

Read only

SuhaSaha
Product and Topic Expert
Product and Topic Expert
0 Likes
1,138

Hello,

FYI i also had the same req. some months back.

You can make use of the following FMs: PRGN1251 & PRGN1252 fms to update PFCG.

These tables directly update AGR_1251 & AGR_1252 tables & write the corres. change docs as well

BR,

Suhas

Read only

0 Likes
1,138

Hi Suhas,

I'm trying to change the "Transaction Inheritance" using BDC. Is there a proper FM for this?

Read only

0 Likes
1,138

Hi Hemant ,

Please share the solution I also need it...

Thanks

Rohit

Read only

0 Likes
1,138

Hi Hemant,

Can you paste the BDC code. I have similar issue.

Regards,

L Srikanthan

Read only

Former Member
0 Likes
1,138

Hai Hemant,

I got the same requirement . While recording i am facing some problems. May i know how achieve this .Please help me .I am new to the abap.