cancel
Showing results for 
Search instead for 
Did you mean: 

Document Status

Former Member
0 Kudos

Hi All,

My client requirement is to display text of document status instead of icon/symbol in FBL1N transaction code. If enhance a field in RFPOS structure but problem is how can I determine the document status at runtime?

Regards,

Syed Tayab Shah

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

In REPOS strcture the status filed BSTAT based on this you can disply the status in your report.

this is the report RFITEMAP in this cahnge the field catelog

for this copy the stnadard program and do the changes...

call function 'FI_ITEMS_DISPLAY'

exporting

caller_repid = c_repid_ap

acctype = c_koart_ap

x_change = x_change

i_u_save = gd_alvsave

is_u_variant = gs_variant

it_u_fieldcat = gt_fieldcat[]

it_kontab = it_accts[]

it_slbtab = it_comps[]

it_t001 = it_h_t001[]

it_lfa1 = it_h_lfa1[]

it_lfb1 = it_h_lfb1[]

x_grid = x_grid

x_inet = pa_inet

tables

it_items = it_pos.

Normal document

A Clearing Document

B Reset clearing document

D Recurring entry document

L Posting Not in Leading Ledger

M Sample document

S Noted items

V Parked document

W Parked document with change of document ID

Former Member
0 Kudos

Dear Reddy,

thanks for your reply.

I dont understand your point where I stop break at 'FI_ITEMS_DISPLAY' function and checked value of

gt_fieldcat[] field, but it is blank. I also checked it_pos iternal table bstat field is blank only parked 'V' value display.How can I analyze other document types.

Regards,

Syed Tayab Shah