cancel
Showing results for 
Search instead for 
Did you mean: 

Form View gets disabled in VC....

raju_saravanan
Contributor
0 Kudos

Hellow SDN friends

• As of know, I am working in visual composer. I had struck in one point . Help is highly appriciated

• The Constraint is, Using Form view, I need to store the user entered data through first BAPI. If suppose the user wants to update the same, the form should retrive the data from another one BAPI

• The form having 12 fields. Out of these fields, two fields are having hard coded (drop down values) values like sales area (North, South, East, West) & Time Period (January to December)

• Hence the user can select drop down values (hard coded) in those two fields & they can enter values for the remaning fields. Once they hit the submit button, the entered data should be saved in ECC using first BAPI. (This functionality working fine for me)

• The second functionality is, by selecting drop down values in the same form view(sales area, time period) and hitting another button called “RETRIEVE” the saved data should get populated in the same fiedls in the form (Help of second BAPI)

• My design is, I made a form view & connected the output to first bapi input for storing (This working fine). Than the same output line I mapped in the second bapi also with different custom created event. Finally I mapped the output of the second bapi to input for the first form.

• When run time the entire form gets disabled.

• Expecting your quicker response. Points will be awarded.

Thanks & Regards

Saravanan.r

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

Check the visibility of the form.

Regards,

MrChowdary.

Answers (4)

Answers (4)

raju_saravanan
Contributor
0 Kudos

Solved

Former Member
0 Kudos

Hi Raju,

I have a very similar problem to this. How did you solve it ?

Many Thanks

Gary

Former Member
0 Kudos

Hi Saravaran

Do one thing.. to make your form as visible at runtime

see as per your query your r retrieving the data from second BAPI by selecting sales area and time period to get populated in the same fiedls in the same form

inform your abaper to customize this second BAPI(to retrieve ) such that if u pass blank value to this sales area and time period import parameter fields, it should able to excute the BAPI and pass the blank values as export parameters.. hope this will be done by abaper.

once this second BAPI is working fine as per the above secenario

now come to the story board ans place a start connector

add two parameters(fields) to this start connector (make sure the names are same as your two import parameters of second BAPI(i.e sales area,time period))

now drag a link from start connector to import parameter of second BAPI.

in the link mapping set the valus as blank(i.e sales area==" " & time period==" ")

now you run your application

enjoy

Regards

Srinivas

please award points

Former Member
0 Kudos

Hi Saravanraju

Make a query for fetching data on the Retrieve button event from the first BAPI (after the submit event has saved data)and then configure the fields in a different form or may be if it is only for display purpose ,then go for pop-up and display it there.

Please remove the 2nd BAPI and the mapping to the form becuse that is the reason why the form is disabled at runtime.

Putting auto-commit ON on the first BAPI should help u retrieve data later.

Regards

Navneet

raju_saravanan
Contributor
0 Kudos

Hi Navneet

Using some form it is working. The senario is i want update the entered data.

Can you suggest me how we can use the popup...?

Regards

Saravanan.r

Former Member
0 Kudos

hi

Please go through the following links:-

https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/2837ce55-0b01-0010-6e96-bd0...

The following link is helpful specific to your scenario(if the pop-up is implemented):-

Regards

Navneet

former_member209575
Contributor
0 Kudos

Hi Saravanan

I think you cannot give input like this because, it creates some cyclic process and causes some errors while loading input form, you can approch some other design techniques...

Regards

Pradeep P N

raju_saravanan
Contributor
0 Kudos

Hi Pradeep

Could you advice me some other technic for this secenario...

Regards

Saravanan.r