cancel
Showing results for 
Search instead for 
Did you mean: 

I need information about Xbilk field of char1 type in Web Dynpro Java.

laxmikant_pandit2
Participant
0 Kudos

Hi,

I require information in Web Dynpro.

I have a field Xbilk which is char1 ABAP field.

Here there are 2 type of accounts which are identified by Xbilk char1 field.

if that is filled then it is a Balance sheet account.

else it is a Profit and loss account.

But in testing it is going to Balance sheet even if it is profit and loss account and end result is always Profit and loss account which is incorrect.

In Dynpro , value attribute and model attribute char1 type is used.

Code is also surrounded by try catch block and for block.

Please see attachments for code .

wdContext.nodeItemDetailsValue().getItemDetailsValueElementAt(

i).setXbilk(

wdContext

.nodeOutput_K_Vbseg()

.getOutput_K_VbsegElementAt(i)

.getXbilk());

if (wdContext.

nodeItemDetailsValue().

getItemDetailsValueElementAt(i).

getXbilk().

equalsIgnoreCase("X"))

{

wdComponentAPI.getMessageManager().reportException("Entered GL is BS", true);

}

else

{

wdComponentAPI.getMessageManager().reportException( "Entered GL is PL" ,true );

}

Thanks

Laxmikant

Accepted Solutions (0)

Answers (0)