Skip to Content
0

how to transfer non-character-type data by extension in bapi: SD_SALESDOCUMENT_CREATE

Nov 01, 2016 at 08:13 PM

133

avatar image

hey dear

there some non-character-type data in BAPE_VBAP, so we can't transfer data by extension in bapi: sd_salesdocument_create directly; according to sap notes 509898 suggestion, we should make some conversion, in this case, we wanna to know, where/which badis/user-exits we can processing-extensionin data.

thx in advanced

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

max bianchi Nov 02, 2016 at 07:08 PM
0

Hi

You should have enhanced the following structures

  1. BAPE_VBAP
  2. BAPE_VBAPX

Here you should have your fields in character type

The BAPI move the fields values from extension structure to BAPE_VBAP and BAPE_VBAPX

Probably you need to enhance the structures:

  1. VBAPKOM (by append structure VBAPKOZ)
  2. VBAPKOMX (by append structure VBAPKOZX)

Those structures have to be enhanced only if your fields are not managed by BAPI and here you need to create the fields with their real format, so not-character-type

The BAPI should fill them automatically by statament MOVE-CORRESPONDING, else you can use the exit:

  • USEREXIT_MOVE_FIELD_TO_VBAPKOM (include MV45AFZB)

Max

Show 1 Share
10 |10000 characters needed characters left characters exceeded

hey dear

thx for your recommendation, we use memory id to adress this, and it worked, thx again.

0