Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

FB70: How t o modify the value of BSEG-XREF before posting?

Hi ABAP Gurus,

Good day!

I would like to know the correct way to modify the value of BSEG-XREF1 in FB70 (Prior to posting of document).

Currently, I have tried using substitution. First, I copied RGGBS000 into ZRGGBS000 AND added form u300, which will modify BSEG-XREF1. Second, I have added a step to an already existing substitution (COGS), which was set-up in transaction OBBH. I have assigned u300 to BSEG-XREF1 (Refernce Key 1).

The said step didn;t seem to work. I was able to post a document and then I displayed the document. Unfortuantely, BSEG-XREF1 hasn't been modified. So, I tried debugging the form U300. It doesn't stop inside that form, which means the logic that i put there was useless. By the way, the the formname that Im using can be found in two internal tables: (1) exits, and (2) etab.

Kindly advise on what to do. Thank you very much!

<b>Best Regards.


Former Member

Helpful Answer

Not what you were looking for? View more on this topic or Ask a question