Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

problem about bapi BAPI_ACC_DOCUMENT_POST

Former Member
0 Likes
328

Field rstgr in bseg table am not able to field this field in BAPI, what can i do ,help me ,pls.

1 REPLY 1
Read only

FredericGirod
Active Contributor
0 Likes
272

Hi,

you could play a dangerous game, modifying the value in the memory of the Abap program. I give you an example :

  field-symbols: <field1> type any ,
                 <field2> type any .
  data : w_field1(30) value '(SAPMM06I)PREIS_KSCHL' ,
         w_field2(30) value '(ZZ_FG007)KSCHL'.

  assign (w_field1) to <field1>.
  check sy-subrc eq space.

  assign (w_field2) to <field2>.
  check sy-subrc eq space.

  move <field2> to <field1>.

in this code I will modify the value of of the field PREIS_KSCHL in the program SAPMM06I (I'm not in this program when I do that).

but ... it's quiete dangerous

Fred