Have you were lacking sometimes the documentation of a FM or BAPI or a manual how to do things that should be possible to do easily but you cannot find it nowhere? If yes I hope you can find what you'r ...
I'm big fan of CMD_EI_API and VMD_EI_API classes. I use them to create, update and delete customer and vendor master data, including contact persons, partners and all data you have in XD02/XK02 transaction ...
... ram and finally I received positive result.
The conclusion is: do not assume that if something is workning in standard transaction, will work also in BAPI without additi ...
Everybody sends mails from SAP, some are still using old FM SO_NEW_DOCUMENT_ATT_SEND_API1 but some CL_BCS class. This class is really powerful but it has one disadvantage - it does commit work, and ...
... to it , or you can pass message variables (MSGNO, MSGID, MSGV1, .. etc) so you can also easily use it together with BAPIs and return tables. I'd say with this method your code can look ...
... there. Sometimes not last but one of the lasts and you want to make it always last. You create MM documents using BAPI and you want that next time you open MM t-code which is used to display/edit ...
Now it's time to save the values entered into database. I will use here previously created method to move data from reference structure to BAPI tables, then I will read values from database to see ...
Our characteristics update screen was displayed, data was changes so we need to read the reference data and put the values into BAPI structures in order to be able to save the values to database. I will ...
... data zcl_abapblog_com_classific=>clear_initial_line_api_vari to delete initial line for multiple values characteristics zcl_abapblog_com_classific=>move_ref_data_to_screen_val to move reference ...
... Importing: IT_VALUES TYPE TT_API_VALI -> screen values table
I_ATNAM TYPE API_VALI-ATNAM -> Characteristic Name Changing: C_DATA TYPE REF TO DATA Exceptions: NO_DATA_TO_CHANGE Implementation: ...
Before we can call the screen with the characteristic value to change we need to convert data from our reference data structure to table of type TT_API_VALI. Following method shows how to do it. ...
... there.
Importing: IT_API_CHAR TYPE TT_API_CHAR -> Table type for structure api_char_tab Implementation: method clear_initial_line_api_vari.
field-symbols: <ws> type any table. ...
... data from my reference data structure to bapi tables (in order to save it) - method to save characteristic value - method to convert values from standard type (date, char, number, currency) to characteristic ...
... created in part 1. To get the characteristics values for an object I will use FM BAPI_OBJCL_GETDETAIL, then using field-symbols I will move the data from its result tables to our structure. I will use ...
... or method which will do it for you so you can keep the logic in each of your program without doing maual work. To create the structure of the class I will use FM BAPI_CLASS_READ to read class ...
... cake. It was like that also with delete routing function which I share with you today. There is no BAPI_ROUTING_DELETE (yet), so firsty we had to load the task to EWB memory with 'CP_CC_S_LOAD_COMPLEX_BY_TSK' ,then ...
... 'CVAPI_DOC_GETDETAIL', 'CVAPI_DOC_CHECKOUTVIEW' or SCMS_DOC_READ'. These FMs allows you the check the details of document, check it and then read its content. ...