cancel
Showing results for 
Search instead for 
Did you mean: 

pass data from rfc to pi

Vinay3
Participant
0 Kudos

hi...i have to pass data from rfc to pi..as in rfc i had mention backgroud process and destination had been mention and i am getting error below

Server repository could not create functionte for 'Z_MATERIAL_MAST

Accepted Solutions (0)

Answers (6)

Answers (6)

Vinay3
Participant
0 Kudos

CALL FUNCTION 'Z_MATERIAL_MASTER'

DESTINATION  'ECC_2_P'"

**  EXPORTING

**    TIME                  = sy-uzeit"'00:00:00'

  TABLES

    NEW_MATERIAL          = NEW_MATERIAL

    UPDATE_MATERIAL       = UPDATE_MATERIAL

           .

i am using above code to pass data to pi server i am getting dump error below

call of FM Z_MATERIAL_MASTER to ProgId RFC_PGM_ID on host eppirpl with SSO not

and but when i am using below code

CALL FUNCTION 'Z_MATERIAL_MASTER'

IN BACKGROUND TASK

DESTINATION  'ECC_2_PI'"'RFC_PGM_ID'"

**  EXPORTING

**    TIME                  = sy-uzeit"'00:00:00'

  TABLES

    NEW_MATERIAL          = NEW_MATERIAL

    UPDATE_MATERIAL       = UPDATE_MATERIAL

i am getting some error in sm58 as below

JCO.Server could not find server function 'Z_MATERIAL_MASTER

           .

Shabarish_Nair
Active Contributor
0 Kudos

make sure you have proper adapter configurations along with the correct destinations.

You can use this blog for troubleshooting - scn.sap.com/community/pi-and-soa-middleware/blog/2008/01/08/troubleshooting--rfc-and-soap-scenarios-updated-on-20042009

Vinay3
Participant
0 Kudos

JCO.Server could not find server function 'xx'

i am gettng the above error

iaki_vila
Active Contributor
0 Kudos

Hi Vinay,

How have you created the schema in sender interface message in PI?, have you tried to create an empty function in ECC and to import it to PI?, if you do in this way you will have less possibilities to have a typing error in the message interface.

Regards.

Vinay3
Participant
0 Kudos

THKS FOR REPLY....I HAD DONE SOME CHANGES FOR WHICH NOW  I AM GETTING ERROR JCO.Server could not find server function 'Z_MATER

iaki_vila
Active Contributor
0 Kudos

Hi Vinay,

Have you activated your sender RFC channel?

Are you sure that the name is the same in the call and in PI, case sensitive included?

Regards.

Vinay3
Participant
0 Kudos

AGAIN THANKS FOR UR REPLY....RFC CHANNEL IS ACTIVATED....BUT I AM NOT GETTING NAME IS THE SAME IN CALL AND PI....AND I WAS READING SOME BLOG THERE THEY HAD MENTION THAT MAY RFC SHOULD BE PRESENT AT PI SERVER AND R/3 SERVER IN BOTH SERVER....

Vinay3
Participant
0 Kudos

AGAIN THANKS FOR UR REPLY....RFC CHANNEL IS ACTIVATED....BUT I AM NOT GETTING NAME IS THE SAME IN CALL AND PI....AND I WAS READING SOME BLOG THERE THEY HAD MENTION THAT MAY RFC SHOULD BE PRESENT AT PI SERVER AND R/3 SERVER IN BOTH SERVER....

iaki_vila
Active Contributor
0 Kudos

Hi Vinay,

It isn't necessary to have the RFC in PI server ABAP stack. And it's only necessary in ECC ABAP stack for PI importing purspose.

Have you your RFC ECC code like this?:

CALL FUNCTION 'Z_RFCSENDER' DESTINATION 'CONNECTION_NAME'

And connection_name is the name that you put your TCP/IP sm59 connection.

Regards.

           

Vinay3
Participant
0 Kudos

CALL FUNCTION 'Z_MATERIAL_MASTER'

IN BACKGROUND TASK

DESTINATION 'xxxx'

TABLES

    NEW_MATERIAL          = NEW_MATERIAL

    UPDATE_MATERIAL       = UPDATE_MATERIAL

           .

COMMIT WORK.

the above code i am using at the place of xxxx there is id which is present at sm59....thank for ur valuible time .....still not get solution..

Former Member
0 Kudos

Hi Vinay,

What you mentioned in the place of Destination 'xxxx' the program id which is there in RFC destination.  It's not correct.  You have put RFC destination name.

thanks,

Satish.

Vinay3
Participant
0 Kudos

i am passing rfc destination and not program id....pla suggest anything more

Vinay3
Participant
0 Kudos

i am passing rfc destination and not program id....pla suggest anything more

Vinay3
Participant
0 Kudos

thnks for reply i had already chk the connection.....i already ready the above link but result is same....pls give more input

baskar_gopalakrishnan2
Active Contributor
0 Kudos

You might want to check this thread for now...

http://scn.sap.com/thread/74267

iaki_vila
Active Contributor
0 Kudos