Update Append Structure on VEKP

Hello,
I'm trying to find a user exit or a BADI that will allow me to update an append structure that I have created on table VEKP (HU Header).  I would like to update this append structure when the HU is created.  I tried using BADI_HU_SAVE, however it does NOT allow me to modify the table parameter, it_header. IT_HEADER is an Importing parmeter.  Does anyone know of another option to update this append structure?
Thank You
Edited by: Tony Raimo on Feb 8, 2008 1:03 AM

The transaction is VL02N.  Then, click the Packing button on the toolbar.  I'm trying to add a tab to this screen via a BADI or User Exit.  I've already added a tab to the Delivery Header screen (VL02N, then click GOTO->HEADER), but I can't seem to find a similar BADI to extend the Packing screen.
Thank you,
Edited by: Tony Raimo on Feb 11, 2008 7:26 PM

Similar Messages

  • VA02 user exit - cannot update append structure field in XVBAP/VBAP

    Hi Guys,
    I am currently using one of the many user exits in updating XVBAP to update the VBAP sap table in VA02.
    However I am encountering a problem when updating a customized append structure field. When I change the value of the append structure field only it doesnt update in VBAP upon save event. Only when I also change a sap standard field (ARKTX) the append structure gets updated.
    Is there a way to resolve this wherein even if I just XVBAP-<append structure field> only ... the corresponding field in VBAP gets updated?
    THanks guys and hope to hear from you soon.

    Hi,
    Which userexit subroutine are you using to move the append structure field values to the XVBAP table?  Are you having the user enter values on a screen during VA02 for the append structure fields, or are you setting those values within the code when the user saves?  For the purposes of this response, I will assume you are not having the user enter the values, and that (from what you have described) you are using subroutine userexit_move_field_to_vbap. 
    While userexit_move_field_to_vbap sounds logical at first, you should be aware that this subroutine (which is called at the end of module vbap_fuellen) may only be called when one of the chain fields (in the flow logic of the VA02 screen) is changed.  If you search for all the calls of module vbap_fuellen in screens of SAPMV45A, you will see that most of them have a list of chain fields with "on chain-request" logic.  Since your append structure fields will not be listed in the flow logic of the standard VA02 screen, changing one of the append structure fields alone would not trigger the PAI module vbap_fuellen.  Of course, changing a standard VBAP field (ARKTX was your example) could trigger the vbap_fuellen module (as long as it was one of the chain fields) which would consequently trigger the userexit_move_field_to_vbap subroutine.
    You may want to consider trying USEREXIT_SAVE_DOCUMENT_PREPARE.  Please explain further if I have misunderstood your question. 
    Anyone else out there have any ideas?  Does my analysis make any sense?
    Best Regards,
    Jamie

  • Update append structure

    i append new field to table EQUI  called znew.
    how i can make update table to this new field.

    Hi,
    u can update data through table maintenance generator.
    before that u need to adjust database table by SE14 tcode.
    there give ur table name and press enter. then there are some options activate and adjust database tabel and save data.
    i hope it may work,
    regards,
    ravi shankar reddy

  • Update field of an Append Structure

    Hi! I need help!!
    I made an extension using Append Structure  (I Added a owner field) of a standart table ( EBAN ) about "purchase requisition".
    I want to update this field when a new purcahse requisitions is created , using the bapi BAPI_REQUISITION_CREATE.
    anynone kown how to do it?

    hi Ariel,
    use BAdI <b>ME_PROCESS_REQ_CUST</b> and choose appropriate method
    to polulate the structure (BAPIPAREX) with the newly updated field, before PR is updated.
    Hope this helps,
    Sajan Joseph.

  • Update VBRK append structure field

    Hi,
    I have added append structure field in VBRK.
    While doing billing cancellation, i have to update a value in this field for the billing number.
    I have coded this in a user exit.
    I ve called another program and written coding for updation. DB_UPDATE_TABLE FM  used for updation.
    The value is getting updated in the table. But once it came to the user exit, the value of the field is gone from the table.
    What could cause this issue?
    Thanks in advance.
    Ezhil

    Hi,
    1. Please check in the program that are you clearing the internal table any where ?
    2. If you are using the submit statement you can use with return statement .
    3. Other Export that internal table to memory inside the program and import that same internal table in the  user exit.
    Hope this might helps you to solve your problem.
    With Regards,
    Sumodh.P

  • Package Check Error while activating the Appended Structure

    Hi CRM Gurus,
    A structure is appended to a standard structure. while activating the appended structure its throwing Error called-
    <b>Package Check for Table/Structure ZCDPR_BW_BUPA_LINKS</b> .     
    <b>The object TABL ZCDPR_BW_BUPA_LINKS uses SQLT DPR_BW_BUPA_LINKS</b>.
    plz help me to get the solution in this regard.
    Regards,
    Gokila

    Hi
       were you able to solve your problem?
       If so please update us. We are also facing same issue while activating the table.
       let us know the solution if you have solved the problem that will help us a lot.
    Thanks and regards,
    Amit

  • Customer Master using Appended structure KNA1

    Hi
    We have to update few ZZ description fields in ZAKNA1, which are not part of user interface in XD01/02/03. The available options are such as LSMW, Batch input require code addition through user exit ZXF04U01/ EXIT_SAPMF02D_001.
    I would like to use BAPI as we have a plan to use web services. Any idea how to extend the BAPI's such as BAPI_CUSTOMER_CHANGEFROMDATA1 or BAPI_CUSTOMER_CREATEFROMDATA1 using best practice?  I donu2019t find any extension structures like other BAPIu2019s have. Without ExtensionIn and ExtensionOut parameters, a BAPI can not be enhanced correct?
    The version we are using is ECC 5.0. Any ideas with customer master BAPI will be greatly appreciated.
    Bala

    Hi Bala,
    Just some general comments without having looked at your specific problem. Since you're on ECC 5.0 you cannot use the new [Enhancement Framework|http://help.sap.com/saphelp_nw2004s/helpdata/EN/94/9cdc40132a8531e10000000a1550b0/frameset.htm], which would make such changes more easy...
    A rather awkward workaround for extending the BAPI's is sometimes to add append structures to an IMPORT parameter of the BAPI. However, this is a rather dangerous and limited approach, because you might get into trouble depending on where the structures are used (i.e. if you add a field, it might cause harm in other programs that use the structure) and you also have to study the source code to see if you even could utilize those additional fields.
    A pretty generic option in lieu of other approaches is to generate a custom wrapper function module around the standard BAPI. Within your custom BAPI you can add the missing fields as parameters, call the standard BAPI and then do the additional updates. The big advantage of such a solution is that
    <ol>
    <li>Your change/additional logic is obvious (not hidden in a customer exit or BAdI, which are often harder to find when troubleshooting or changing functionality)</li>
    <li>Any changes to the standard BAPI will automatically also take effect in your custom BAPI (since you didn't copy the original one); this excludes of course interface changes, but here you anyhow would have to do something...</li>
    </ol>
    Should you have custom fields that are already exposed on the customer maintenance screens via enhancements, then you might want to consider using the wrapper approach, but simply export the additional data to memory, then call the standard BAPI and within the customer/user exits handling the additional fields fill them via an import from memory.
    Cheers, harald

  • Issues with a Z field in an append structure of VBAP when calling BAPI

    We have added a Z field on table VBAP with an append structure. It is a flag field. We want to change its value with the BAPI BAPI_SALESORDER_CHANGE. We have also created the append structure in API structures
    THe return message of the bapi gives us a success message for the modification. But when we go to the se16 we still see the field as blank, not with the X suposed to be there.
    We are succesfully calling the BAPI_TRANSACTION_COMMIT.
    What can cause us this problem? What can we do to solve it??
    Thank you!
    Artur.

    Hi Artur,
    this blog could help you:
    [Updating custom fields on VBAP and VBAK using BAPI_SALESORDER_CREATEFROMDAT2|/people/kevin.wilson2/blog/2009/09/30/updating-custom-fields-on-vbap-and-vbak-using-bapisalesordercreatefromdat2]
    Regards,
    Andrea

  • Updating A Structure using ABAP Program

    Hi,
    V r using a structure...IOOPCOMP, in COOIS Transaction.
    its fetching data from MARA, and other tables too. V want a new Field included in IOOPCOMP, from MARA, and get it Updated.
    There's no user exit available for COOIS.
    Its urgent.
    Pls Do let us know How to proceed.
    Regards,
    Ajaz

    Hi Ajaz
    There is an Append Structure <b>ZRESB</b>. Try inserting your new field with the same name as in MARA to it. However, I am not sure whether it wil be filled.
    Hope this solves your problem.
    Kind Regards
    *--Serdar
    [email protected]

  • How to find the program for append structure upload

    Hi all,
    I am facing a issue that one Char. in a ODS, I have found the source field for this Char. in R3 in a extract structure. But this field locates in an appended structure, so this means the value of the field must be updated by ABAP. My question is How I can find the ABAP program(BADI or User exit?)
    Thanks
    Leon

    Hi,
    First u identify the type of DS, then according to the type of DS, go to CMOD, provide the project name then select the enhancements there it will display the four Exits, select the appropriate one,
    if DS is of Type,
    Transactional - EXIT_SAPLRSAP_001
    MD ATTR - EXIT_SAPLRSAP_002
    MD TEXT - EXIT_SAPLRSAP_003
    MD HIER - EXIT_SAPLRSAP_004
    double click on the particular one then select the include program there u will fild the code fro all the DSs.
    Hope this inflammation help u.............
    Assinging Points is the way of saying Thanks in SDN
    Regards
    Ramakrishna Kamurthy

  • Modify fields in Append Structure

    Hi there,
    I am driving crazy about append structures. We appended a few fields to KNA1 - e.g. a field that keeps a version number (every time a record changes we want to increment the version starting with 1 at creation time).
    We found a lot of material about how to append structures and actually, it's fairly simple to extend KNA1 with append structures. But HOW can someone update those fields?
    We tried user exit EXIT_SAPLVV01_001 and BAdI IF_EX_CUSTOMER_ADD_DATA-SAVE_DATA to populate those fields at commit of customer data. In both scenarios, we don't have CHANGING or EXPORTING parameters. So, we tried to update the table directly, e.g.
    method IF_EX_CUSTOMER_ADD_DATA~SAVE_DATA .
    DATA: w_kna1 type kna1.
    select single *
      from kna1                            " Customer master table
      into w_kna1
      where kunnr = I_KUNNR.
    w_kna1-sap_version = w_kna1-sap_version + 10.
    update kna1 from w_kna1.
    break-point.
    endmethod.
    Now, when we execute VD02 the program stops at the given break-point and we see the data changed in KNA1. But the record gets updated by the SAP program SAPMF02D (underlying program of VD02), of course as we cannot manipulate the KNA1 record in the internal table of SAPMF02D.
    Is there any way to store information into append structures at save time (within the same transaction) without customizing standard programs?
    Many thanks for your help

    Hi Maic,
    Normally for append structures to standard tables, code is written in user exits where it is mandatory to change existing SAP objects (user exits exist are provided by SAP and you need change key).
    For additional functionality to the existing flow of transaction, we use BADIs and customer exits (through CMOD).
    Your requirement suits the first point above.
    Annyways, try using method GET_DATA in badi CUSTOMER_ADD_DATA_CS. This has changing parameter for KNA1.
    Ramesh.

  • Generic extractor and an append structure

    Hi all,
    this system is driving me crazy. So, that's something worked in former times..
    I created an generic extractor on VEKP. I have not restricted to any selection criteria or hide any field. The system generated the extractor and everything is fine. THEN I created an append on the generic extractor and put different fields inside the append. I want (and this works) to fill this different field via user exit for extraction. All field in the append are having the prefix ZZ, all field are characteristic and there is no inconsistency in the append. I activated the append.
    AND NOW - none of the fields of the append is available in RSA6 to hide or none hide or do anything. They are not available. By checking with SE11 on the generated structure - all field including the append are there.
    We are on ECC 5.0 with PI 2004.1 for 5.0 SP 10.
    Can anyone help. As i told you, this worked in former times (with SAP 4.6C with PI 2004.1 or lower).
    Regards
    OJ

    Hi Siggi,
    I have not created an special Append on the VEKP. I created an generic extractor on the VEKP. All fields of VEKP are available and I can hide or choose selection-field for all of these fields. No problem.
    i created an append on the extract structure via RSA6 - enhancement. I know that after generating the generic extractor with RSO2 all settings done in former times in  RSA6 are lost. But, my problem is: <b>I can not see any of the fields I put into the append. They are not there.</b> Not in ROOSFIELD and following not in RSA6. And that's the problem.
    Thanks for your support.
    OJ

  • Append Structure in FPLT table

    Hi,
    I'm posting this query after going through various posts on the subject.
    We are in 4.7 version and would like to add custom fields to table FPLT, to store additional information.
    Since there are no customer includes in FPLT table, we intend to add append structure with our new fields.
    Want to know if anyone has done similar enhancement? and if there is any negative impact on billing etc?
    In some posts the exits RV60FUS1 & RV60FUST has been suggested to use. However,not sure how these can be used to store data in custom fields without modifying FPLT table. Appreciate any suggestion/solution. Thanks

    Hi Sanjay,
    That is indeed the reason why I wanted you to use a Z table.
    You can of course draft the entire set of business processes and how the table needs to be updated in all those scenarios. The scenarios can include
    Inclusion of a billing record in the billing plan
    Deletion of a billing record
    Change of billing percentage, value , date category, billing type, billing block etc on a billing plan
    Creation of billing document for a billing plan item etc....
    You need to think of all these scenarios and update the Z table. Innovatively, you can also delete the records from this Z table (if that is possible in ur process flow) when the last billing plan item is processed for billing creation. We have such scenarios and we enable the deletion of some Z tables in some our processes

  • Difference between append structure and include structure in DDIC

    Plz give me the apt difference between append structure and include structure in DDIC.
    Thanks in advance.
    Regards
    Raj

    This has been discussed please check it in forum
    https://forums.sdn.sap.com/click.jspa?searchID=480466&messageID=114309
    https://forums.sdn.sap.com/click.jspa?searchID=480466&messageID=1419481
    https://forums.sdn.sap.com/click.jspa?searchID=480466&messageID=1479212
    Shortly:
    Append structures are used for enhancements that are not included in the standard. An append structure is a structure that is assigned to exactly one table or structure. There can be more than one append structure for a table or structure.
    http://help.sap.com/saphelp_erp2004/helpdata/en/cf/21eb61446011d189700000e8322d00/content.htm
    Includes are used to group fields, an include structure can be assigned to many tables. If you add a fields to an include structure, all tables/structures, which contain that include structure, will be updated too.
    http://help.sap.com/saphelp_erp2004/helpdata/en/cf/21ea6a446011d189700000e8322d00/content.htm
    Regards,
    Santosh

  • Can not store data to append structure in mara

    Hi
    after make the following steps, I have problem, please give me some tips. thanks
    1, Append structure Zcode in MARA.
    2, Created a ZMGD1 via SE80 copy from function group MGD1.
    3, modify screen 0001, put this Zcode in this screen and FC MARA-Zcode.
    4, change SPRO, specify new program SAPLZMGD1 for this screen 0001.
    after these steps, I can find out this new field (Zcode) appear in MM02.
    but, the data of Zcode can not be store in MARA.

    Hi:
    the exactly problem is I don't know how to read this screen field value, and how to transfer to wmara-Zcode.
    anybody can help me?
    thanks
    Henry

Maybe you are looking for

  • Error while posting any GR

    Dear Experts, When I tried to post a GR there was Runtime Error         MESSAGE_TYPE_X  : What happened?     The current application program detected a situation which really     should not occur. Therefore, a termination with a short dump was     tr

  • Column Privilege Security Bug in Oracle 9i

    There seems to be a bug in matching column privileges between VIEW and TABLE objects. In the SQL script below, this bug lets users INSERT values into columns that they do not have INSERT privileges on. (I guess that the bug would also let people UPDA

  • VC Bi Integration wizard problem

    Hello, Am trying to create a model for displaying BI data in the portal. We have portal and BI properly connected with logon tickets SSO  and are also publishing webtemplates to the portal. But creating BI content using VC seems to involve a BI wizar

  • "running DEPLOYMENT", CTS+ & non-Deployment

    Hello @All: Currently we are facing some major issues, trying to use CTS+. When we create a transport request, attach (whatever epa or sca) release it and then tying to import it tp starts and runs and runs and runs... In the state "running DEPLOYMEN

  • How to register a dll from the java code

    Hi, We can use windows utility Regsv32.exe to register a the components. Is it possible to register the Dll from the java code. If possible please try to provide me the code for the registring the dll. Thanks in adavance Aswad