‎2010 Mar 04 1:08 PM
Dear All,
We want to pass a value to a c program that runs in unix system with same SAP machine, and it returns a value.
Is it possible to handle this with a BAPI or anything else?
Thanks in Advance..
‎2010 Mar 04 1:18 PM
Define your program call in SM69, for calling the defined program check function module SXPG_CALL_SYSTEM
‎2010 Mar 04 1:17 PM
Hi,
Hi go through the link which shows how to call an external program in SAP [External programs|http://www.sapfans.com/forums/viewtopic.php?f=31&t=326522]
‎2010 Mar 04 1:18 PM
Define your program call in SM69, for calling the defined program check function module SXPG_CALL_SYSTEM
‎2010 Mar 05 1:17 PM
Dear Rainer,
We have tried your answer and that was so usefull. But we couldn't run out.
SXPG always returns ld.so.1: kz_sik: fatal: libstdc++.so.5: open failed: No such file or directory error.
Also PATH and LD_LIB_PATH varibles of root, SIDADM users were set.
libstdc++ file is currently under /usr/local/lib
What should need?
Thanks in Advance
‎2010 Mar 05 3:07 PM
Any update!
Also PATH and LD_LIB_PATH envoriements of root, sidadm and oraadm users have been set but still error.
‎2010 Mar 05 3:12 PM
Hi,
Application server file path is case sensitive. Was this taken care?
Thanks,
Vinod.
‎2010 Mar 05 3:20 PM
‎2010 Mar 05 3:52 PM
Thank You for your concern Guys,
Problem was solved via copy below libraries under /usr/lib
libstdc++.so
libstdc++.so.5
libgcc_s.so.1