‎2008 Feb 04 6:24 PM
Hello friends,
I am having an error in,,
PERFORM BUILD_OBJECT_FROM_IDOC USING P_OBJNME P_VERB P_IDOCTP OBJECT[].
FORM BUILD_OBJECT_FROM_IDOC USING P_OBJECT_NAME
P_VERB
P_IDOCTYPE
P_OBJECT[].
i HAVE THIS ERROR.
In Release 4.0, the special character "[" - as here in the name
"P_OBJECT[]" - is no longer allowed.
Please suggest as how can I correct this.
Raju.
‎2008 Feb 04 6:28 PM
Hi Raju
if you are planning to send the table of OBJECT
use this way ..
PERFORM BUILD_OBJECT_FROM_IDOC tables OBJECT USING P_OBJNME P_VERB P_IDOCTP.
FORM BUILD_OBJECT_FROM_IDOC
tables p_OBJECT type the structure of OBJECT..
USING P_OBJECT_NAME P_VERB P_IDOCTYPE.
‎2008 Feb 04 6:28 PM
Hi Raju
if you are planning to send the table of OBJECT
use this way ..
PERFORM BUILD_OBJECT_FROM_IDOC tables OBJECT USING P_OBJNME P_VERB P_IDOCTP.
FORM BUILD_OBJECT_FROM_IDOC
tables p_OBJECT type the structure of OBJECT..
USING P_OBJECT_NAME P_VERB P_IDOCTYPE.
‎2008 Feb 04 6:49 PM
Thanks Jay,
FORM BUILD_OBJECT_FROM_IDOC
tables p_OBJECT type structure of OBJECT
USING P_OBJECT_NAME P_VERB P_IDOCTYPE
with this code i have the following error.
For typing of TABLES parameters, only table types should be used . . .
Please suggest,
Thanks,
‎2008 Feb 04 6:55 PM
Hi Raju
FORM BUILD_OBJECT_FROM_IDOC
tables p_OBJECT *type structure of OBJECT*
USING P_OBJECT_NAME P_VERB P_IDOCTYPE
FORM BUILD_OBJECT_FROM_IDOC
tables p_OBJECT type wa_object "<<<<<< give the structure name of type you declared this table..
USING P_OBJECT_NAME P_VERB P_IDOCTYPE.
types: begin of itab,
f1
f2
.
.
end of itab.
data: object type standard table of itab.in you form p_OBJECT type itab. "<<<<ur structure name of object
Award points if helpful
‎2008 Feb 04 6:29 PM