BAPI_NETWORK_MAINTAIN for UPDATE ACTIVITY-CN 307-You are not authorized to

Hi all,
sorry for disturb,
I have a problem and I don't understand why....
I use BAPI_NETWORK_MAINTAIN with simple code.
I have tried with SE37 with the same values and it correctly update the activity. without error messages.
but with the same values in the program  returns me an error message and it doesn't update the data:
E CN 307 You are not authorized to change activity or element S11021201 0108
I have a USER with SAPALL.....
DATA: i_method_project  LIKE bapi_method_project         OCCURS 0 WITH HEADER LINE.
DATA: i_activity               LIKE bapi_network_activity       OCCURS 0 WITH HEADER LINE.
DATA: i_activity_update  LIKE bapi_network_activity_up OCCURS 0 WITH HEADER LINE.
  i_method_project-refnumber                     = 000001.
  i_method_project-objecttype                     = 'NETWORKACTIVITY'.
  i_method_project-method                          = 'UPDATE'.
  i_method_project-objectkey                       = 'S110202010108'.
  APPEND i_method_project. CLEAR: i_method_project.
  i_method_project-method                          = 'SAVE'.
  APPEND i_method_project. CLEAR: i_method_project.
  i_activity-network                                     = 'S11020201'.
  i_activity_update-network                        = 'X'.
  i_activity-activity                                       = '0108'.
  i_activity_update-activity                          = 'X'.
  i_activity-control_key                                = 'PS01'.
  i_activity_update-control_key                   = 'X'.
  i_activity-duration_normal                         = 8,5.
  i_activity_update-duration_normal            = 'X'.
  APPEND i_activity. CLEAR: i_activity.
  CALL FUNCTION 'BAPI_NETWORK_MAINTAIN'
    IMPORTING
      return                                 = return
    TABLES
      i_method_project                = i_method_project
      i_activity                             = i_activity
      i_activity_update                = i_activity_update
      e_message_table               = e_message_table.
thx in advance all
Regards
Marco Echino.
Edited by: Marco Echino on Jun 22, 2011 5:04 PM

Hello Marco,
                    To get more details you need to debub the both options as in the logic SAP is calling another report "R_BAPI_NETWORK_MAINTAIN" using submit statement inside the FM "BAPI_NETWORK_MAINTAIN".
And also befor the submit statement they gad used the EXPORT statement to save the data to the SAP memory.
Inside the Report  BAPI_NETWORK_MAINTAIN" SAP logic is calling the FM "2002_NETWORK_MAINTAIN" for doing the update.
So if the Export memory content gets changed due to another execution then the returm value may get changed and end up with conflicts.
So better you need to debub the both scenarios (SE37 & from program call).
You can knock out the problem you are facing.
Hope this answers your question.
Thanks,
Greetson

