Hi SAP
In a SAP standard form PTRV_EXPENSE_FORM which prints the details of a single expense statement, alternatives are defined for output based on flags which declare if all items in the table have the same currency for example. As such, currency and exchange rate columns can be suppressed .
However in form PTRV_EES_FORM, the output is for multiple expense statements and the flag is set in the deep structure for each expense. The layout of the form is designed with alternatives in mind i.e. it has the same layout blocks as PTRV_EXPENSE_FORM however the conditional logic in the context has not been coded so it always displays the default block without receipt currency / exchange rate.
I cannot see how to code the alternative in context since it does not allow me to select the table with the flags from the deep structure ( i.e. it is passed a table of tables ). I would need EXPENSE_STATEMENT-I_FORM_CONTROL-FC_REC_TAXFREE_ONE_RCURR which does not compile
any ideas ?
regards
Ian