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

function OIGI_LOADING_CREATE

Former Member
0 Likes
1,463

Hello ABAP-gurus,

I have made an ALV grid to Update, confirm or cancel a shipment load. I am not sure if this function can do all this, but I am trying with different input parameters... Does anybody know hoe to use this function for each purpose? I would appreciate any input:)

Regards Ballo

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,219

Hi.

To load shipment I call 1st FM in a way:

CALL FUNCTION 'OIGI_LOADING_CREATE' DESTINATION 'NONE'

EXPORTING

I_SUBRC = 9 "save and commit

I_SHNUMBER = shNumber

I_VEHICLE = vehicle

I_LDPLT = plant

I_LDDATE = loadDate

I_LDTIME = loadTime

I_LDCDAT = loadDate

I_VEH_NR = veh_nr

TABLES

T_OIGISVMQ = quantity_items

T_OIGISVMQ2 = hpm_append

T_OIGISIQ = doc_quan_items

EXCEPTIONS

COMMUNICATION_FAILURE = 1 MESSAGE p_error

SYSTEM_FAILURE = 2 MESSAGE p_error.

Regards

Sudheer

3 REPLIES 3
Read only

Former Member
0 Likes
1,220

Hi.

To load shipment I call 1st FM in a way:

CALL FUNCTION 'OIGI_LOADING_CREATE' DESTINATION 'NONE'

EXPORTING

I_SUBRC = 9 "save and commit

I_SHNUMBER = shNumber

I_VEHICLE = vehicle

I_LDPLT = plant

I_LDDATE = loadDate

I_LDTIME = loadTime

I_LDCDAT = loadDate

I_VEH_NR = veh_nr

TABLES

T_OIGISVMQ = quantity_items

T_OIGISVMQ2 = hpm_append

T_OIGISIQ = doc_quan_items

EXCEPTIONS

COMMUNICATION_FAILURE = 1 MESSAGE p_error

SYSTEM_FAILURE = 2 MESSAGE p_error.

Regards

Sudheer

Read only

0 Likes
1,219

Hi,

Yes the creation of a load works, but what if I want to confirm update or cancel a load? do I use the same FM?

Rgards Ballo

Read only

0 Likes
1,024

I want to know the detail description of  "I_SUBRC" .