Passing Parameters to SAP RFC in Batch

Hello All , I am trying to call an RFC from BC to SAP . I need to pass the parameters during nightly run of the BC job . How can I specify these parameters . An example is : I want to call an RFC which as customer id ( KUNNR ) as a parameter and this needs to be repeated for a list of customers .

Thanks
Rajesh

Rajesh,
You can do this two ways. You can maintain the list of customers in BC and loop through the list and call the RFC within the loop OR maintain the list within SAP and call the RFC once and go through the list of customers within RFC.

Hope that helps.

Roger

Hi Rajesh

Once you create the service (BC to SAP) in BC, it is treated as any other normal flow service .You can use the built in features of webMethods (Loop etc) for processing .

Srini