2009 Mar 16 5:02 AM
Hi Experts,
i want to know , is it possible to call the RFC in side the smartform. In my requirement, i need some data from ECC system to display in the smartform of the CRM.
currently i am trying to call outside the smartform and pass to the same, but smartform is triggered from actions and due to other constrints i am not able to to do so..
hence kindly suggest me the other options or is it possible to fetch the data from the ECC to CRM usinfg the RFC inside the smartform.
Thanks in advance
Pradeep
2009 Mar 16 5:09 AM
Hi,
when you activate smart form SAP compiles it to standard function module. So there should not be any constraints about RFC calls. Obviously printing of the form will be slower. The easiest way is to test it.
Cheers
Hi Experts,
i want to know , is it possible to call the RFC in side the smartform. In my requirement, i need some data from ECC system to display in the smartform of the CRM.
currently i am trying to call outside the smartform and pass to the same, but smartform is triggered from actions and due to other constrints i am not able to to do so..
hence kindly suggest me the other options or is it possible to fetch the data from the ECC to CRM usinfg the RFC inside the smartform.
Thanks in advance
Pradeep
2009 Mar 16 5:09 AM
Hi,
when you activate smart form SAP compiles it to standard function module. So there should not be any constraints about RFC calls. Obviously printing of the form will be slower. The easiest way is to test it.
Cheers
2009 Mar 16 5:11 AM
Hi,
Write a driver program and call your rfc here as you are calling in normal report.
Thanks,
Asit Purbey.
2009 Mar 16 5:17 AM
Hi,
I hope yes you can write the RFC fm code inside the layout of the smartforms, but the problem is if RFC could not able to fetch the data from R/3 some times, or if it could not able to find the right records then it will return with error / blank records. To avoid all this kind of problems its better to write the same code in your driver program. In case if you dont get the data from R/3 then you can control the layout set from triggering.
Regards,
Satya
2009 Mar 16 5:23 AM
Hi Pradeep,
U can call the RFC in smartforms.
u can write the code in Program lines.
1. get rfc destination first.
2. call the RFC FM.
2009 Mar 16 5:30 AM
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |