Issue in Program for mass creation of customer plans.

Hello all,
I am working on a program which helps mass creation of customer plans. My code works well, when no planning account is assigned,  but when I pass the planning account value into the Function module, it gives me an error saying ' Account cannot be displayed, please check your authorizations'. I donot have this problem, when I manually createthe customer plan in the CRM_UI.
Please let me know the possible cause for this kind of message.
Thanks,
Disha.

Hi Dishaa,
I'm afraid that I don't have any other clues. Most often it is a difference in user. If you are absolutely sure that you are using the same user at the exact moment the authorization is checked it cannot be that.
Kinda curious now what the solution to your problem is....
Best regards,
Guus
Edited by: Guus Jansen on Feb 14, 2011 1:32 PM

Similar Messages

  • Issue in BAPI_PS_PRECOMMIT in mass creation of WBS Elements

    Hi,
    I am facing a issue with BAPI_PS_PRECOMMIT.
    we have the following WBS Hierarchy:
    S - Proj, (level1)
    S-XXX WBS Element (level2)
    S-XXX-001 WBS Element (level3)
    I have created a program for mass creation of WBS elements creation
    which uses the following BAPI's
    BAPI_PS_INITIALIZATION
    BAPI_BUS2054_CREATE_MULTI
    BAPI_PS_PRECOMMIT
    BAPI_TRANSACTION_COMMIT
    The proj: 'S' and the level2 WBS element: 'S-XXX' already exist in the system.
    When I run the program for delta load, so as to create the following level3 WBS elements:
    S-XXX-001
    S-XXX-002
    S-XXX-003
    The system is throwing the following errors at the BAPI_PS_PRECOMMIT:
    1. Final Check of the project definition and WBS elements: Error
    2. Validation unsuccessful
    Pls help me on this.
    Thanks,
    Deepak

    Check the WBS elements doesn't exist already in your system.
    Here is what I coded some days back for deletion of Network Activities, most of the things are same.
    You are doing for WBS element.
    * Call to initialization BAPI Before Delete
          CALL FUNCTION 'BAPI_PS_INITIALIZATION'.
    * Call to Network Activity Deletion BAPI
          CALL FUNCTION 'BAPI_BUS2002_ACT_DELETE_MULTI'
            EXPORTING
              i_number           = t_bapi_activity-network
            TABLES
              it_delete_activity = l_t_del_vornr
              et_return = l_t_bapiret2.
          DELETE l_t_bapiret2 WHERE type <> 'E'.
          READ TABLE l_t_bapiret2 INDEX 1.
          IF sy-subrc EQ 0.                                      "If error in Deletion
            MOVE: f_idoc_contrl-docnum TO t_idoc_status-docnum,
                  l_t_bapiret2-type TO t_idoc_status-msgty,
                  'CNIF_PI' TO t_idoc_status-msgid,
                  l_t_bapiret2-number TO t_idoc_status-msgno,
                  l_t_bapiret2-message TO t_idoc_status-msgv1.
                  MOVE c_idoc_status_error TO t_idoc_status-status.
                  APPEND t_idoc_status.
                  ROLLBACK WORK.
                  EXIT.
          ELSE.                                                  "If Delete is successful COMMIT
    * Call to PreCOMMIT BAPI
            CALL FUNCTION 'BAPI_PS_PRECOMMIT'
             TABLES
               ET_RETURN       = l_t_bapiret3.
    * Call COMMIT BAPI
    *        CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.
          ENDIF.
    The other solution is use BAPI_PROJECT_MAINTAIN.

  • Transaction code for mass creation of physical Inventory document

    what is the transaction code for mass creation of physical Inventory document.

    MI31 is the transaction to create hundreds of physical inventory documents for annual inventory at a time.
    MICN can create several documents at a time for cycle count.
    Just look in the menu of phyiscal inventory into the knot Sessions, there are even more e.g. for counting of own stock a customer and vendor location, for vendor stock at own location etc.

  • Any BAPI available for mass creation/change/delete for dependency net

    Hi guys,
    Any BAPI available for mass creation/change/delete for constraints in dependency net. I mean any uploading option in mass for creation, change and delete.
    Regds
    Regds

    Hi,
    Check if the below FM's meet your need:
    CAMA_CNET_CONSTRAINT_MAINTAIN
    CAMA_CONSTRAINT_NET_MAINTAIN
    CAMA_DEPENDENCY_MAINTAIN
    Regards,
    Vivek

  • Reg:Bapi for mass creation of production order/confirmation

    Dear Experts,
    I wanted to know with the following BAPI is it possible to create Multiple production orders for different semifinshed Materials along with material availability check and other functions similar to CO01 transaction.
    I knew there are standard transactions for mass confirmation for production orders. But i need a confirmation on this BAPI . As i am planning to go-ahed with ,mass creation of production order creation / Order confirmation in single custom transaction.Need back flush activity even supported.
    BAPI_PRODORD_CREATE to create the orders.
    BAPI_PRODORD_RELEASE to release the orders.
    BAPI_PRODORDCONF_GET_TT_PROP to get the default data for the confirmation.
    BAPI_PRODORDCONF_CREATE_TT to ost the confirmation of production order.
    Along with this BAPI do i need to commit any other BAPI to carry out back flush for components.
    Need your suggestions to take it further.
    Regards,
    Daya.

    Dear SAP Daya
    If the issue has been solved, please close this thread.
    You have already mentioned that the issue has been resolved, thefore, you should not ask for help on another thread before closing this one, as it looks like you are trying to force people to answer your threads.
    Users are always trying to answer as many threads as possible on good will we don't need this kind of "incentive".
    Please read carefully the The SCN Rules of Engagement, especially point 8:
    Be responsive. If an SCN member has answered your question, please mark the answer as "helpful” or “correct”. Mark the discussion as “answered,” so that other members can find the answers more easily
    Also, I checked your old threads and I could observe that there is only one closed. Please review your old threads and close those already solved.
    BR
    Caetano

  • Any upload programe for mass update of documents

    hi
    i just want to know whther there is a process for mass update of documents .....like LSMW .....
    pls suggest me
    Reagards
    s

    Hi Surya,
    Following are the step to upload batch document in LSMW:
    Create the Project, Subproject and Object in the LSMW Transaction (press F8)
    1) Maintain Object Attributes (click on Batch input recording) for ex: Do the recording to create DIR .
    Create recording (t code CV01N
    It will direct us to T code CV01N crate DIR attaché the document then save it.
    2) Maintain Source Structures: from Object overview List
    For easy reference copy the source file to Excel sheet and tabulate it has horizontal format then copy that in .txt .Create source structure save and go back.
    3) Maintain Source Fields:
    Maintain table (for ex: field name: DOKAR, type (should be) :C and length: 3)  save it and go back.
    4) Maintain Structure Relations : create relationship and go back.
    5) Maintain Field Mapping and Conversion Rules
    Go to Extras -> Auto field mapping
    Accept all proposals Continue till Auto file mapping is completed save it and go back.
    6) Maintain Fixed Values, Translations, User-Defined Routines(Optional)
    7) Specify Files
    Specify the input file (which we have saved in .txt file format in step 2) click in Tabular.
    8) Assign files
    9) Read Data:
    Execute the read data step to read the input file data (press F8)
    10) Display Read Data . 
    11) Display and Convert Data:
    The validations will take place when we execute the convert data step. The error records will download to the specified file path if there any and same will be displayed.
    12) Create Batch Input Session (press F8)
    13) Run Batch Input Session (press process-F8)
    Thus continue with this process document can be uploaded with given source file hence will create the specified DIR. hence continue enter...
    Continue till all the DIR created (as per input given in source file).
    Regards,
    Seema Pilankar

  • Best program for mass envelope printing

    I want to do simple envelope printing with my logo and sending address of course. i will be contstantly updating my database for mail outs and would like to know the best/easiest program for it. i would like the printer to automatically go from on address to the next.

    I want to do simple envelope printing with my logo and sending address of course. i will be contstantly updating my database for mail outs and would like to know the best/easiest program for it. i would like the printer to automatically go from on address to the next.

  • Mostly what are issues we get for production support in hyperion planning project ?

    mostly what are issues we get for production support in hyperion essbase project ?

    When is the interview
    Cheers
    John

  • Program for mass change in the sales order.

    Hi,
      I have a requirement where If we make changes in  the availability check rule of the material master(for e.g. 02 to 01),then the same rule should be changed in the sales order as well.
      Though this will be changed for the new orders but is there any program which we can run manually or in the background in order to make changes in the old sales orders.
    Regards
    Karan

    Hi,
            U cannot change checking group or checking rule for availabillity check at sales order level, u can change requirements type.
            If u want to change requirements type determined into sales orders, which  r already created go to t.code MASS and select the object type sales orders and press execute, select sales order item data on tables tab,and select requirements type on fields tab and press execute.specify sales documents number from and to and item numbers, and press execute and specify the new value and press carryout mass change button and then save.
    with regards,
    kirankumar vemula

  • Recommendations for Help Desk (issue tracking) program for Mac OS

    Hello all
    Any recommendations for a help desk software to be mainly used for issue tracking/ticket management applications for Mac OS?
    I prefer for the app to run local on the Mac so no web or server software.
    Thank you

    I also use CS5 (Design Suite) on a Mac. When I upgraded to Lion, Illustrator did not crash for me, but it (and Photoshop) was acting squirrelly and some of the features did not work at all. After six weeks, I reformatted my hard drive and reinstalled Snow Leopard. Now everything works perfectly.
    The other thing I did was to partition my hard drive so that I can reinstall Lion on the new partition. That way, I can run either operating system and run application programs on the OS that is most appropriate for it. I have no problems moving files between the partitions.
    Not the most attractive solution, but I am very satisfied. Just my two cents...!
    Good luck!

  • List of programs for PO creation

    Hi,
    Can any one please help me? This is urgent.
    ME21,ME59N,MRP Creates Pos.
    What are all the program names that creates PO?
    I want to know the programs or function names that really do Gross weight calculation on POs.
    I am not a technical person. So i don't know how to check them...
    Thanks,
    Ratna

    Hi Ratna,
    Here is thumb rule for getting program name for any transaction.
    Execute the transaction
    In Menu Bar you will see 'System'. CLick that and it will open new po-up.
    This pop-up will show the program name, screen number in Repository data section.
    So if you know tcode for something as a functional person, then this is the simplest way to get into technical details for any screen in SAP.
    hope this helps..
    thnx,
    Ags..

  • Triggering print program for shipment creation

    Hi All,
    I have created a new print output type 'ZEDF',which should ideally generate a spool at the time of saving the shipment. But unfortunately, this is not happening.Whenever I save a newly created shipment,this output type is not getting triggered,but when I repeat the same output type through VT02,a spool is generated automatically.I have maintained all the condition records properly in the system. Please help me on this.
    Thank you,
    Archana

    Hi,
    Have you checked the settings in NACE tcode?
    Pls check the same and amde the configuration according to your Device Type.. Pls have a look on below points.
    Hi,
    1. Goto in NACE
    2. You need to ask your functional buddy to let you know about Application area, I suppose u need to take EF.
    3. Select EF from the list and than click on Output Types, select any output type (Which you wud like to give to your script)
    4. Else if you like to create a new one for your script, then on same screen click on change button, then click on New Entries
    And give all the detailed info.
    5. To use existing output types, select a output type like "ZEDI", at the left hand side double click on Processing Routines.
    6. In the Processing Routines block , Give the Program name as print program and here you need to give your SAP scrip name in Form option.
    save it.
    Regards,
    Lokesh.

  • BDC program for vendor creation

    i need to create a vendor with 8 line item of bank information through BDC and i was trying to write a program. but i'm having some problem with the code. how can i loop the program to enter 8 bank information line item for one vendor??

    Use The below code
    Just create a Variable and increment the value by 1 for the required bank line items in the Below screen for field LFBK-BANKN(05) here 5Line item are given while recording
    Loop at Itab.
    Prog                         dynpro    dynbegin
    SAPMF02K     0130     X
    Fnam                        Fval                                                                               
    BDC_CURSOR     LFBK-BANKN(05)
                                                                BDC_OKCODE     =ENTR
                                                                LFBK-BANKS(01)     IN
                                                                LFBK-BANKS(02)     IN
                                                                LFBK-BANKS(03)     IN
                                                                LFBK-BANKS(04)     IN
                                                                LFBK-BANKS(05)     IN
                                                                LFBK-BANKL(01)     16294004
                                                                LFBK-BANKL(02)     VIJAYA
                                                                LFBK-BANKL(03)     00005363
                                                                LFBK-BANKL(04)     00810200003
                                                                LFBK-BANKL(05)     0510015
                                                                LFBK-BANKN(01)     12312
                                                                LFBK-BANKN(02)     12312
                                                                LFBK-BANKN(03)     12312
                                                                LFBK-BANKN(04)     12312
                                                                LFBK-BANKN(05)     12312
    endloop.

  • Change Pointer Program for IDOC creation..??

    To All
    Where does the message type is assigned, which allow that type of IDOC getting created in WPMU...??
    Can COND_A be created in Change pointer Program...??
    If possible ..How...??
    Thanks
    Sumeet

    3)
    RBDMOIND to confirm whether idocs have been successfully
    dispatched to the receiver..and v can also use this program to change the status of idoc from 3 to 12....
    RSNATED is the program used for triggering IDOC for the output type..where the output medium is 6.
    And the subroutine that triggers the IDOC in the program is EDI_PROCESSING.
    RSNASTED itself determines the associated IDoc outbound function module, executes it to fill the EDIDx tables and passes the prepared IDoc to the port.
    You can call the standard processing routines from any ABAP, by executing the following call to the routine. You only have to make sure that the structure NAST is declared with the tables statement in the calling routine and that you fill the at least the key part and the routing information before.
    TABLES NAST.
    NAST-MANDT = SY-MANDT.
    NAST-KSCHL = 'ZEDIK'.
    NAST-KAPPL = 'V1'.
    NAST-OBJKY = '0012345678'.
    NAST-PARNR = 'D012345678'.
    PERFORM einzelnachricht_screen(RSNAST00).
    Calling einzelnachricht_screen determines how the message is processed. If you want to force the IDoc-processing you can call it directly:
    TNAPR-PROGN = ''.
    TNAPR-ROUTN = 'ENTRY'.
    PERFORM edi_processing(RSNASTED).
    ~~Guduri

  • Program for Equipment creation

    I was given a one line spec as mentioned and I was doing R&D and found that can be aheived by FM: ITOB_EQUIPMENT_CREATE & RFC/Bapi: BAPI_EQUI_CREATE
    What is the difference between this both.when to use which.
    Can any one give me any sample code using the FM:ITOB_EQUIPMENT_CREATE
    Thanks,
    Kiran
    Edited by: kiran dasari on Oct 25, 2008 12:04 AM

    Hello Kiran
    Your answer disqualifies both yourself and your functional team.
    When I need to access a business object I always search for the highest available abstraction to achieve this:
    (1) Search for a class
    (2) Search for a BAPI (no matter whether I need its RFC capability or not)
    (3) Search for a local function module
    (4) Do a SELECT on the table(s) as "ultimo ratio"
    BAPIs are usually very stable interfaces and therefore the first choice to access business objects. In addition to what Rob already said I like to describe BAPIs as "Dialog without Dialog" meaning that they do the same validations as the corresponding dialog transaction (local fm's may or may not do this) and therefore ensure the integrity of the incoming data.
    If your function team even forbids to use BAPIs this simply means they have little knowledge about software quality in ABAP programming.
    And if they urge you to use fm ITOB_EQUIPMENT_CREATE against all odds then let them do the development themselves.
    Regards
      Uwe

Maybe you are looking for