... from Business Add-In ME_PROCESS_PO_CUST not adopted" then after you check SAP notes for that error and none of them help then you may try with solution which you can find bellow. The endless loop ...
... into internal table, but in productive programs, you’ll probably do this during the loop over internal table, as probably you’ll want to setup different icons for a row, depending on the content of other ...
...
created_items = created_items " Generated Delivery Items
return = error_log. " Return Parameter(s)
append lines of error_log to bapi_log.
loop at error_log assigning field-symbol() where type ca 'EAX'. ...
... remember I was always using SAPGUI_PROGRESS_INDICATOR FM to display such messages on the screen. When used inside loops I often was manually dividing current tabix by selected variable (for example 1000) ...
...
if sy-dynnr eq 1001.
perform set_ss_status.
loop at screen.
if screen-name cp '*P_*01*' and g_par01_type is initial.
clear: p_parf01, p_part01.
screen-active = 0. ...
...
others = 4
).
if sy-subrc 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
endif.
loop at mt_connections assigning . ...
...
"delete current assignment of components by setting LOEKZ on PLMZ (save directly after)
clear f_error .
loop at ft_com_class_data assigning .
call function 'CP_CL_P_OPR_ALLOCATION_PROVIDE' ...
...
loop at it_list assigning .
move-corresponding to ms_list.
delete table it_list from .
append ms_list to mt_list.
endloop.
refresh: it_list[].
export export from mt_list to memory id 'ZMB51_FULLLIST_EXPORT'. ...
...
assign mt_exlist->* to .
assign ms_exlist->* to .
loop at mt_list assigning .
move-corresponding to .
append to ct_list.".
clear .
delete table mt_list from . ...
It may happen that you'll need to do select or loop on a base of the field which is kept in lower case, but you don't know exactly what's the value o field. In such case you may want to build ...
...
sort ft_allocvaluescurrnew by charact value_from value_to value_relation currency_from currency_to.
loop at ft_allocvalueschar assigning .
if f_different is not initial.
exit. ...
...
endif.
assign m_p to .
assign c_data->* to .
if sy-subrc eq 0.
assign component i_atnam of structure to .
if sy-subrc eq 0.
refresh .
loop at it_values assigning . ...
...
assign component i_atnam of structure to .
if sy-subrc eq 0.
loop at assigning .
insert initial line into table ct_values assigning .
if sy-subrc eq 0. ...
...
* Implement a suitable exception handling here
endif.
"select programs from trdir
select name from trdir into corresponding fields of table gt_trdir
where name in s_prgnam.
loop at gt_trdir assigning . ...
... the selects statements to parts or to select single in the loop. Although it's nice to know this possibility my advice is to not to use it very often as the less time you have for program run the ...
...
at selection-screen output.
"loop at screen elements
loop at screen.
"if we find elements of our group
if screen-group1 eq 'GR1'.
"then change the font color ...
...
loop at gt_sflight assigning .
" static version where you manually check key fields and at each change of
" your configuration table structure you have to adjust it
clear gs_zconf_static. ...
As I promised I will show how to use the methods we've prepared in previous parts of this tread. I will write simple program that calls the method get_objects_of_class and then loops through the results ...
... this method and FM CLAF_OBJECTS_OF_CLASS to get the characteristics values for all of objects that are classified by given class. I will firstly read all assignments to the class, then I will loop through ...