‎2007 Jul 19 10:59 AM
hi
iam sending the rfc.
CALL FUNCTION 'OIGI_CHANGE_SHIPMENT_RFC'
EXPORTING
pi_oigis = field
pi_confirm = 'X'
pi_no_commit = 'X'
PI_LEAVE_TRS =
PI_MAINT_COMPL =
PI_NO_OVL_CHECK =
IMPORTING
PO_SHNUMBER =
*TABLES
PI_OIGISV =
PI_OIGISI =
PI_OIGISIQ =
PI_OIGISVMQ =
PI_OIGISE =
PI_OIGISET =
PI_OIGISS =
PI_OIGISVIIS =
PI_OIGISPA =
EXCEPTIONS
NOT_CALLED_FOR_CHANGE = 1
OTHERS = 2
.
how to pass fields to the tables pi_oigisv.
iam having only two field values to pass to the table pi_oigisv.
pi_oigisv can be declared to structure oigisv in the tables tab of the rfc
function module.
please give me some guidance inorder to solve this issue.
thanks in advance.
‎2007 Jul 19 1:25 PM
CALL FUNCTION 'OIGI_CHANGE_SHIPMENT_RFC' destination <DEST>.
You just create the internal tables of the same structure of the tabels in the FM and pass the data. If the tables are reusable then create a structure in DDIC.
Regards,
Rusidar S.
‎2007 Jul 19 1:31 PM
Hi Sudarsan,
Check if the two field values that you have to pass to the table OIGISV are the key fields of the table.
Create a Structure TYPE of (OIGISV) same in your program.
Use that TYPE to create an internal table, populate the internal table and pass it to the Remote Function cal, TABLES Parameter.
Thanks and Regards,
Ram.
‎2007 Jul 19 1:31 PM
HI Sudarshan,,
declare an internal table locally of the table type <b>oigisv</b>.
Now in that internal table fill in the values for the required fields and pass that internal table to the table parameter of this function module.
this would work for you,
Kiran