cancel
Showing results for 
Search instead for 
Did you mean: 

Regarding structure field

Former Member
0 Kudos

Hi Experts,

I created sap script for payment print prog and for that i use standard prog RFFOUS_C. in my sap script <b>check voucher no</b> fied COBL-ZVOUCHRNO....

COBL is a structure... so now how can i display this field in sap script.......

just give me some logic for this

give me suggetion

Jigar

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi,

check COBK Table.

reward if it helps,

Satish

naimesh_patel
Active Contributor
0 Kudos

Since its your Z field in your COBL, than you must have to dig into some FI related table to find out where that field is being stored.

Look for the BSEG, or BKPF...

Regards,

Naimesh Patel

Former Member
0 Kudos

Hi Naimesh,

Thanks for quick reply... I see in bseg table and field is bseg-ZZVOUCHRNO.. but its blank.......... and i already filled the value in cobl-ZZVOUCHRNO

so now what i do???

Jigar

Former Member
0 Kudos

Hi all,

I find the field voucher no name is BSEG--ZZVOUCHRNO How can i feel the value in payment print prog. cause its blank in which t-code i fill the value for voucher no...... i use tcode F-43, FB03, F-58.

Jigar

former_member200872
Active Participant
0 Kudos

Jigar Bhatt,

you have mentioned : standard prog RFFOUS_C.

in sap script check voucher no fied COBL-ZVOUCHRNO....

But COBL is a structure.

Firstly, one needs to find : from which table or table field's data is displayed in COBL structure.

This can be found from the program or navigate from the t-code known to the relevant table.

This should resolve your issue.

Wajid.

former_member200872
Active Participant
0 Kudos

get value from bseg table according to required condition into your program.

check that you get some value. read this value (from internal table / structure).

Former Member
0 Kudos

Hi Wajid,

I did debugging in every include prog and i find the value in COBL-ZVOUCHRNO. and this COBL-ZVOUCHRNO transfer the value in BSEG-ZVOUCHRNO but in standard prog "SAPMF05A" clear the COBL-ZVOUCHRNO value and BSEG-ZVOUCHRNO no also..... so now i run the t-code F-58 for payment sap script but value is blank.... so what i do???

Give me suggetion wajid

Jigar

former_member200872
Active Participant
0 Kudos

Hi,

In Debugging mode, you find value in COBL-ZVOUCHRNO.

and this COBL-ZVOUCHRNO transfer the value in BSEG-ZVOUCHRNO

When you get a value in COBL-ZVOUCHRNO, find out the source from where it is being retrieved / saved.

"for payment print prog and for that i use standard prog RFFOUS_C. in my sap script "

in your script program you need to get the value of ZVOUCHRNO (based on some condition), so that it can be printed. If any tcode is used, pass this value.

Hope and pray that i will be helpful to you.