Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

[HELP] ExtensionIn ----> BAPI_CATIMESHEETMGR_INSERT

Former Member
0 Likes
1,155

Hi All,

Kindly please help me on BAPI_CATIMESHEETMGR_INSERT. I already inserted my custom field COUNTRY to Table CATSDB. I would like to post my entries with my inserted field COUNTRY. I already read the BAPI manual :

ExtensionIn

Customer enhancement import

Description

If you defined additional customer fields in your external application or external system as well as in the SAP System and you want to transfer data from them to the SAP 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 analogously to the BAPI_TE_CATSDB structure. The first 10 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 using the line numbers.

>>What are the first 10 characters that I should input? Please. Please help me on this.

Thanks.

Hi All,

Kindly please help me on BAPI_CATIMESHEETMGR_INSERT. I already inserted my custom field COUNTRY to Table CATSDB. I would like to post my entries with my inserted field COUNTRY. I already read the BAPI manual :

ExtensionIn

Customer enhancement import

Description

If you defined additional customer fields in your external application or external system as well as in the SAP System and you want to transfer data from them to the SAP 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 analogously to the BAPI_TE_CATSDB structure. The first 10 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 using the line numbers.

>>What are the first 10 characters that I should input? Please. Please help me on this.

Thanks.

3 REPLIES 3
Read only

Former Member
0 Likes
789

Well this is what I think on this.

You have to pass name of the table (say t1) of type BAPI_TE_CATSDB to the Structure EXTENSIONIN

so now t1 will contain the data which will obviously have the corresponding Extension data for the main table CATSDB. But there has to be some way to identify which row of CATSRECORDS_IN matches to row of BAPI_TE_CATSDB record. The first 10 char are supposed to do this linking.

Read only

Former Member
0 Likes
789

Hi Shital explanation was right. Addotionally i think the 10 Char should be the the row where u wanna insert the additional in the time sheet. Hope it will be taken care in the FM MAP2I_BAPICATS7_TO_CATS_EXT of the BAPI

Regards

Pavan

Read only

0 Likes
789

Hi,

Did you sort this out.. If yes, could you paste the code snippet please. I'm facing the same issue.

Thanks and Regards

Nidhi Jain