Skip to Content
author's profile photo Former Member
Former Member

Populate fields in extensions

Hi All,

We have a requirement where we need to post 3 ZFIELDS in to standard TABLE MARC using standard BAPI “BAPI_MATERIAL_SAVEDATA”

We have tried to populate these fields in extensionin but it is not happening.

If any one have solution please reply at earliest

Regards,

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Jun 15, 2006 at 06:47 AM

    1. 1st field of BAPI_TE_MARC is Plant field so-

    EXTENSIONIN-STRUCTURE = 'BAPI_TE_MARC'.

    EXTENSIONINX-STRUCTURE = 'BAPI_TE_MARC'.

    EXTENSIONIN-valuepart1+0(4) = WERKS.

    EXTENSIONINX-valuepart1+0(1) = WERKS.

    EXTENSIONIN+4(6) = ZFIELD1.

    EXTENSIONINX+4(1) = 'X'.

    EXTENSIONIN+10(6) = ZFIELD2.

    EXTENSIONINX+5(1) = 'X'.

    Thats it.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jun 15, 2006 at 06:04 AM

    HI,

    This should be done by screen exists. First we need to add the fileds in the MARC table in the .Include, Later we need to create a subscreen and add these 3 fields in the screen where you required to. It is kind of screen exit.

    Regards,

    Ram Mohan

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jun 15, 2006 at 06:18 AM

    Assuming that you are passing the extension fields in the structure EXTENSIONIN, have you passed similar indicators in EXTENSIONINX? Can you please post your code where population is done?

    Can you see the new zfields in structure BAPI_TE_MARC? if not then it will never work.

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      I am not able to see the fields in BAPI_TE_MARC, but when I am trying to add these fields it is saying already exists, more over I am not passing in EXTENSIONINX, can you tell how to do it for EXTENSIONINX?

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.