Skip to Content

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

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

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • avatar image
    Former Member
    Nov 02, 2016 at 07:08 PM

    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

    Add comment
    10|10000 characters needed characters exceeded