cancel
Showing results for 
Search instead for 
Did you mean: 

Transfer Data from general data to purchasing tab (business partner)

hutner
Explorer
0 Kudos
188

Hello guys,

I want to transfer the fields name_org1, post_code1 and city1 from General part of a role to the purchasing tab during the creation of vendor process.

How can I realize it?

The function module DYNP_VALUES_READ does not work for it.

CLEAR gs_dynpread.
gs_dynpread-fieldname = 'NAME_ORG1'.
APPEND gs_dynpread TO gt_dynpread.
CLEAR gs_dynpread.

CALL FUNCTION 'DYNP_VALUES_READ'
EXPORTING
dyname = 'SAPLBUD0'
dynumb = '1200'
translate_to_upper = 'X'
TABLES
dynpfields = gt_dynpread
EXCEPTIONS
invalid_abapworkarea = 1
invalid_dynprofield = 2
invalid_dynproname = 3
invalid_dynpronummer = 4
invalid_request = 5
no_fielddescription = 6
invalid_parameter = 7
undefind_error = 8
double_conversion = 9
stepl_not_found = 10
OTHERS = 11.

CLEAR gt_dynpread.

My custom code is in a function module, which is definied in the bus3 transaction

raymond_giuseppi
Active Contributor
0 Kudos

Did you already look at global variables of function group BUD0?

Accepted Solutions (0)

Answers (0)