Skip to Content

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

Add BSTNK to FBL5N

Hi,

I would like to include field BSTNK in FBL5N.


My BTE works for FM 1650 as I am able to see the field. However no data shows. I have tried tables VBKD and VBAK and no values poulate.

But when I use another table (VBRP) and another text field (ARKTX) it works as expected.


Here is the code that works:

E_POSTAB = I_POSTAB.

if sy-tcode = 'FBL5N'.

tables vbrp.

select single arktx

   from vbrp

   into e_postab-zzbstnk

   where vbeln = i_postab-vbeln.

   endif.

Here is the one that does not work:

E_POSTAB = I_POSTAB.

if sy-tcode = 'FBL5N'.

tables vbak.

select single bstnk

   from vbak

   into e_postab-zzbstnk

   where vbeln = i_postab-vbeln.

   endif.

The only difference between these 2 is the tables/fields used.

I appreciate any assistance.


If I am in the wrong forum space, please let me know....

Thanks,

Sonia.

Former Member
replied

Hi,

Try giving condition: where vbeln = i_postab-vbel2.

Regards,


Eli

0 View this answer in context

Helpful Answer

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