01-19-2006 7:50 AM
hi!
i am looking for a bapi to create document in cv03n and open an objectlink tab.
I need to transfer the following parameters:
document type = 'ENG'
tables:
objectlink: objecttype = 'AENR'
objectkey = change number field.
regards
yifat
01-19-2006 8:39 AM
Hi!
Your BAPI is BAPI_DOCUMENT_CREATE. There is TABLES parameter OBJECTLINKS you have to populate.
Regards,
Maxim.
01-19-2006 11:11 AM
hi!
what is the difference between bapi_document_create and
bapi_document_create2 ( i am using 46c).
regards
yifat
01-19-2006 11:15 AM
Hi Yifat,
BAPI_DOCUMENT_CREATE2 is the lastest release BAPI.BAPI_DOCUMENT_CREATE is a bit older.
I Think you were having some problem with the bapi BAPI_DOCUMENT_CREATE2 right?
What exactly are you looking for?
Regards,
Ravi
01-19-2006 11:20 AM
hi!
i used the create item to open document and that was o.k,
but i also wanted to open objectlink tab and it didnt work.
i transfered documentdata-doctype = 'ENG'.
objectlinks-OBJECTTYPE = 'AENR'
objectlinks-OBJECTKEY = value of change
number
the system grants documentnumber internally and automatically.
regards
yifat