Announcement:
wanna exchange links? contact me at sapchatroom@gmail.com.
Posted by
Admin at
Hi, Have the requirement that when saving it0655 with a user field it0014 must be maintained accordingly, i.e. update with insert, modify, delete and delimit. How to? Have tried out using T588Z but without success. Want to do some coding either via user enhancement PBAS0001 or directly from user field pgm ZP065530. Have tried out fm HR_INFOTYPE_OPERATION also without success. Have years ago used some coding filling the int.table dynmeas, but is seems not to function anymore (SAP_HR SAPKE60061). Coding I used: LOOP AT dynmeas. l_seqnr = dynmeas-seqnr. ENDLOOP. l_seqnr = l_seqnr + 1. CLEAR dynmeas. dynmeas-actio = 'INS'. dynmeas-infty = '0014'. dynmeas-subty = '7X20'. dynmeas-begda = p0655-begda. dynmeas-endda = p0655-endda. dynmeas-supdg = 'D'. dynmeas-seqnr = l_seqnr. APPEND dynmeas. CLEAR initial_values. initial_values-field_name = 'P0014-BEGDA'. initial_values-field_value = p0655-begda. initial_values-seqnr = l_seqnr. APPEND initial_values. CLEAR initial_values. initial_values-field_name = 'P0014-ENDDA'. initial_values-field_value = p0655-endda. initial_values-seqnr = l_seqnr. APPEND initial_values. CLEAR initial_values. initial_values-field_name = 'P0014-LGART'. initial_values-field_value = '7X20'. initial_values-seqnr = l_seqnr. APPEND initial_values. CLEAR initial_values. initial_values-field_name = 'P0014-BETRG'. initial_values-field_value = '6.00'. initial_values-seqnr = l_seqnr. APPEND initial_values. CLEAR initial_values. initial_values-field_name = 'P0014-WAERS'. initial_values-field_value = 'DKK'. initial_values-seqnr = l_seqnr. APPEND initial_values | __.____._ Copyright © 2011 Toolbox.com and message author. Toolbox.com 4343 N. Scottsdale Road Suite 280, Scottsdale, AZ 85251 | | Most Popular White Papers In the Spotlight _.____.__ |