on 03-14-2005 11:02 AM
Hi all ,
I'm implementing a new field in VA01 custom screen named "Additional data B" in this field in the user exit "userexit_pricing_prepare_tkomk(sapmv45a)" a value in table KOMK .
This works well , but now i have to pass this custom value to BAPI_SALESORDER_SIMULATE , but i can't find any userexit or Extensionin custom Structure for make it working equal than VA01 .
Any Idea ? Dario
Use the structure EXTENSIONIN in the bapi to pass the field and values.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi , i've read some OSS Notes about it but it doesn't work
This is my situation :
I have added a field into VBAK named ZZTEST , i have also added this field into customable screen of VA01 in section "ADDITIONAL DATA B" . In transaction VA01 , VA02 , On a user Exit i test this field and make some istructions .
So i have placed some breakpoint , in this userexit and i've seen by running BAPI_SALESORDER_SIMULATE that the process step in it .
So , i have tried to pass by BAPIREX structure this custom field in this method :
SD_BAPIREX-STRUCTURE = "BAPE_VBAK".
SD_BAPIPAREX-VALUEPART1 = "TEST".
APPEND SD_BAPIPAREX.
I' have edited structure "BAPE_VBAK" adding the custom field , but it doesen't work , when i launch the bapi and it pass in the user exit , the value VBAK-ZZTEST is not valorized . . .
I've check the process by debugging BAPI , and i have tried to modify some other structure , but i have no good results . . . HELP !
Hi all , i have solved my problem :
I have edited this structure :
BAPE_VBAK adding an include that contain my custom field ZZTEST
BAPE_VBAKX adding an include that contain a flag of CHAR1 for my custom field ZZTEST
So , i have filled the EXTENSIONIN structure in this method :
*********************************
SD_BAPIPAREX-STRUCTURE = 'BAPE_VBAK'.
SD_BAPIPAREX-VALUEPART1+10 = MTS.
APPEND SD_BAPIPAREX.
SD_BAPIPAREX-STRUCTURE = 'BAPE_VBAKX'.
SD_BAPIPAREX-VALUEPART1+10 = 'X'.
APPEND SD_BAPIPAREX.
*************************************
Dario
Hello, hello.
It is very important that your VBAKKOZX append have the same fieldname as your VBAK extension ZZ fields !!
----
-VBAK extension for VBAK-ZZTYPE and VBAK-ZZSTATUS -
- (count field length in BAPE_VBAK) -
----
clear: extensionin.
extensionin-structure = 'BAPE_VBAK'.
extensionin-valuepart1(10) = quotation_doc.
extensionin-valuepart1+10(4) = change_header-quot_status.
extensionin-valuepart1+14(4) = change_header-quot_type.
APPEND extensionin.
clear: extensionin.
extensionin-structure = 'BAPE_VBAKX'.
extensionin-valuepart1(10) = quotation_doc.
extensionin-valuepart1+10(1) = 'X'.
extensionin-valuepart1+11(1) = 'X'.
APPEND extensionin.
Erik
Edited by: Erik Hoven on May 22, 2008 9:17 AM
User | Count |
---|---|
85 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.