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: 

Mass Upload of PFCG Roles and Transactions

Former Member
0 Kudos

Hey Guys,

I have done the recording of PFCG.

i have given

1)Role Name

2)Desc

3)MENU tab ADD Transaction

pop up opens for entering the Transactions

4)i have added 2 transactions in my recording.

vl02n

vl03n

i have DOwnlaoded the Template From Test Configuration.

I have modified the Template and Saved it in Tab Delimit Format.

Now when iam Uploading the Data in foreground.

it accepts the Role Name,Desc,Goes to menu Tab,Add transaction now the Pop up Opens.

it Accepts All this from my test File.

Now Problem is it Does accept the First Record Transaction from My test File va01 but when

the cursir goes to 2nd line it shows the previous entry just entered.i.e va01.

where as in 2nd position va02 is supposed to be accepted.

how do i Clear this..

while looking at the processing code.

I get this

ID WND[1]/USR/TBLSAPLPRGN_WIZARDCTRL_TCODE/CTXTS_TCODES-TCODE[0,0] "VA01

ID WND[1]/USR/TBLSAPLPRGN_WIZARDCTRL_TCODE/CTXTS_TCODES-TCODE[0,1] "VA01

Now wht do i do so that it picks other tcode from my test file and not the previous record.

Any one who could be of Help.

can anyone leave in his/her Cell No so that I could Call and make u Understand the situation.

it has been 4 days and iam still Stuck with this.

Thanks Awaiting,

Essam

5 REPLIES 5

SuhaSaha
Advisor
Advisor

Hello,

I had a similar requirement & looking at the tree display i had decided no BDC 😄

I debugged PFCG & found SAP uses the FMs of the func. group PRGN to read/write data to the tables AGR_1251 & AGR_1252.

The FMs are:

1. PRGN_1251_SAVE_FIELD_VALUES & PRGN_1252_SAVE_ORG_LEVELS to prepare the tables for the update.

2. Call the FM: PRGN_UPDATE_DATABASE to make the database changes & write the change pointers too !!!

Hope this helps you.

BR,

Suhas

Former Member
0 Kudos

Hey There,

Thanx For ur Quick Response.

Did u Create a Program in SE 38.

Could u please Give the Code that u Wrote for This.

Thanks Awaiting,

Essam

0 Kudos

I think i have given enough hints. Try to figure it out how these FMs work, debug the standard code & formulate your logic.

Come back here if you have any doubts/concerns.

Former Member
0 Kudos

BUDDY,

I need 2 Create a Role and then Assign Multiple Role to it.

This is wht i need in Actual.

This,if can be done can only be done through ECATT.

However Iam Stuck.

I dont Know how 2 Proceed.

Essam

Former Member
0 Kudos

Sorry I meant I need to create a Role and then Assign Multiple Transactions to it.

Regards,

Essam