on 08-20-2007 8:01 AM
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
Hi,
Check the visibility of the form.
Regards,
MrChowdary.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Solved
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi
Please go through the following links:-
The following link is helpful specific to your scenario(if the pop-up is implemented):-
Regards
Navneet
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
77 | |
9 | |
7 | |
6 | |
6 | |
6 | |
6 | |
6 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.