Application Development 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: 

how to get/set data in local memory of function group?

Former Member
0 Kudos

In SAP standard program of VA*, I found following FMs maybe the main points to get/set data in local memory of function group(SD DOC. Partner)

could anyone explain them in details, very thanks

SD_PARTNER_DATA_GET,

SD_PARTNER_DATA_PUT,

SD_PARTNER_DETERMINATION,

SD_PARTNER_OBJECT_CHANGE,

SD_PARTNER_OBJECT_COPY,

SD_PARTNER_OBJECT_CREATE,

SD_PARTNER_OBJECT_DESTROY,

SD_PARTNER_OBJECT_EXITS

2 REPLIES 2

paul_bakker2
Active Contributor
0 Kudos

Hi,

Most of these function modules have SAP documentation attached to them (a nice change!).

For example (SD_PARTNER_DATA_PUT):

Fills the local memory of function group LV09A with the tables entered. Previous

table content in the local memory is overwritten. For identification of the

caller/table content relationship, the system requires the object type and an

object key.

Have you read this already? Do you have specific questions?

cheers

Paul

0 Kudos

thanks your reply, Paul Bakker

yes, specific question is:

I have implemented screen enhancement(with table control) by BADI badi_sls_head_scr_cus for sales document,but there is a problem, global variants of customized function group always are stored in ABAP memory until completed restart transaction, like VA02,and haven't found a place to clear or free them, this caused current sales document display previous one's data( customized table control).

do you have any ideas for this? thanks