06-23-2006 8:35 AM
Hi all,
I'need to update a z field of my catsdb with the BAPI_CATIMESHEETMGR_CHANGE.
i've passed the parameters in that way
CALL FUNCTION 'BAPI_CATIMESHEETMGR_CHANGE'
EXPORTING
profile = tcatst-variant
TABLES
catsrecords_in = wt_catsrecord_in
extensionin = wt_extension_in
return = wt_return.
and i'm sure tht i've correctly filled the extensionin structure.
it doesnt return me nothing on the return table but it doesn't modify anything on the catsdb table.
Anyone knows if i need to modify at least one stadard field to allow the function to work?
06-23-2006 9:06 AM
I hope u hv called 'BAPI_TRANSACTION_COMMIT' after the BAPI call.
Make sure u had passed the correct parameters to the FM.
For ur ref.
Text
Customer Enhancement Import
Description
If you defined additional customer fields in your external application
or external system and in the R/3 System, and you want to transfer data
from them to the R/3 System, you can use this import table. The
additional customer fields are reproduced in the customer-specific
fields in the CATSDB table using the BAPI_TE_CATSDB structure.
You should enter the name of the structure in the STRUCTURE field. The
contents of the BAPI_TE_CATSDB structure is contained in the data part.
The data part of this table must be structured the same as the
BAPI_TE_CATSDB structure. The first ten characters of the data part are
for the line numbers. The customer fields are linked to the
corresponding data record in the CATSRECORDS_IN table via the line
numbers.
10-08-2009 7:40 AM
Would yopu please show with a code piece on how to change zzfield in CATSDB?