2016 Apr 28 5:59 AM
Hi!
I want to use bapi_re_cn_create.
There is extension_in parameter, but i have user fileds in user tables, not in vicncn (CI_VICNCN), so i can not use this parameter.
How can i create contract with user field?
2016 Apr 28 6:44 AM
I found note 983726 - BAPI: Transferring user-defined tables, But i do not inderstand how it use.
How can i tranfer user tables in bapi bapi_re_cn_create?
2016 Apr 28 6:44 AM
I found note 983726 - BAPI: Transferring user-defined tables, But i do not inderstand how it use.
How can i tranfer user tables in bapi bapi_re_cn_create?
2016 Apr 28 12:49 PM
The note 983726 explains which methods of the BAdI (which implements IF_RECA_STORAGE_EXT, I don't know its name, look for *RECA*STORAGE*) are to be used (GET_EXT_DATA if you call a GET_DETAIL/GET_LIST BAPI, and SET_EXT_DATA if you call a CREATE/CHANGE BAPI which is your case)).
So, for the CREATE BAPI:
1) call the BAPI by passing the fields in the extension_in parameter.
2) The note explains that "The data is transferred in each case in the same way as when you call the BAPI. The data is transferred by row, with a length of 960 characters and is preceded with an ID. The ID can be assigned freely for each enhancement."
3) When the BAPI updates the database, it also calls the method SET_EXT_DATA in which you update your user fields.