Invoice Details BAPI in SAP
BAPI_BILLINGDOC_GETDETAIL: Import parameters: o BILLINGDOCUMENT: 1900000020
The new declaration operator DATA allows inline declarations of variables with declaration expressions in declaration positions. Declaration positions are write positions where the operand type can be determined from the context statically. lets look at below examples on how to use this in real world programming.
Example: while use loop:
Loop at itab into DATA(wa_itab).
...........
Endloop.
Call transformation .... result XML DATA(xml).
using in select query also:
| SELECT a~prueflos, a~plnty, a~plnnr, a~plnal, b~vorglfnr, b~merknr, b~verwmerkm, b~formelsl |
| FROM qals AS a INNER JOIN qamv AS b ON a~prueflos = b~prueflos |
| INTO TABLE @DATA(lt_qals_qamv) WHERE a~prueflos = @p_inslot |
| AND b~formelsl NE 'X'. |
we need to use comma separator (,) between table field.
Comments
Post a Comment