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

RFC function call

Former Member
0 Likes
540

Hi friends ,

I have created on RFC in R/3 to update saftystock in MARC table . when i execute this in SE37 it is updating the MARC table . The proble is when i execute this RFC from BW system with the

CALL FUNCTION 'ZSCPI033' destination 'TCOCLNT101'

EXPORTING

  • BAPI_HEAD =

  • BAPI_MARC1 =

  • BAPI_MARCX =

IMPORTING

BAPI_RETURN = V_RETURN1

TABLES

INT_MAT = t_process

.

It is updating the record in MARC table of R/3 system with the value 0. BAPI_return type is showing 'S'.

can anybody help me on this pls.

Regards

prithvi.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
494

what abt command <b>Commit work and wait</b> ?

Regards

prabhu

3 REPLIES 3
Read only

Former Member
0 Likes
495

what abt command <b>Commit work and wait</b> ?

Regards

prabhu

Read only

Former Member
0 Likes
494

put a COMMIT WORK after the RFC

Read only

Former Member
0 Likes
494

Hi

Kindly do coding

put a COMMIT WORK after the RFC

if l_failure = 'X' .

rollback work .

message i000 with reservation ' : Data not saved! '.

else.

commit work .

message s000 with reservation

' : successfully saved! '.

endif.

Reward points...for your query answered