cancel
Showing results for 
Search instead for 
Did you mean: 

Validation

Former Member
0 Kudos

Hi Experts,

I have three views namely FileUpload, DirectEntry and Confirmation views.

FileUpload view is used to upload an excel file which will directly map the columns in the Direct Entry View, once i click SUBMIT, it checks all the data are entered and navigates to the Confirmation view and shows the ID returned from R/3... and I have 2 buttons in this form to navigate to Fileupload and Direct Entry views. My code works fine upto submitting the data for the first time... when I upload another file... it doesn't fetch any data from excel and not being displayed in the direct entry views...

Pls guide what i have to do... for uploading a file or Entering the data in the entry view for the second time... I am able to save the data only once... and fail to do it in the second entry.... Pls give me step by step procedure...as i am new to WebDynpro...

Regards/Guru

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Kumara,

Sounds like you are initializing certain context structures in wdDoInit of view/component controller but never reset them back.

1. If the problem is view, then open "Properties" tab of view editor and set "Lifecycle" property to "when_visible" rarther then default "framnework_controlled"

2. If the problem is wdDoInit of component controller, then move initialization logic in separate method, then call this method both from wdDoInit and inbound plug of view(s). Most probably only "back" inbound plug of first view is necessary.

Valery Silaev

SaM Solutions

http://www.sam-solutions.net