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

rfc for table update

Former Member
0 Likes
2,078

Dear All,

Is there any rfc to update ZTABLES and SD tables like VBAP, VBAK.

Please give any suggessions.

Thanks & Regards

Gaurav Lashkari

Dear All,

Is there any rfc to update ZTABLES and SD tables like VBAP, VBAK.

Please give any suggessions.

Thanks & Regards

Gaurav Lashkari

4 REPLIES 4
Read only

Former Member
0 Likes
1,157

There is definitely no RFC for standard tables atleast.

YOu need to use BAPIs for updating standard tables.

But you have to use different bapis for updating different tables.

For Z tables, yo ucan write your own z rfc function modules.

Tables parameter

ITAB TYPE ZTABLE

  • Code sample

modify ztable from table itab.

commit work.

Regards,

Ravi

Read only

uwe_schieferstein
Active Contributor
0 Likes
1,157

Hello Gaurav

You should not update tables like VBAK, VBAP, etc. directly. Instead use the appropriate BAPI for this purpose. In case of VBAK you could use SD_SALESDOCUMENT_CHANGE, BAPI_CUSTOMERCONTRACT_CHANGE or BAPI_SALESORDER_CHANGE.

Function module TABLE_ENTRIES_GET_VIA_RFC allows to read table entries from remote systems. However, the data are returned in an unstructured itab (BDI_ENTRY).

The other way around, i.e. update tables entries, you need to create your own RFC-enabled function module for updating Z-tables. Since you would like to create a generic function you have to import the data into the function module in an unstructured manner and reconstruct the structured data in the function module.

Regards

Uwe

Read only

Former Member
0 Likes
1,157

HI,

for updating ztables u have to develope a rfc.

for creating rfc i have good doccumentation if u send me ur mail id i'll send u.

rgds,

bharat.

Read only

0 Likes
1,157

my email id is [email protected]

Pls send the doument