2007 Apr 12 2:04 PM
Dear All,
Is there any rfc to update ZTABLES and SD tables like VBAP, VBAK.
Please give any suggessions.
Thanks & Regards
Gaurav Lashkari
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
2007 Apr 12 2:09 PM
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
2007 Apr 12 2:13 PM
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
2007 Apr 12 2:20 PM
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.
2007 Apr 12 3:04 PM
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |