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

Exporting data to PCL2 table

Former Member
0 Likes
1,136

Hi Gurus,

I have to an internal table with me to export to PCL2 cluster in EPF(employee provident fund) table.

I am using the following statements:

-


rx-key-pernr = pernr-pernr.

EXPORT epf TO DATABASE PCL2(RX) ID RX-KEY.

IF SY-SUBRC EQ 0.

WRITE: / 'Update successful'.

ENDIF.

-


My query is that I am not passing anywhere that data has to go in EPF table and how will the data go and sit there.

Awaiting ur reply.

Regards,

Neha

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
971

try to use the macro .. rp-exp-c2-in

with the EPF structure (PC2_IN07) filled in along with the sequence number ...

Hi Gurus,

I have to an internal table with me to export to PCL2 cluster in EPF(employee provident fund) table.

I am using the following statements:

-


rx-key-pernr = pernr-pernr.

EXPORT epf TO DATABASE PCL2(RX) ID RX-KEY.

IF SY-SUBRC EQ 0.

WRITE: / 'Update successful'.

ENDIF.

-


My query is that I am not passing anywhere that data has to go in EPF table and how will the data go and sit there.

Awaiting ur reply.

Regards,

Neha

5 REPLIES 5
Read only

Former Member
0 Likes
971

data will go and stroe in pcl2 (rx)...

kindly explain more about your requirement

Read only

0 Likes
971

Hi,

Thanks for the prompt reply.

The issue is that due to some configurational issue, even the EPF data has gone and sat in RT table. So now i have to write a report where in i have to get Provident Fund (EPF) specific wagetypes data from RT and push it in EPF table.

I have done the extraction and kept in the internal table EPF in my report and now the issue is how to export it to EPF table in PCL2.

I was wondering if I am going in the direction because I am not getting the right result.

Please help.

Thanks,

Neha

Read only

0 Likes
971

Hi Neha,

Use update DB Table w r t I.T, correspondingly,

Thanks & regards,

Dileep .C

Read only

Former Member
0 Likes
972

try to use the macro .. rp-exp-c2-in

with the EPF structure (PC2_IN07) filled in along with the sequence number ...

Read only

0 Likes
971

Thanks everybody. My problem is solved.