Hi,
I´m using the Lotus Connector for SAP to create a Purchase Requisition calling BAPI_PR_CREATE.
The BAPI is executed by creating a statement and calling this statement using lcconnection.execute(statement, fieldResult).
The statement:
PRHEADERX.PR_TYPE=“X”,
PRHEADERX.CTRL_IND=“X”,
PRHEADER.PR_TYPE=“ZVB”,
PRHEADER.CTRL_IND=“B”,
PRHEADERTEXT.1.TEXT_ID=“ST”,
PRHEADERTEXT.1.TEXT_FORM=“*”,
PRHEADERTEXT.1.TEXT_LINE=“Test”,
PRITEMX.1.PREQ_ITEM=10,
PRITEMX.1.PUR_GROUP=“X”,
PRITEMX.1.PREQ_NAME=“X”,
PRITEMX.1.SHORT_TEXT=“X”,
… and so on. This works fine, but header text and item text of my PR are empty although they are transfered.
If I omit “.1” in all PRHEADERTEXT- or PRITEMTEXT-terms - this would be correct in my opinion - the domino server crashs immediately. No log entries are created.
What´s wrong???
Regards,
Jan