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

GN_DELIVERY_CREATE

aidan_mulcahy
Active Participant
0 Likes
1,858

Hi,

I am using GN_DELIVERY_CREATE to create a delivery. This works fine except for one thing.

Some customers are 'One-time' customers so we would like to introduce a ship-to address in the FM that would be entered in the delivery. There is a dummy customer maintained to allow delivery creation but the address data should be ignored.

I have added the data in the FM tables XKOMDLGN and IT_GN_PARTNER but it seems to be ignored as it takes the data from the master data in KNA1.

Anyone know how to update the ship-to address in the FM?

Thanks.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,546

I guess u need to pass data to table :- BAPIADDR1 of the FM.

8 REPLIES 8
Read only

Former Member
0 Likes
1,547

I guess u need to pass data to table :- BAPIADDR1 of the FM.

Read only

0 Likes
1,546

Hi,

thanks for the reply, but I'm not sure I understand. There is no reference to the structure bapiaddr1 in the FM. Could you expand what you mean?

thanks.

Read only

0 Likes
1,546

there is a table parameter IT_BAPIADDR1 of BAPIADDR1 structure type try using this.

Read only

0 Likes
1,546

ahh, now I see. You are on ECC. The system I am working on is 4.6C.

The table paramater IT_BAPIADDR1 does not exist in 4.6C. This is what I have available:


XKOMDLGN
XVBFS
XVBLS
XXLIPS
XVERKO
XVERPO
IT_GN_PARTNER
IT_GN_LIPSPO
IT_GN_LIPSRF
IT_GN_TEXTH
IT_GN_TEXTL
IT_GN_HUSERNR
IT_GN_SERNR

Read only

0 Likes
1,546

Hi,

I was away from this for a while - back to it now.

Anyone know how to update the ship-to address data in a delivery using the FM 'GN_DELIVERY_CREATE'?

thanks.

Read only

0 Likes
1,546

In ur IT_GN_PARTNER table parameter u have ADRNR and other address related fields , fill them and see for ship to address.

Read only

Former Member
0 Likes
1,546

Hi

krockroc with this GN_DELIVERY_CREATE MF, if pudistes create an inbound delivery (ASN) as making sap in tx VL31N. Because I have a need equal, I would spend an example of this function.

Thank you.

Read only

Former Member
0 Likes
1,546

Hi

krockroc with this GN_DELIVERY_CREATE MF, if pudistes create an inbound delivery (ASN) as making sap in tx VL31N. Because I have a need equal, I would spend an example of this function.

Thank you.