Skip to Content
avatar image
Former Member

Form View gets disabled in VC....

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

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

5 Answers

  • Best Answer
    avatar image
    Former Member
    Aug 21, 2007 at 11:48 AM

    Hi,

    Check the visibility of the form.

    Regards,

    MrChowdary.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Aug 20, 2007 at 07:48 AM

    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

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Aug 21, 2007 at 12:12 PM

    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

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Aug 20, 2007 at 07:36 AM

    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

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Feb 11, 2008 at 07:06 AM

    Solved

    Add comment
    10|10000 characters needed characters exceeded