Similar Messages

  • You are not authorized to page for Create button only

    Background fact: we just updated to APEX 3.2.
    I have an existing page that works fine with a report region that you can edit or click on a button to add a new record on a new page.
    I attempted to add a region with a tabular form region. When I attempted to add my first record in a new table (no existing records) I got the message that "You are not authorized to page!". Since I had to add yet another editable region, I decided to just put 2 report regions on the existing page instead of using the tabular form. I did so, and all works well until I click on the Add buttons (either one of the 2 new buttons associated with the 2 new report regions). When I click on these buttons, I STILL get the "You are not authorized to page!" error. The edit works fine.
    I checked the security on the old page, and it is set up with no authorization scheme, authentication: Page requires authentication, and Form Auto Complete On.
    The new pages are set up the same way.
    I don't understand why one region would work and the other, new regions won't. Could it have something to do with the upgrade?
    I hope you have some suggestions.
    TIA,
    Deb

    Export the application and look for "You are not authorized to page!" in the file. That will tell you where the message is coming from.
    Scott

  • You are not authorized to display the panel for selecting a power plan

    I'm running Windows 7. Installed "Power Manager" via System Update 4.0 last night (10/23/2009). Getting this error when hitting FN+F3.
    You are not authorized to display the panel for selecting a power plan.
    Furthermore, I'm unable to see any of the default power schemes. Finally, I created two new power schemes, neither of them display for selection.
    Any one else experiencing this issue?!?!?

    Welcome to the forum!
    Hmm...  That seems odd.  Does the userid that you're using have admin rights to the machine?
    English Community   Deutsche Community   Comunidad en Español   Русскоязычное Сообщество
    Jane
    2015 X1 Carbon, ThinkPad Slate, T410s, X301, X200 Tablet, T60p, HP TouchPad, iPad Air 2, iPhone 5S, IdeaTab A2107A, Yoga Tablet, Yoga 3 Pro
    I am not a Lenovo Employee.
    I AM one of those crazy ThinkPad zealots!
    If you find a post helpful and it answers your question, please mark it as an "Accepted Solution"!

  • Every movie purchase through iTunes fails to transfer to my iPhone or iPad and the message I get is this: some of the items in the itunes library, including were not copied to the ipad because you are not authorized for them on this computer... help?

    For a couple months now, every movie purchase through iTunes fails to transfer to my iPhone or iPad giving me the error: "some of the items in the iTunes library, including were not copied to the iPad because you are not authorized for them on this computer". I have read many forums about deleting, reinstalling, de-authorizing and authorizing my iMac through the iTunes store. Many suggestions don't work except to rename the movie to *.MP4 in Finder under the iTunes movie directory. I imagine this is a setting or a bug somewhere... any suggestions on how to bypass having to rename the files in Finder? My research into Google suggests this problem dates back to 2007 or so but it is now more prevalent than ever.
    Thanks.

    Try:
    iTunes repeatedly prompts to authorize computer to play iTunes Store purchases

  • TS1474 Inspite of following the instructions for authorization of my iMac and my ipad I am unable to sync a movie from my iMac to my ipad.  All I get is a message that says  you are not authorized for it on this computer.  Any idea what is wrong?

    Not able to sync movie purchased from itunes from imac to ipad2.

    try this:
    redmatter
    This helped meRe: not copied to iPad because you are not authorized for it on this computer 
    Nov 20, 2011 10:41 AM (in response to hoppo72)
    One workarwound is to do the following:
    1. Remove the digital content from iTunes (but keep the files)
    2. Rename all .m4v files to .mp4 files
    3. Add the files back to iTunes
    This seems to fix the problem for me
    Hope this helps

  • CProjects - DMS integration:26 036 You are not authorized for with doc.type

    Hi Experts,
    I need to use cProjects integration with DMS. When I try to create a link to an existing document I find the following error:
    26 036 You are not authorized for with document type DRW
    My user has authorization to the doc type in the DMS system (linked by RFC to cProjects system). I also have defined the object link in the document type.
    Do you know which configuration may be missing?
    Thanks in advance!
    Neil

    Hi Niel,
    How is the RFC connection established between DMS and cProjects system? Do check the authorizations of the RFC user through which the connection is established.
    Regards,
    Vivek Pandey

  • I'm getting an error message: The app "Pages" was not installed on the iPhone "Mom's iPhone" because you are not authorized for it on this computer

    Everytime I sync my iPhone it gives me the warning:  The app "Pages" was not installed on the iPhone "Mom's iPhone" because you are not authorized for it on this computer.
    Pages was installed when I initially purchased it for my iPhone, but when I got the 4S recently I got the above message.  I tried deauthorizing and then reauthorizing, but it didn't help.  The Install/Will Install option is there, but gets me the same message.  (And I did hit the Apply button)

    Agh! I figured out I had two apple id's and was able to install Pages from that account.  Dumb! :/

  • "  You are not authorized to view the requested resource."  for SLD

    HI Experts,
    I am trying to access Administration and Help links in SLD. But when i click on those links getting "  You are not authorized to view the requested resource."  And I have assigned all SLD roles to my user.
    And same message is coming when click on System Information in http://<host>:<port>/index.html page. Please let me know that anyother roles required for accessing SLD and System Information.
    regards,
    Sree.
    Edited by: sree pedasingh on Jan 19, 2011 10:25 AM

    Dear Sree,
    But I don't have such a group !
    Regards,
    Omid

  • The app was not installed on the iPod because you are not authorized for it on this computer

    Im trying to put a game onto my iPod touch but a message popped up saying "The app was not installed on the ipod because you are
    not authorized for it on this computer. So i tried to look for an answer to this problem and i found one saying you have to go into store
    at the top and authorize so i did and it says ive already authorized it cuz i did it last night please help ME
    P.S. I restored it last night just saying to see if maybe it has something to do with that?

    You need to authorize the account on the computer:
    Store>Authorize ths computer
    Hope this helps

  • HT1386 I repeatedly receive an error mesage when trying to sync my ipod touch with my new computer, "some of the items in the itunes library, were not copied to the ipod because you are not authorized for them on this computer."  My computer is authorized

    I repeatedly receive an error message when trying to sync my ipod touch with my itunes library with my new computer which reads, "Some of the items in the itunes library were not copied to the ipod because you are not authorized on this computer." However when I try and authorize my computer I always receive the message that this computer is authorized. What am I doing wrong?  I'm missing about 100 songs as a result of this error!!

    See:
    iTunes Store: About authorization and deauthorization
    iTunes repeatedly prompts to authorize computer to play iTunes Store purchases
    Could the items be purchased by another account?

  • We could not complete your iTunes Store request. You are not authorized to access the requested resource.

    Over the past year, when using iTunes Radio on my iMac, I keep getting the following message: "We could not complete you iTunes Store request. You are not authorized to access the requested resource. There was an error in the iTunes Store. Please try again later." This only happens on my Mac, not on my iPad.
    I looked at the Apple Support Communities and the most common workaround is to click on Store/Authorize this Computer. After entering my Apple ID password, the response is "This computer is already authorized." Well, duh. But at least the iTunes Radio starts to work for awhile.
    There are other workarounds, but none is easier than the one I just mentioned. But my question is, when will Apple fix this problem? It's just annoying.
    Clay

    Hello there, TaylorGraphics.
    Some users have seen resolution to this issue by logging out of the iTunes Store and then back in. The following Knowledge Base article provides a reference on how to do that:
    Using an existing Apple ID with the iTunes Store, Mac App Store, and iBooks Store
    http://support.apple.com/kb/ht2589
    Use your Apple ID with the iTunes Store
    Open the latest version of iTunes.
    Choose Store > Sign In.
    Enter your Apple ID and password and click Sign In.
    Click Review when asked to review your information.
    Enter your billing information.
    Click Continue after you enter your credit card and billing information. You can remove or edit your credit card information at any time. Learn more about updating your iTunes Store account information.
    Thanks for reaching out to Apple Support Communities.
    Cheers,
    Pedro.

  • Itunes cancels burns because "you are not authorized"

    Update to my question posted 23 June 2007. I continue to have the same problem with syncing my ipod that I described in my original post. I have to "authorize" the (already authorized) computer every time I connect my ipod while itunes starts erasing the ipod, then sync again to replace the tracks that were erased. Annoying but not impossible.
    Just d/l'd itunes 8. Problem is now worse. I am unable to burn a CD of a recently purchased song because "you are not authorized". I've tried authorizing the PC. I've tried de-authorizing and then re-authorizing computer. itunes invariably tells me I've successfully authorized, then tells me I'm not authorized when I try to burn the CD.
    Would love to hear suggestions before I waste another morning on the phone with tech support!

    Just ran into this myself, not having synced since May. Came on line to find the answer myself. Even more complicated, out of a list of 100 songs that it told my I was not authorized to play on this computer, some of them are actually still on my ipod (thank god), but now I'm afraid to resync for fear I will lose them or other items. Sorry I don't have the answer. I came looking for the answer myself. Could you, however, help me with how you are trying to "re-authorize" your computer, as I do not even know how to do that. Thanks.

  • "You are not authorized to edit the chosen object" in LWE

    Hello gurus,
      I want to edit the standard HTML content that is delivered with Life and work events. Before editing this, i want to copy the ESS HTML content package to a custom folder and then edit and modify as per my requirements. i navigated to Life an work events - US --> HTML content --> Content Package --> ESS HTML Content Package and clicked on Open. I am getting the error "You are not authorized to edit the chosen object".
    How do I access this content without any error? Do I need any specific roles to be able to access this content? i need to access this content to be able to copy and paste it to a custom folder.
    Also, when I tried copying at the ESS HTML content Package level and then pasting it into a custom folder, i get a popup with all empty rows and columns and there are two buttons OK and CANCEL.
    How do I copy this ESS HTML content package to a custom location?
    please suggest . 
    An update: Since I could not open/edit the standard ess html content package, I created my own HTML files from scratch and created a content package and uploaded my html files and folders into the custom content package. Now, I want one of the pages that I created to be displayed as the start page of one of my life and work events.
    How do I achieve this? What else is needed to call these html pages from the event?
    Please suggest and any help is really appreciated.
    Thanks,
    Maria Kutty Somori.....
    Edited by: MariaKutty on Jun 24, 2011 1:01 AM
    Edited by: MariaKutty on Jun 24, 2011 1:05 AM

    Hello Maria,
    I too tried earlier for copying these HTML content and paste them in my custom folder and then modify them....
    But I too faced the similar error as of yours.
    I dont' know the reason why this happens....I guess SAP does not allow you to modify there content.
    Nyways, there is always a workaround solution....
    You are spot on when you say...You are creating new HTML files from scratch.....but you dont' need to create from scratch !!
    You can still get these files.
    1. Check Directory Structure : Navigate to Life and work events - US folder in GP design time -> HTML Content -> Content Package ->  ESS HTML Content Package and click on "Open" then click on content tab..
    Here you can view all the content files supplied....additionally please note that there are two folders "CSS" and "Images".
    If you wish to create your own content from modification to SAP supplied content...then make sure in your own package these folders are also with similar directory structure.
    2. Come out of gallery and as an end user Open your life and work events page that you wish to modify.
    For e.g. ESS -> Life and Work events -> My First Days -> New Hire Checklist.
    3. Right click on HTML page and click on Properties.
    4. Copy the Address/URL of page.
    It will be something like :
    http://Host:Port/gpcore/ctpkg/094BABAA643911E091070000014B8BFA/NewHireCheckList.html
    5. Access above URL directly from Browser (In new window)  and refresh that opened page. Check that all the content is visible and in correct font and format.
    6. Click on "Page" -> Save As...from your browser tool bar.
    7. From "Save as type" select HTML complete....
    and save the page.
    8. As a result you will get an HTML file and a folder.
    Inside the folder there will be your images and CSS....Now you know how to make your own content.......
    Very Important : Please note that directory structure of your CSS images and HTML must be similar to what you                 saw in point 1.
    And you can easily modify your content...accordingly...
    Now the second part of your question :
    "Now, I want one of the pages that I created to be displayed as the start page of one of my life and work events. "
    I hope you refer to something that is given by SAP in the form of " ESS -> Life and Work events -> My First Days -> New Hire Checklist"..
    As you can see "New hire checklist" is the First link available under My first days...thus by default it gets displayed when user clicks on "My first days"....
    Is this that you want to mimic ?
    Well for that your process in GP design time must look like this :
    http://img594.imageshack.us/img594/7/imageqw.png
    For eg. Create a new callable object with name "New Hire Checklist" of type : "Content package"..
    Wizard will help you with the rest.
    Revert back if you face any issues.

  • You are not authorized to make changes

    When I try to do in change mode for the
    screen 0220 (Modified/Active), I am getting following error message:-
    ========================
    START OF ERROR MESSAGE:
    =======================
    You are not authorized to make changes
    Message no. 37202
    Diagnosis
    You have no authorization for the authorization object 'S_DEVELOP',
    which would allow you to change the screen concerned.
    There is also a second possibility:
    You want to edit a modified SAP screen in a customer system after an
    upgrate (SAP transport). The screen remains locked for editing until
    the new SAP version and the customer version have been aligned
    (Transaction SPAU).
    System Response
    Authorizations are assigned to users in profiles. Profiles are stored
    in the user master record.
    Procedure
    Comsult your system administrator.
    =======================
    END OF ERROR MESSAGE:
    =======================
    For your reference, when i try to open another screen 0100 (Active), i
    am able to modify.
    Kindly solve this issue to proceed further.
    With Thanks & Regards
    Bhushan

    Hello,
    Thanks for your information.
    The Said Screen 0220 has been modifed earlier. But now, duing Pach Apply of SAP_APPL  SP15, I have skipped the set to original for the said screen. Now  I have done that using SPAU and I am able to modify the said screen.
    With Regards
    Bhushan

  • You are not authorized to access the request resource

    I just updated my iMac to the new OS Mavericks, and when I attempt to access the itunes radio, where I have my radio stations created, and I attempt to play them it returns this message: We could not complelte your iTunes Store request. You are not authorized to access the requested resource.  Is this an issue with the new OS or is it an issue with iTunes working with the OS.  Any suggestions on how to fix this issue so I can access the radio would be helpful.
    Thanks

    Hello there, TaylorGraphics.
    Some users have seen resolution to this issue by logging out of the iTunes Store and then back in. The following Knowledge Base article provides a reference on how to do that:
    Using an existing Apple ID with the iTunes Store, Mac App Store, and iBooks Store
    http://support.apple.com/kb/ht2589
    Use your Apple ID with the iTunes Store
    Open the latest version of iTunes.
    Choose Store > Sign In.
    Enter your Apple ID and password and click Sign In.
    Click Review when asked to review your information.
    Enter your billing information.
    Click Continue after you enter your credit card and billing information. You can remove or edit your credit card information at any time. Learn more about updating your iTunes Store account information.
    Thanks for reaching out to Apple Support Communities.
    Cheers,
    Pedro.

Maybe you are looking for