2006 Jun 15 6:57 AM
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,
2006 Jun 15 7: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.
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,
2006 Jun 15 7: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
2006 Jun 15 7: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.
2006 Jun 15 7:25 AM
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?
2006 Jun 15 7: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.
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |