SAP for Utilities Discussions
Connect with fellow SAP users to share best practices, troubleshoot challenges, and collaborate on building a sustainable energy future. Join the discussion.
cancel
Showing results for 
Search instead for 
Did you mean: 

Programming for changing the document of latest Date

Former Member
0 Kudos

Hi,

I am having requirement to change the Data of source items by picking the latest Date. There are several Source items(100). My question is how to write the code to change the data of several source items by pciking the latest date. I need to change the latest date( source item )and remaining source items data not to be changed.

1 ACCEPTED SOLUTION

vijy_mukunthan
Active Contributor
0 Kudos

HI Sriram

Sort by date descending and time. So that latest record you will get. For updating use only std FM and pass the necessary parameters. It will update with latest date.

Regards

vijay

View solution in original post

2 REPLIES 2

vijy_mukunthan
Active Contributor
0 Kudos

HI Sriram

Sort by date descending and time. So that latest record you will get. For updating use only std FM and pass the necessary parameters. It will update with latest date.

Regards

vijay

0 Kudos

Thanks Vijay. My problem Solved.