Skip to content

Instantly share code, notes, and snippets.

@js1972
Created July 4, 2014 03:03
Show Gist options
  • Save js1972/1fef37eab2f13dbb13c5 to your computer and use it in GitHub Desktop.
Save js1972/1fef37eab2f13dbb13c5 to your computer and use it in GitHub Desktop.
Creating values based on structures and internal tables with ABAP 7.40. This example shows how to create a structure and provide values in-line and also how to create a new internal table, providing the row in-line. Note each new row is just separated by a set of parenthesis. You can also build the individual field values all in the one data(ret…
data(ret) = value BAPIRET2(
type = 'E'
id = 'ZM_ILO'
number = '017'
message_v1 = delivery
message_v2 = shipping_data_exc->get_text( )
).
data(rettab) = value bapirettab( ( ret ) ).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment