[56347] in SAPr3-news
Re: Help with function mocule BAPI_ADDRESSCONTPART_CHANGE
daemon@ATHENA.MIT.EDU (Christoph Thomas)
Wed Dec 28 15:47:22 2005
To: sapr3-news@mit.edu
Date: Wed, 28 Dec 2005 21:47:16 +0100
From: Christoph Thomas <christoph.thomas@gmx.de>
Message-ID: <doutkl$bt8$1@svr7.m-online.net>
Hi Kevin,
I'm not at work for the moment, so I can only guess...
You use 'I' for the Updateflag. Usually this means Insert (new and creates
the second entry), perhaps you can try 'U' (Update)?
Hope this helps, Christoph
yokie_joe@hotmail.com wrote:
> Hello all
>
>
> I create the customer and then attempt to insert the telephone
> information using the tables BAPIADTEL and BAPIADTEL_X.
>
> ***landline data
> IF NOT personal_data-tel1_numbr IS INITIAL.
> MOVE: personal_data-tel1_numbr TO BAPIADTEL-telephone,
> 'X' TO bapiadtel_x-telephone,
> 'X' TO bapiadtel_x-std_no,
> 'X' TO bapiadtel_x-r_3_user,
> 'I' TO bapiadtel_x-updateflag,
> 'X' TO BAPIADTEL-std_no,
> '1' TO BAPIADTEL-r_3_user.
> ENDIF.
>
> IF NOT personal_data-tel1_ext IS INITIAL.
> MOVE: personal_data-tel1_ext TO BAPIADTEL-extension,
> 'X' TO bapiadtel_x-extension,
> 'I' TO bapiadtel_x-updateflag.
> ENDIF.
>
> APPEND: bapiadtelx, bapiadtel.
> Thanks and best regards
> Kevin