Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

FM creating meterreading order

Former Member
0 Kudos

Hi all,

I'm using ISU_S_METERREAD_CREATE to create a meterreading order. It says the creation was succesfull, but the no meterreading order is created. Does somebody know why it does that? What are the steps to use this FM?

greetz Pieter

3 REPLIES 3

Former Member
0 Kudos

Hi

i am not getting what is your problem. But u can do one things.

Just open this FM and click Where Used list---> Then select program-> then open one program-----> so you can get idea....

Thanks

Sasmita

0 Kudos

Hi,

I already looked at transaction EL01, the SAP transaction to create those orders and uses the FM. I use the same inputparameters as EL01 uses for this FM. In this transaction the order is created with the parameters, but when I use the FM it doesn't do an update.

CALL FUNCTION 'ISU_S_METERREAD_CREATE'

EXPORTING

X_VERTRAG = ls_ever-vertrag

X_ADATSOLL = ls_termijn-adatsoll

X_ZUORDDAT = ls_termijn-zuorddat

X_ABLESGR = '01'

X_EBENE = 'C'

X_UPD_ONLINE = 'X'

X_NO_DIALOG = 'X'

X_KARENZPRFG = 'X'

X_PM_ORDER = 'X'

X_ACTION = '13'

IMPORTING

Y_DB_UPDATE = lv_flag

TABLES =

XT_EABL = lt_eabl

EXCEPTIONS

NOT_FOUND = 1

FOREIGN_LOCK = 2

INTERNAL_ERROR = 3

INPUT_ERROR = 4

EXISTING = 5

NUMBER_ERROR = 6

GENERAL_FAULT = 7

SYSTEM_ERROR = 8

FAILED = 9

MANUAL_ABORT = 10

NO_MRREL_REGISTERS = 11

GASDAT_NOT_FOUND = 12

OTHERS = 13

.

greetz Pieter

0 Kudos

Try to call this FM form custom program and include commit work after fm.

it might be expecting commit work after FM..

cheers

manohar