on 10-16-2006 1:43 PM
Hi folks,
I need to call a RFC which has an import parameter AMT_PAID type of CURR of length 12. I need to pass the value form java. Whatever value I give like double or Sting it shows error as BAD_CURRENCY. Can anybody please guide me how to give value for CURR in java.
Hi Amutha,
what is the data type for currency in import parameters check in BAPI. first logon to SAP try to execute inside BAPI by setting your currency value. whether your BAPI executing without any problem?.
jcoFunction = jcoRepository.getFunctionTemplate("Y_BAPI").getFunction();
jcoFunction.getImportParameterList().setValue(curr, "CURRENCY");
jcoClient.execute(jcoFunction);
Regards, Suresh KB
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.