12-09-2008 5:00 AM
Hi experts,
why we use bapi structures ('x') to update the data in data base
ex; BAPI_BANK_CREATE this function module does not require to X structure to update data ,
but BAPI_BANK_CHANGE this FM is needed to update the data base..
some times i have seen some function modules using BAPI-X structures to update data base,
ex: IDOC_INPUT_SALESORDER_CREATEFR this FM had used to update sales order in to data base...
could u tell me when it is required bapi-X structures to update data base.
thanks & regards,
kalyan.
12-09-2008 5:05 AM
could u tell me when it is required bapi-X structures to update data base.
Whenever you Create new entries from BAPI than you must Update with value X for commit your changes to reflect in Database.
But not all BAPI have this Flag only few have this Flag.
12-09-2008 5:05 AM
could u tell me when it is required bapi-X structures to update data base.
Whenever you Create new entries from BAPI than you must Update with value X for commit your changes to reflect in Database.
But not all BAPI have this Flag only few have this Flag.
12-09-2008 9:26 AM
Hi,
While createing the any business object through BAPI the 'X' is not necessary.
But after creating the Business Object when u want to update the same number the we need to put 'X' in the BAPi to update the data for same record.
Thanks,
12-17-2008 8:33 AM
Hi.
You use the X-structures in CHANGE mode (not CREATE) to indicate which fields you want to change.
It's as simple as that. With this technique you do not risk to update fields for which you have no input data in the BAPI.
Regds
Elisabet
12-17-2008 11:09 AM
Hi
X Structures are a means of tracking whether the user is making change of any fields. For instance if the user is going to update the material no say for eg through the segment elmarm-matnr then the correponding xsegment for this should be marked with 'X'. In this way you can track easily.
Cheers,
Hakim
01-14-2009 10:16 AM