on 12-14-2004 9:54 AM
Hi SDN,
How can I pre fill a form with the result of two other forms and how can I automatically raise a submit in a form which is filled by the results of two other BAPIs?
E.g. I have executed two times the BAPI ISUFINDER.
The first BAPI returns a number of the businesspartner in the variable OBJKEY. The scond BAPI returns the ISUACCOUNT in the variable OBJKEY. How can I bring
them together so that these results fill the fields in the input form for a third BAPI, which is the input form for the third BAPI ACCOUNT GETBALANCES.
One OBJKEY is the PARTNER and another OBJKEY should be mapped to the field CONTRACTACCOUNT. Is there anyway to raise the submit automatically in the third input form.
Thanks very much.
Best Regards,
Olaf Reiss
Hi Olaf,
1. Sorry, for now you cannot join two forms or BAPI outputs, it is planned for a future release.
2. To automatically submit a form's data to a BAPI you can change the name of the event (submit) to select. in order to do that you should right click on the connecting line between the form and the BAPI and select "Define Properties"-> change the name to "select". the event will be raised automatically.
Regards,
Lisi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks Lisi,
antoher question.
When I use the select function, is there anyway to decide based on the output of the first BAPI if the next submit/select will be raised or not.
E.g. I have a BAPI_BUPA_ADRESS_ADD. If the result of this BAPI is wrong, then the submit/select of the next BAPI should be not raised, because e.g. the entered address does not exist. But if the address does exist, then the BAPI returns a ADDRESSGUID (32 Charcter id code ==> so I know it is all ok) and the next submit/select should be raised.
Is there anyway via the computing properties of the BAPI?
Thanks,
Sorry for my question bombing ;o)
Best Regards,
Olaf Reiss
User | Count |
---|---|
87 | |
10 | |
9 | |
9 | |
9 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.