‎2008 Mar 07 11:44 AM
Presently trying to upload emplyee photos using OAOH using BDC. The BDC program is able to upload the file but when it comes to running transaction OAOH the file could not be picked automatically.
what could be the reason. how to automate this.
Kindly help.
anya
‎2008 Mar 07 1:04 PM
Hi Anya,
Please check what value is comming in the function module ARCHIV_CREATE_DIALOG_META importing parameter ' SAPPFAD - SAP ArchiveLink file paths ' which is called from report ' OANEWCON ' for transaction OAOH
Hope you get the right details.
Regards,
Gaurav
‎2008 Mar 07 1:04 PM
Hi Anya,
Please check what value is comming in the function module ARCHIV_CREATE_DIALOG_META importing parameter ' SAPPFAD - SAP ArchiveLink file paths ' which is called from report ' OANEWCON ' for transaction OAOH
Hope you get the right details.
Regards,
Gaurav
‎2008 Mar 07 1:15 PM
hi,
PARAMETER P_FILE LIKE IBIPPARMS-PATH.
AT SELECTION-SCREEN ON VALUE-REQUEST FOR P_FILE.
CALL FUNCTION 'F4_FILENAME'
EXPORTING
PROGRAM_NAME = SYST-CPROG
DYNPRO_NUMBER = SYST-DYNNR
FIELD_NAME = 'P_FILE'
IMPORTING
FILE_NAME = P_FILE.
‎2008 Mar 08 6:40 AM
Hi gaurav,
In transaction OAOH for the FM ARCHIV_CREATE_DIALOG_META the file path is importing parameter so how can i change this using BDC or my predefined file path.
Hope you undesttand this point.
anya
‎2008 Mar 10 12:31 PM
Hi Anaya,
One thing you can do put a single record for BDC transaction and can debug the same.
This is not a direct solution but hope you catch the point.
Regds,
Gaurav
‎2008 Mar 11 3:21 AM
problem solved instead of BDC or OAOH developed a customized prgram which is picking file automatically and uploading to infotype 0002.
thanks to all
anya
‎2008 Mar 11 3:23 AM
‎2015 Jun 16 4:34 PM