HAP_DOCUMENT BSP redirect using the BADI HRHAP00_BSP_TMPL

Hi all,
Below is my issue:
Last year, We have modified the BSP HAP_DOCUMENT by copying it to Y_HAP_DOCUMENT. Now we had to make further changes to the BSP which had to be template specific.
So we used the BADI HRHAP00_BSP_TMPL to redirect the document to a new BSP Y_HAP_DOCUMENT_V1.
The iviews are pointing to the BSP Y_HAP_DOCUMENT, but when the BADI is hit its getting redirected to the V1 BSP.
But the issue is that whenever the redirect BSP is used, the error messages are getting killed.
Please let me know if anyone had a similar issue and if they were able to solve the issue.
Thanks,
Manasa
I am using the

Hi Luk!
Sorry that i got back to you this late. Have you solved the issue?
whenever we redirect using the badi for hap_document the control starts from layout_alternative.htm  view instead of the layout_sap_standard.htm. So if you copy paste the code from the sap standard view you will be able to redirect it.
Hope this helps. Plesae reward hlpfull answers.
Thanks,
manasa

Similar Messages

  • How do I stop Firefox from opening a new tab when I click a link or navigation button (such as "home") instead of redirecting using the currently open tab?

    Any time I click on a link within a page, such as the "home" link in Facebook, or the various links on the Mozilla page that I needed to follow to get to this screen, Firefox opens a new tab instead of redirecting using the tab I'm on. Also, Firefox doesn't go to the new tab, it just opens it. So if I want to actually go to the page I've just clicked on, I have to then also find and click on the new tab that just opened.

    Hello,
    In safe mode link still open in new tabs?
    *[http://mzl.la/MwuO4X Firefox in safe mode]
    Go to '''about:config''' and search for:
    *'''browser.tabs.loadInBackground''' change its value to '''false'''.
    If in safe mode the links still open in new tabs try go to '''about:config''' and search for:
    *'''browser.link.open_newwindow''' change its value to '''3'''.
    *[http://kb.mozillazine.org/About:config about:config]

  • I can't modify the field MARC-LOSGR using the badi BADI_MATERIAL_REF

    Hello!
    I have to force a value in the field "lot size" (MARC-LOSGR) when the system extends automatically a material with the transaction CK40N.
    I tried to use the badi BADI_MATERIAL_REF, wich seems to be perfect for this purpose, but it doesn't work: after the badi the system resets the field to its initial value.
    What can I do?
    Thank you

    Dear Sauro
    I've found this thread in the forum, and because I've the same problem (I need to set 1000 as default for marc-losgr) during creation/extension of a material, I'd like know how you solved your issue.
    The BADI is called during CK11N and CK40N transaction, but even if I set the value in the right mode it's not saved on table MARC. Of course If I create manually the cost view by using MM01 the BADI works fine and the value is saved.
    Thank-you in advance for cooperation.
    Claudio
    Ps: se vuoi puoi anche rispondere direttamente in italiano al mio indirizzo che trovi nei miei riferimenti. Grazie

  • How to use the BADI  WORKORDER_GOODSMVT to meet my requirement?

    Hello Abapers,
    My requirement is I need to display Batch Number in confirmation of production order(co15) which is entered in creation of production order(co01).While debugging the CO15,i got badi as WORKORDER_GOODSMVT.
    I am new to BAdi,HOW to use this badi to meet my requirement.
    Please help for me to solve my problem.
    If any one implemented batch mangement in PP.Please tell the procedure how u achieved?
    waiitng for your favourable replies
    Regards
    Maruthi.

    Hai,
    IN my reuqiremnt,i used GOODS_RECEIPT method to meet my requirement.
    Regards
    Maruthi.K

  • How to use the BADI CRM_MKTLIST_BADI in External List Management?

    Hi Experts,
    I am using ELM tool to upload new accounts from an excel file. I need to do some coding before the BPs get created into CRM. This coding is for mapping some fields & doing a few validation checks. We have a BADI CRM_MKTLIST_BADI for this. But when I try to stop that BADI by putting breakpoints, it doesnot stop. I have assigned the required filter for my implementation of the BADI too. But somehow the breakpoint doesnot work & the control never stops in the BADI implementation. Could the experts out there please help me out in this as this is really urgent...
    Points will be rewarded generously for helpful answers...
    Thanks & Regards,
    Sangeeta.

    Hi Sangeeta,
    Set the user parameter CRM_DEBUG_CODE to "MKLIST" for your user in SU3. Put a break-point in the BADI method.
    This will call the debugger once the BADI is triggered.
    Regards,
    Susanta

  • BSP call using the application name created in reserved namespace

    Hi,
    Can you please help on the following.
    How to call a bsp applicaion that is  created using reseverd name space(Ex: /eee/*****) by using the bsp call tag.
    Ex: say my application name is /eee/prodlist.If i give the application in the below format it is giving me the error.even I tried giving single / also.
    <bsp:call url="..//eee/prodlist/vhelp.do">

    Hi,
    Go through the sample codes present in the below links,
    http://help.sap.com/saphelp_nw2004s/helpdata/en/9d/1ca7f91b76ad4493d62b8ecc7c83db/frameset.htm
    http://help.sap.com/saphelp_nw2004s/helpdata/en/7e/d31c3d8679e94a809d4739433c4e44/frameset.htm
    http://help.sap.com/saphelp_nw2004s/helpdata/en/d7/5a693c114bf147e10000000a11402f/frameset.htm
    Regards,
    Azaz Ali.

  • Is it possible to use the BAdi: BADI_SD_CUST_HEAD?

    Dear experts,
    I have a requirement that needs to add some customized fields in both the header and item of a billing.
    I found there are 2 badis in the system, they're: BADI_SD_CUST_HEAD, BADI_SD_CUST_ITEM, and it seems that they're very appropriate to fulfill the requirements.
    But unfortunately, these 2 badis are marked as 'Within SAP', that means I can not create any impletementation for them.
    Coudl any body tell me, is it possible to use these 2 Badis to realize my requirements?
    If not, could any other way to enhance some fields in both the header and item of a billing?
    Thanks a lot for your reply!
    regards,
    Brian Liu
    Edited by: Brian Liu on Aug 24, 2009 2:51 AM

    Hi,
       No Only sap can create implementations for the BADIs where you have that check box checked.
    Check the below thread:
    LINK[Additional Screen In Sales Order]
    There are many threads which discuss the same requirment searching SCN would be very helpful.
    Regards,
    Himanshu

  • Url redirects using the BC domain

    My url redirects are using the BC domain name instead of my "added domain".
    eg : 
    Inside the url directs section it shows
    http://mydomain.businesscatalyst.com       
    instead of
    http://www.mydomain.com
    as the source destination.
    Should that be happening?  Ind oing so its causing a few of my redirects not to work correctly.

    Hello Sydney,
    Thanks for the help.  We never used the .businesscatalyst.com domain as a link reference when building the site and looking over it again, as far as we can see, we've used all relative urls.
    The only way the .businesscatalyst.com may have been inserted is if BC itself inserted it somewhere (maybe a stray link somewhere). 
    I can add a screenshot of the reference but BC and CC seem to be down as its not logging me in (constantly loading).
    The reference itself is appearing in the "Url redirect section" of BC, in the "add redirect" window.
    For the source destination it asks for folder/filename and below that it is the auto generated url which is using the system url instead of the "added domain".
    I'll try and add a screenshot once Adobe let me log in.

  • How to use the Include Statement in the BADI

    Dear All,
            I am trying to implement the BADI. So i need to use the Include in the BADI.
    How to use the Include statement in the BADI. I cant able to use it in the Public, Private and protected statement.
    Where should i mention that,,,,
    Thanks
    Yogesh

    Hi Sharat,
      Thanks for your reply.
    I need to use the BADI HRWPC_PCR_APPR_FORM. In which the values are available in the Container. So if i need to use the container values then i need to use that include <cntain>.
    Is there any possible ways to make it.
    Thanks
    Yogesh

  • How to use the RV_EXPORT_CONTROL function (via 2LIS_11_VAITM extractor)

    Hi guys,
    I use the 2LIS_11_VAITM extractor to load R/3 data to BW.
    On this extractor, there is an user exit which filled many fields.
    I have to add the export control status of items, the value we can find in VA03 (Extras -> Export Licence -> Log -> Status green or Red).
    I added a specific fields ZZEEXPCTRL (CHAR(1)) in my extraction structure as a field only know in Customer exit.
    This flag will be empty if status is green or 'X' if status is red.
    I'll try to use the RV_EXPORT_CONTROL function in my exit but it doesn't work.
    When I execute in debug the 2LIS_11_VAITM extractor in RSA3, I can display the screen we have in VA03 (Extras -> Export Licence -> Log -> Status green or Red).
    Maybe I use the bad parameters ?? But I tried many option, without result
    Could you please help me and explain me how to use this function to have my result or if there is another way to do this ?
    Thanks
    Joris

    Hi Namrata and Debjani,
    Thank you for your suggestion. We are considering those options as well.
    However, we are trying to aim for consistency between the "old" and the upgraded system. Therefore we are trying to find whether it is all possible to remove those two fields. If it is not possible at all to remove them, then we will do what you both suggested.
    Best regards,
    Fen

  • How to use MAM30_011_CREATE BADI - IF_EX_ALM_ME_010_NOTIF~MAM30_CREATE ?

    Hi,
    I have an customer field "ZZEXT_XY" in the table "QMEL".
    When the user creates a new notification on mobile device the information for that customer field is saved in the notification syncBo as enhancement field for CE_NOTIF_HEADER (MAM30_010Item030).
    During sync the functional modul "MAM30_011_CREATE" is called by the middleware.
    Now I want to use the BADI "IF_EX_ALM_ME_010_NOTIF~MAM30_CREATE" to save this information in the table field "ZZEXT_XY" in table "QMEL" (wich includes "CI_QMEL" with the enhanced table fields, like "ZZEXT_XY").
    Is this possible?
    And if yes, how can I implement this?
    Because I don't see any type in the BADI which contains the customer field "ZZEXT_XY".
    I thought I can use a reference type for the structure ALM_ME_CUSTOM_NOTIF_HEADER.
    But this is not working.
    I'm getting a "OBJECTS_MOVE_NOT_SUPPORTED" runtime error during executing the functional modul "MAM30_011_CREATE".
    Thanks for your help.

    Hi Frank!
    I hope I can help you a little bit.
    You must extend the Customer Include CI_ALM_ME_NOTIF_HEADER with your own field ZZEXT_XY. When you have done this, you have to implement the BADI Method in order to get your customer field into the database. The Customer BADI is called after the standard creation of the notification.
    I have extend the task list and it works fine.
    best regards
    Matthias

  • Any alternative to the BADI for scaled pricing in CCM catalogs

    Hi,
    We are not able to use the scaled pricing functionality in CCM. When the item is added to the shopping cart from the CCM catalog the highest price gets chosen by default irrespective of the quantity ordered.
    I understand that this can be solved by activating the BADI /CCM/CSE_ENRICHMENT and Implementation /CCM/CSE_OCISCALEPRI
    IS THERE ANY ALTERNATIVE TO THIS. CAN THIS FUNCTIONALITY OF SCALED PRICING BE ACHIEVED WITHOUT THIS BADI.
    Regards,
    Srivatsan

    Hi Srivatsan,
    you could use the BADI BBP_CATALOG_TRANSFER to amend the price, in order to do this you would need to pass the lower bound to one of the OCI custom fields in order to pick up this avlue and determine the correct price.
    Why do you not want to use the standard implementatiom though?
    Regards
    Chris

  • Use of BAdi 'WorkOrder_update'(method in_update)

    Hi,
    I am using the badi 'WorkOrder_update' for an enhancement to iw32.I need to check whether new material has been added to order.How will i check that new material has been added to order. There are parameters in this badi which gives us the components list.Will these tables be returning the components which are already existing in the order or the components which the user has entered or changed.
    Please help.

    Hai anu,
    in that badi defination there is a moethod IN_UPDATE in which u have
    IT_HEADER
    IT_HEADER_OLD
    IT_ITEM
    IT_ITEM_OLD
    IT_SEQUENCE
    IT_SEQUENCE_OLD
    IT_OPERATION
    IT_OPERATION_OLD
    IT_COMPONENT
    IT_COMPONENT_OLD
    IT_DOCLINK
    IT_DOCLINK_OLD
    as importing parameters with this u can compare the old and new items for the order.
    If usefull Reward points
    Regards,
    Sree

  • Debugging the BADI Enhancement while running XIF

    Hi gurus,
    I am currently trying to modify some data in the Inbound BDoc BUPA_REL (Business Partner Relationship) using the BADI CRMXIF_PARTNER_R_MAP with method CHANGE_MAPPED_DATA_IN.
    Unfortunately I am trying to debug without sucess. I tried to follow the procedure described in Note 591691.
    How shall I proceed to debug this Badi?
    Thanks in advance

    Hi Gabriel,
    It is generally you put an External Breakpoint on the method and while executig you Bdoc the debbuger should stop,
    In case you are still not able to achieve this there is a an out of box option that plaese re install your SAP GUI, coz i have seen in certain instance that the debbugger starts working.
    Regards,,
    Pranay
    Do rewrad Points

  • Regarding the BADI ME_REQ_POSTED after saving the tcode ME51N

    Hi,
    Currenlty i am using the badi ME_REQ_POSTED to update the header texts in ME51N while creating the PR.
    I am getting the PR number through IM_EBAN.
    My issue is that i have written the code in the badi to pass the input of that PR number in table RSDBS to get the reservation number.
    But once the transaction ME51N got saved, then only the table RSDBS is getting updated with the generated PR number.
    Is there any way to get updates of the table RSDBS before the transaction got saved.
    Please let me know if my question is not clear.
    Thanks & Regards.
    Prabu

    Hi,
    I don't think this is possible functionally? To achieve this, you need to modify the std code.
    Regards,
    Raj

Maybe you are looking for

  • Handheld Applicatio​n Loader Wizard has encountere​d a problem and needs to close

    I encountered the problem while using BlackBerry Desktop Software Version 6.1.0.35 with my Torch 9800. After I clicked the "Applications" button on the Desktop Software window, I got the pop-up window bearing the subject message. Additional info from

  • Authentication/Time issue

    iTunes U has just started rejecting our authentication credentials, debug shows that the credentials are valid but originated too far in the past. We understand there is a 90 second time window. We seem to be within a few seconds of Apple's time serv

  • Route determination based on incoterm per plant

    Hi Guru,   Is there a way that route determination can based on incoterm instead of shipping condition, country of departure & destination and transportation group?   For examples, for 2 different customer in US, the  incoterm can be 'CIP Destination

  • How to convert the 3.x ABAP Routines into BI 7 ABAP Routines

    Hi All, I am trying to convert a BI 3.x data flow into BI 7 data flow suing DTP's. But i am stuck at Transformations. We have used several Routines in 3.X data flow and those routines are not converted automatically into the new data flow. Is there a

  • How can I save verbose booting message?

    I know I've got a couple of [FAIL]s when booting my system. I'd like to be able to save verbose info (not just FAIL) as a text file somewhere on my filesystem for review (obviously, I don't have enough time during system booting) How can I do that?