cancel
Showing results for 
Search instead for 
Did you mean: 

Difference between *OW and *OB Function Modules in SAP CRM

former_member565381
Participant
0 Kudos

What is the difference between *OW and *OB Function Modules in SAP CRM ?

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hello,

I think OB means object buffer and OW object workarea.

Best regards,

Thomas Wagner

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi,

    Data Flow in CRM -

          UI -> Interface -> OW -> OB -> DB(Cache) -> Actual Database.

We can read the data from Object Workarea (OW) using FMs with * READ_OW.

We can read the data from Object Buffer (OB) using FMs with * READ_OB.

We can read the data from DB Buffer Cache (DB) using FMs with * READ_DB.

If Data are not found at above levels we have to select that from Actual Database.

Regards,

Dnyanesh Kulkarni.

Former Member
0 Kudos

Hi Khadeer,

data flow: data->crmd_order->ow layer->ob layer->db layer->database.

When data goes to 'crmd_order' transaction and from crmd_order, data is given to ow layer(screen work area) where function modules with *ow extension tries to get value from Buffer using OB and if not then it searches the Database for the value.

And then data goes to ob layer where Object buffer retrieves data from the Buffer (using function modules with *ob extension)  before it gets cleared and in the db layer, function modules with *db extension executed which is a final layer to save data in database.

Note: ow and ob function modules genrally deal with data consistency  how the data flows from interaction layer to database.

-Regards,

HCL ZENITH

0 Kudos

Hi,

Yes, B stands for Buffer and W stands for Workarea.

While entering values on screen initially it will be stored in work area and after we save the data it will be present in buffer ( local).

Later when all data has been entered and all work is done then data is stored in database.

Thanks,

Shruthi

dhruv_mehta
Active Contributor

Hi Kahdeer,

Above answers are right OW is workarea and they are values in screen intially and OB is buffer data.

So you can read data from buffer also , another difference is you have Function modules to change data in OW For example if you need to change some data for OW there are function modules like CRM_ACTIVITY_H_CHANGE_OW , CRM_STATUS_CHANGE_EXTERN_OW etc. You dont have this kind of function modules for OB.