on 04-26-2006 11:27 PM
In sales order BAPI Method, we have table structure "EXTENSIONIN STRUCTURE BAPIPAREX OPTIONAL
"
to populate the custom fields in table structure VBAK,VBA & VBEP.
We have custom fields in VBAK and VBAP and we need to populate them in sales order.
Please let me know how to pass the values for customer fields using this structure.
If provided with example, it will be really great.
Thanks in advance
Joe G A
Hi Joe,
How to pass the extension values to the custom structures through the mentioned BAPI is clearly given in the function module documentation.
However, I am once again giving you the sample code:
In the structure we need to pass BAPE_VBAK
STRUCTURE = BAPI_VBAK.
And if you have extended the VBAK table with the following fields:
are having following fields
Field name Data type Value Desc
VBELN - VBELN - 17461- Sales order number
ZZVPRSV - CHAR 1 - 1 - Print control indicator
ZZTXT - CHAR 10 - ABCD - Some short Text
ZZPOI - DATUM - 20060427 - Issue date
Then the code would be:
EXTENSIONIN-STRUCTURE = BAPI_VBAK.
EXTENSIONIN-VALUEPART1 = '00000174611ABCD 20060427'.
If you require more information, please check the Help documentation in Customer Enhancements and Modifications part.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
7 | |
7 | |
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.