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

Insert Data in SAP table through Powerbuilder

Former Member
0 Likes
524

Hi All,

I want to insert some data in a SAP table through Powerbuilder. I can connect through the SAP system and read the table through RFC. Now, using powerbuilder I would like to add some more entries into the table and pass it back to SAP system. Please let me know, how is this possible?

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
454

Hi,

If you are able to establish connection and communicate through RFC, then you can create two RFC`s.

In 1st RFC get the required data from SAP to powerbuilder in internal table.

Modify the data in Powerbuilder. Once done call the 2nd RFC. In the 2nd RFC pass the updated data from Powerbuilder to SAP through an internal table.

Build a logic in 2nd RFC to MODIFY record in the Z Table.

Best regards,

Prashant

3 REPLIES 3
Read only

Former Member
0 Likes
455

Hi,

If you are able to establish connection and communicate through RFC, then you can create two RFC`s.

In 1st RFC get the required data from SAP to powerbuilder in internal table.

Modify the data in Powerbuilder. Once done call the 2nd RFC. In the 2nd RFC pass the updated data from Powerbuilder to SAP through an internal table.

Build a logic in 2nd RFC to MODIFY record in the Z Table.

Best regards,

Prashant

Read only

0 Likes
454

Hi Prashant,

Can you help with some example for getting the data in 2nd RFC from powerbuilder or even .NET?

Regards,

Sandhya

Read only

Former Member