on 12-12-2014 5:08 AM
We have developed a custom logic to copy a set of data to another set of data. For example,
we have Project data which has Bus Unit, Project, Location, Line Item, etc...
we have an input form to bring this up and say users can move the data from source location to a new location.
we are utilizing Custom BADI to do this. This works perfect.
However, if there is a comments field and users edit the comments field, old comments are being saved rather than new edited comments.
I went thru SAP standard code for couple of days now. I found that, data part is being called first and saved to DB, then comments part is being called and saved to DB. But during the data part, my custom BADI is implemented. So there is no visibility to new comments there because they are not saved to DB yet.
Does anybody know how to read latest comments from the input form? or is there anyway to read the latest comments from my custom BADI?
Thanks in advance
Ravi
Hi Ravi,
You can read the comments in your BADI.
You need to look at the timestamp in the comment table.
there are even functions where you can update the comment table in your BADI.
Andy
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Ravi,
The business process is not clear for me
"We have developed a custom logic to copy a set of data to another set of data. For example,
we have Project data which has Bus Unit, Project, Location, Line Item, etc...
we have an input form to bring this up and say users can move the data from source location to a new location."
Can you explain more?
Vadim
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Can you Save data first (using macro)before every copy. So that you can read newly changed(saved) comments from comment table in custom BADI.
Does it helps.. !
Thanks,
Raju
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
15 | |
4 | |
2 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.