cancel
Showing results for 
Search instead for 
Did you mean: 

WSDL error for the BAPI_PO_CREATE1

Former Member
0 Kudos

Hi,

I am creating a WSDL link for the bapi to create purchase orders:

If I use a Document style, I get to enter all fields like POHEADER, POHEADERX, POACCOUNT, POITEM etc, but when I click the send I get an Internal server Error 500; and the ST22 trace gives me a report saying

Error analysis

You attempted to access an unassigned field symbol

(data segment 32780).

This error may occur if

- You address a typed field symbol before it has been set with

ASSIGN

- You address a field symbol that pointed to the line of an

internal table that was deleted

- You address a field symbol that was previously reset using

UNASSIGN or that pointed to a local field that no

longer exists

- You address a global function interface, although the

respective function module is not active - that is, is

not in the list of active calls. The list of active calls

can be taken from this short dump.

I then tried using the RPC style of WSDL...... here i only get to enter the POHEADER, POHEADERX, POACCOUNT fields but the POITEM field is not displayed so I cannot enter poitem data. and the response I receieve from the system is " PLEASE ENTER THE ITEMS FIRST. Purchase order not created".

How can I resolve this? Is there some way to makes more fields visible in RPC style WSD?

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

I found that there is a skip field in the document style which if not checked generates the above error.

Arpita