Skip to Content
0
Former Member
Dec 03, 2003 at 12:27 PM

BAPI call from Java

58 Views

Hi all,

I'm trying to execute a BAPI from Java called "BAPI_SERVICENOTIFICAT_CREATE".

It creates a Service Notification for a functional location.

This BAPI WORKS WELL if I execute it from SAP (trans. SE37), but it gives me an error message I think it's incorrect.

" E020 Functional location PROM-DIA does not exist"

The import parameters (from Java and from SAP) are:

Structure "NOTIF_HEADER":

Field NOTIF_TYPE: "S1"

Field FUNCLOC: "PROM-DIA" (Of course, IT EXISTS...)

Field CONTACT: "0000000000"

Field DESCRIPT: "Do it from Java"

Any ideas?

Thanks,

Roger