Quantcast
Channel: SCN: Message List - SAP ERP Financials - Treasury Applications
Viewing all articles
Browse latest Browse all 5623

Write data to VTBFHA fields while creating or updating a financial transaction

$
0
0

I've created a custom subscreen within the transaction manager. My efforts so far have been based on this blog post, although I've found a number of issues with this post and things that were also left out that I will expand upon in a later post. I have an append structure for VTBFHA that I am using and I would like to take one of the fields in my append structure and additionally write it to the MERKM field in VTBFHA (I know that it doesn't seem to make much sense but that's the requirement).

 

Using the interface IF_OPEN_TRTM_PROXY_DEAL_DATA in my function group, I have access to all of the current transaction data for a deal that I am creating/updating via the A_TRANSACTION attribute. Using this attribute I can identify the current row that I am in during updating although during the creation of a new deal I think the RFHA part of the key in VTBFHA is only issued after the deal has actually been saved, so I will likely only be able to change MERKM at the very last second. What I cannot figure out is how to update the MERKM field of the current row that I am editing or creating.

 

If someone can steer me in the right direction, I would be most appreciative. I imagine that I need some function module but I am really stuck. Hopefully someone here knows what to do.

 

Thanks!


Viewing all articles
Browse latest Browse all 5623

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>