cancel
Showing results for 
Search instead for 
Did you mean: 

BAPI_SALESORDER_GETDETAILBOS runtime error

Former Member

Hello All,

I am new to SAP, Please kindly help with this!! thanks in advanced!

I would like to output a Sales Order detail information (order header, item & condition detail etc) using BAPI_SALESORDER_GETDETAILBOS. No matter I ran in program or in SE37, this runtime error occurs:

The following syntax error occurred in program "SAPL2032001 " in include

  "L2032001U03 " in

line 47:

"No component exists with the name "PACKNO" . ."

...

I have checked SE11 and BAPI sturcture that "PACKNO" did exist.

Could any one kindly advise why? And how can i output a SO detail using BAPI? is there other BAPI i could use?

Many thanks!!

Regards,

Ellie

Accepted Solutions (0)

Answers (1)

Answers (1)

paul_quinn
Participant

Hi Ellie,

This dump is occurring because a switchable append of DIMP
is used outside an enhancement implementation. So this would cause
a dump when DIMP (Discrete Industry and Mill products) switches are off in SFW5 transaction.
So please check your settings in SFW5.

Since the  BAPIs BAPI_SALESORDER_GETDETAILBOS belongs to industry solution
DIMP and the same is OFF, there will not be any business significance
for you to use these BAPIs. See sap notes 874471, 874473.

If you intend to use these BAPIs then the DIMP switches should be ON.
To summarise, if DIMP is OFF these BAPI's should not be used.

to output a sales order use BAPISDORDER_GETDETAILEDLIST

kind regards

Paul