Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

set parameter in object after call transacction

Former Member
0 Likes
1,209

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???

8 REPLIES 8
Read only

Former Member
0 Likes
1,163

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

Read only

0 Likes
1,163

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.

Read only

0 Likes
1,163

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.

Read only

0 Likes
1,163

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

Read only

0 Likes
1,163

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.

Read only

0 Likes
1,163

resolved problem. The function ARCHIV_CONNECTION_INSERT should be used.

Thank you

Read only

Former Member
0 Likes
1,163

esta e sla solucion. ARCHIV_CONNECTION_INSERT

Read only

0 Likes
1,163

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.