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

Example for V1, V2 updates

Former Member
0 Likes
3,247

Hi Experts,

1) I know the diference btwn V1(Updates immediately, locking involved, not sharing etc) and V2 updates. But, let me know the real world examples for both.

2) And in some cases, I hv seen COMMIT work after the statement of MODIFY Z_DB_TABLE statement, but, when I updated my Z table, i did not used this commit, but, still its working, so, why in some cases they used COMMIT after MODIFY a Z table?

thanq

Edited by: SAP ABAPer on Mar 13, 2009 6:48 PM

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
2,200

1) have you looked through the help files?

2) There is an implicit COMMIT when a report ends normally.

Rob

14 REPLIES 14
Read only

Former Member
0 Likes
2,200

Hi,

The real time example can be in this way for booking a movie ticket needs to be updated immediately...

this should be done using V1 updates because we have to block the seats so that no other system can block it.

but something like master data that which movie is going to release next in the theatre can be done in V2 update because that does not require any immediate effect or any current involvement of other system to it as it has to be done by admins.

Check the following link to better understand V1 and V2 updates....

http://help.sap.com/saphelp_nw04/helpdata/EN/e5/de86f335cd11d3acb00000e83539c3/content.htm

Regards,

Siddarth

Read only

naimesh_patel
Active Contributor
0 Likes
2,200

Check the FM MCV_STATISTICS_DELIVERY.

This FM is used to update the Delivery information in the LIS.

If you look at the bottom part of the code, it is Calling different FMs based on the Updates e.g. V1, V2, V3 etc.

It uses the table FM MCV_STATISTICS_LOWEST_LEVEL to determin which Update it needs to use. Inside this FM, it is using so many factors to decide which update to use. One of the factor is the field KBTCH in the table TMC2S.

Regards,

Naimesh Patel

Read only

0 Likes
2,200

thanq

(curently, i dont hv SAP access!

And also, pls. clarify my 2nd

And in some cases, I hv seen COMMIT work after the statement of MODIFY Z_DB_TABLE statement, but, when I updated my Z table, i did not used this commit, but, still its working, so, why in some cases they used COMMIT after MODIFY a Z table?

thanq

Edited by: SAP ABAPer on Mar 13, 2009 7:15 PM

Read only

Former Member
0 Likes
2,201

1) have you looked through the help files?

2) There is an implicit COMMIT when a report ends normally.

Rob

Read only

0 Likes
2,200

thanq.

I hv seen the provided link in the 1st response and i found the below, statement, but, did not understand!!

"Let us assume that a transaction makes planning changes to a material and balance sheet, and updates two sets of statistics.

Each of these changes is represented by means of an update module (call update function module) in the update request - the two planning changes by a V1 update module (time critical), and the statistical changes by a V2 update module (less critical). (The V1 modules have priority, although the V2 modules are usually also processed straight away)."

Only am looking for that, Wht is a example for V2 update in SAP?

thanq

Read only

0 Likes
2,200
Only am looking for that, Wht is a example for V2 update in SAP?

Example :

Statistics update and the Document update

Regards,

Siddarth

Read only

0 Likes
2,200

thanq

to be honest, i mentioned the same( i mean, statistical updations) in my final screening process, but, still, he(SD ABAP expert) asked me that, to explain it? and wht is practical example in SAP?

thanq

Edited by: SAP ABAPer on Mar 13, 2009 9:14 PM

Read only

0 Likes
2,200

Let us assume that a transaction makes planning changes to a material and balance sheet, and updates two sets of statistics

the two planning changes by a V1 update module (time critical), and the statistical changes by a V2 update module (less critical).

Regards,

Siddarth

Read only

0 Likes
2,200

thanq

yes, i got this example, from the link provided by u. But, still. i did not underatnd!! Wht is here the statistical changes?

thanq

Edited by: SAP ABAPer on Mar 13, 2009 9:42 PM

Read only

0 Likes
2,200

statistical data like Average, Percentages etc...

Read only

0 Likes
2,200

sorry, i dont know am I bothering u!!

yes, i knew it, but, pls. give me an example in SAP either sales process, delivery, shipping, billing etc. in perspecive of ur reply(average, %) , i mean, which average, % for wht values!!

thanq

Edited by: SAP ABAPer on Mar 13, 2009 10:01 PM

Read only

0 Likes
2,200

While creating a sales document...

the log has to be created for any sales...

these logs creation can be done usign V2 updates....

Like wise almost any logs to be created uses V2 updates

Regards,

Siddarth

Read only

0 Likes
2,200

the average and % values for price fields or quantity fields etc...

Read only

0 Likes
2,200

thanq