Application Development 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: 

update BSEG-RSTGR while creating billing document from VF01

0 Kudos

I have to update BSEG-RSTGR while creating billing document.

I tried using Includes ZXVVFU01 and ZXVVFU08 but all in vain.

Please let me know what to use?

3 REPLIES 3

raymond_giuseppi
Active Contributor
0 Kudos
  • Consider looking for FI substitutions (Transaction SPRO or OBBH)
  • Try to use EXIT_SAPLV60B_002 (zxvvfu02) for items (BSEG field)
  • (both) Consider export data to memory in SD exit, and import the data in a customer exit in the FI substitution

Regards,

Raymond

eduardo_hinojosa
Active Contributor
0 Kudos

Hi

Are you changing the value for ACCIT-RSTGR (or XACCIT-RSTGR) in the proper userexit? Please, check Note 301077 - User exits for the interface to accounting for doing the changes in the right item.

Regards

Eduardo

VijayCR
Active Contributor
0 Kudos

Use the exit SDVFX008 include (ZXVVFU08) and update the structure XACCIT

or

You can use the BTE 00001120     DOCUMENT POSTING:  Field substitution header/items

for substitueting the BSEG Values.

All you have to do is replace/substiturte values in the structure T_BSEGSUB.

Example :

LOOP At T_BSEG_SUB into WA_BSEG_SUB..

WA_BSEG_SUB- .... = ' '.

MODIFY T_BSEGSUB FROM WA_BSEG_SUB INDEX LV_IDX.

ENDLOOP.

Thanks,

VJ.