2007 May 29 9:22 PM
Hi,
Please help.
I want to call transaction OAOH with business object PREL and document type and HRICOLFOTO in order to upload photo in ABAP PROGRAM. I need set the name of file in the object.
Anyone done anything like this???
Hi,
Please help.
I want to call transaction OAOH with business object PREL and document type and HRICOLFOTO in order to upload photo in ABAP PROGRAM. I need set the name of file in the object.
Anyone done anything like this???
2007 May 29 9:27 PM
Write down logic like this.
set parameter id 'OAO' field ur field.
set parameter id 'DOK' field ur field.
call transaction 'OAOH' and skip first screen.
Thanks
Seshu
2007 May 29 10:55 PM
Thanks Seshu
But you could explain to me the use of command.
I Put:
set parameter id 'OAO' field TOAOM-DOC_TYPE.
CALL TRANSACTION 'OAAD' AND SKIP FIRST SCREEN.
CALL TRANSACTION 'OAAD' USING T_BD MODE 'A' MESSAGES INTO T_MESSTAB.
2007 May 29 11:00 PM
set parameter id works like SAP memory and it keeps the temporary value and that one we will use transaction level
set parameter id 'OAO' field TOAOM-DOC_TYPE.
CALL TRANSACTION 'OAAD' AND SKIP FIRST SCREEN.
2007 May 30 2:08 PM
ok. not problem with SET, but the problem is not with the fields of the dynpro. The problem is with the object to capture the name of the file, this is not DYNPRO
2007 May 30 3:05 PM
When I run the batch input in foreground, everything is ok until I have
the windows popup asking the name of the file.
I'm in the correct directory, put it doesn't pick the file.
I'm working in ECC 6.0 and screen 0105 for OBJECT SAPLOPTM
Any idea ? I'm so near of the final solution.
2007 May 30 9:32 PM
resolved problem. The function ARCHIV_CONNECTION_INSERT should be used.
Thank you
2007 May 30 9:33 PM
2008 Feb 06 4:22 PM
How and where did you use the ARCHIV_CONNECTION_INSERT? Please specify the parameters used. We are having the same problem you described where the file is not being selected but you are in the correct directory (while running in the foreground). Also, did the mass upload work in the background without problems. Thanks in advance.
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |