Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

ACCESS KEY VERSUS APPEND STRUCTURE for note 2010114

sanjay_deshpande4
Participant
2,132

Dear All, I am applying Note2010114.It has manual steps:

    1. Create data element FM_RESUBDAT
  • Use transaction SE11 to create the following new data element:
  • Data element name: FM_RESUBDAT
  • Short description: Date of Resubmission
  • Domain: DATUM
  • Short text: Resub.Date
  • Medium text: Resubmission Date
  • Long text: Resubmission Date
  • Heading: Resubmission Date
  • Package: FBAS
  • Save and activate the data element.
  • 1. Add field RESUBMISSION to table BKPF

    a) Use transaction SE11 to add the following component to table BKPF

  • Field name: RESUBMISSION
  • Data element: FM_RESUBDAT
    • a) Save and activate
  • 1. Regenerate the FI structures and views
      SAP has nowhere mentioned to use RESUBMISSION Field using APPEND STRUCTURE and I have done using access key. Can anybody kindly tell me advantages and disadvantage of access key or this is fine?'

      Regards.

    Dear All, I am applying Note2010114.It has manual steps:

      1. Create data element FM_RESUBDAT
    • Use transaction SE11 to create the following new data element:
    • Data element name: FM_RESUBDAT
    • Short description: Date of Resubmission
    • Domain: DATUM
    • Short text: Resub.Date
    • Medium text: Resubmission Date
    • Long text: Resubmission Date
    • Heading: Resubmission Date
    • Package: FBAS
    • Save and activate the data element.
    • 1. Add field RESUBMISSION to table BKPF

      a) Use transaction SE11 to add the following component to table BKPF

  • Field name: RESUBMISSION
  • Data element: FM_RESUBDAT
    • a) Save and activate
  • 1. Regenerate the FI structures and views
      SAP has nowhere mentioned to use RESUBMISSION Field using APPEND STRUCTURE and I have done using access key. Can anybody kindly tell me advantages and disadvantage of access key or this is fine?'

      Regards.

    6 REPLIES 6
    Read only

    pfefferf
    Active Contributor
    1,855

    Append structures are used to enhance standard tables/structures with additional customer fields (normally prefixed with a customer namespace or Z-Namespace).

    In your case SAP "delivered" an additional field using a SAP note, meaning the additional field will be part of the standard implementation (-> so no customer extension which would use an append structure). To be able to modify the standard object the access key is necessary. This is a standard behavior and absolutely fine.

    Read only

    0 Likes
    1,855

    Dear Florian,

    Thanks for replying.

    Actually SAP has not 'delivered' the field RESUBMISSION in BKPF(Its not auto correction note).

    It is part of manual action to be taken(Either APPEND STRUCTURE OR ACCESS KEY).

    Also I would like to add the field can be added with random name and not necessarily customer namespace or Z-Namespace in Append structure.

    As an example sap has suggested in another note clearly that append structure to be used but this is for some other structure and not BKPF(My scenario note).

    https://launchpad.support.sap.com/#/notes/2172952

    So would you kindly clarify if Modifying using Access key in case of above note(2010114) is fine.

    Awaiting kind reply.

    Regards.

    Read only

    1,855

    sanjay.deshpande4 Florian answer is crystal clear to me, that you must use an access key, don't use an append structure. The note doesn't say to create an append structure, it says to change the table, so there's only one solution, the access key.

    Read only

    matt
    Active Contributor
    1,855

    The note says

    | Software Component   SAP_APPL                      SAP Application   |
    | Release 604          SAPKH60401 - SAPKH60415                         |
    | Release 605          Until SAPKH60512                                |
    | Release 606          SAPKH60601 - SAPKH60611                         |
    | Release 616          Until SAPKH61606                                |<br>

    That means from, e.g. SP 07 on release 616, the field will be part of the BKPF table. If you do an append instead, you'll run into difficulties when the higher SP is applied.

    There are of course different ways of achieving the fix. In the note you quoted, it was decided to use an APPEND instead of modifying the structure directly. But the structure's name is not in the Z space, so it will also need an object key.

    What's important though is that you do exactly what the note says.

    Read only

    joltdx
    Active Contributor
    1,855

    I almost don't want to make this comment, because it will hide matthew.billinghams comment from direct view. But his last point is the key here and super important...

    You do exactly what the note says. You'll be fine!

    Read only

    RaymondGiuseppi
    Active Contributor
    1,855

    You did it the right way, if you added the field using an append structure, guess what will occur at next update,

    ... the field will be in the SAP table AND in the append (doh!)

    It's fine to use sscr key when implementing a note