Application Development 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: 

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

da_tang
Participant
0 Kudos

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

2 REPLIES 2

Former Member
0 Kudos

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

0 Kudos

hey dear

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