Need to create a Network and assign this n/w to WBS

I was trying to create a network from abap editor using the  'BAPI_BUS2002_CREATE' but I have encountered a dump. Here is my entire code below:-
*  Declaration based on the Import & Export parameters of BAPI create  
DATA LV_AUFNR TYPE NW_AUFNR.
DATA LV_NETWRK TYPE BAPI_BUS2002_NEW. 
DATA LT_RESULT TYPE TABLE OF BAPIRET2.  
PARAMETERS: P_AUFNR TYPE NW_AUFNR. " Order Number
*  Trying to pass the value of network entered in parameters to the FM for creation.
LV_NETWRK-NETWORK = P_AUFNR.
CALL FUNCTION 'BAPI_PS_INITIALIZATION'.
CALL FUNCTION 'BAPI_BUS2002_CREATE'
   EXPORTING
     I_NETWORK          = LV_NETWRK
   TABLES
     ET_RETURN          = LT_RESULT.
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.
Regards.

Hey I got the fields needed for network but this "BAPI_PS_PRECOMMIT" did not run successfully.
Error analysis:-
Short text
precommit did not run successfully.
Long Text
technical information about the message:
Message class .............. "CNIF_PI"
number............................. 33
Variable 1 ..................... " "
Variable 2 ..................... " "
Variable 3 ..................... " "
Variable 4 ..................... " "
Below code is were system go to dump( dump is happening for  standard code ):-
***INCLUDE LPS_BAPIF01 .
*&      Form  CHK_PRECOMMIT
*       check precommit
FORM chk_precommit.
  DATA: chk_precommit_ok TYPE c,
        chk_error        type c.
  CALL FUNCTION 'PS_FLAG_GET_GLOBAL_FLAGS'
       IMPORTING
            e_precommit_ok = chk_precommit_ok
            e_error        = chk_error.
  IF chk_precommit_ok = space.
*   Precommit wurde noch nicht aufgerufen.
    MESSAGE x030(cnif_pi).    <------------------ system goes to dump at this place
  ELSEIF chk_precommit_ok <> 'Y'.
*   Precommit wurde nicht erfolgreich durchlaufen.
    MESSAGE x033(cnif_pi).
  elseif not chk_error is initial.
*   At least one single BAPI failed
    MESSAGE x056(cnif_pi).
  ENDIF.
* commit work was called successfully after the precommit.
  PERFORM ps_bapi_init_global_variables.

Similar Messages

  • TS1388 After one or two websites the search "freezes". To rectify this I need to go into "Network" and press "Renew DHCP Lease" on my imac 10.6.8

    After one or two websites the search "freezes". To rectify this I need to go into "Network" and press "Renew DHCP Lease" on my imac 10.6.8TS1317 - Mac OS X: Troubleshooting a cable modem, DSL, or LAN Internet connectionAny help?

    Check your computers time and date are correct, and updating to your location via Apple's servers.
    WiFi, Internet problems, possible solutions

  • My airport extreme has connected to a Tplink router, i set my AE in Create network, so i get a problem of Double NAT. How can i repair this probleme because i have to use TPlink for my IP TV and i want to use AE to creat my network and the guest NW.

    my airport extreme has connected to a Tplink router, i set my AE in Create network, so i get a problem of Double NAT. How can i repair this probleme because i have to use TPlink for my IP TV and i want to use AE to creat my network and the guest NW. If we don't have a solution for this question, can i set my AE to use the IP TV and how??? I'm using a 4th Airport extreme

    No, not unless it is simply a network connection.
    How is your IPTV being provided.. if it is using a separate vlan or separate vpi/vci in the adsl connection. Who is your ISP?
    Is the TP-Link ADSL?
    Is the IPTV using a separate voice channel on adsl?
    Or a different vlan.
    Sorry but it is something where a definite answer is not possible unless you provide all the details.
    The setups are unique to each ISP around the world..
    Here is one for our local ISP.
    http://www.avenard.org/iptv/Setup.html
    He has a section on getting this working with apple router over wireless.. look
    http://www.avenard.org/iptv/IPTV_and_Wireless.html
    Google around and see if other people have had success.. the whole setup is tricky.. and it is hard if nobody has used it who actually understands networking.

  • Return for Credit - Is there a need to Create Project Stock (MIGO) in this

    Return for Credit - Is there a need to Create Project Stock (MIGO) in this process? System allows you to use ME21n (Returns PO) and then go straight to Goods Issue to Supplier (MIGO)

    For the most part, though the code doesn't give much hint of this, layout managers can not be re-used across multiple containers, and I'm almost certain GridBayLayout must be used with this principle. Most layout managers implementing LayoutManager2 maintain an internal cache of the components they are responsible for laying out in order to map each component to a constraint, and will attempt to layout all components together without verifying that they have the appropriate parent, hence causing errors that are very difficult to find, in my experience causing the jvm to perform and illegal operation without so much as an exception being thrown.

  • Upon launch of Lightroom after initial instalation a warning came up that said lightroom needs to create temporary files and cant open.  The it opened and the catalog i imported will not show the images.  How can I give permission? Running windows 8.1 64

    Upon launch of Lightroom after initial installation a warning came up that said lightroom needs to create temporary files and cant open.  Then it opened and the catalog i imported will not show the images.  How can I give permission? Running windows 8.1 64 bit.  I have avast virus software.

    Upon launch of Lightroom after initial installation a warning came up that said lightroom needs to create temporary files and cant open.  Then it opened and the catalog i imported will not show the images.  How can I give permission? Running windows 8.1 64 bit.  I have avast virus software.

  • Create handling units and assigning them as Packing Proposal for Sales Orde

    Hi Friends
    How to create handling units and assigning them as Packing Proposal for Sales Order Items in the background.
    Could you please help to provide Input Parameters for BAPI_HU_CREATE for sales order OR is there any other program creating and assigning them to Sales Order line Items.
    Thanks in Advance.
    SR

    Hi Friends
    I created Handling Units with BAPI_HU_CREATE , Pack materials with BAPI_HU_PACK in to Handling Untis and assign handling units to sales order with BAPI_HU_CHANGE_HEADER . But These BAPIs are not doing packing sales order line items in to handling units . I have to go sales order and do sales order line item packing by clicking packing button.
    Could you please help on how to do packing Sales Order Line items in the background with BAPIs.
    Thanks in Advance.
    SR

  • I need a report of PS Text assigned to Project Definition or WBS Elements.

    Dear Friend's
    I need a report of PS Text assigned to Project Definition or WBS Elements.
    By putting Project Definition or WBS Elements i must get all PS Text & print option is also required.
    How i can do this in PS module.
    Regard's
    Sandeep

    hi pratap,
    on ps texts account, can u pl let me know, how i can restrict using the ps texts assigned to one project, bcos the same ps text can be edited or modified any other user.
    ps texts may be different eg, different excel sheets assigned at wbs elements.
    1. abc project wbs assigned xyz ps text (excel sheet)
    2. zyx project wbs assigned xyz1 ps text (excel sheet)
    the above are used by two different users.
    if abc project user goes thru cj02 for editing the ps text xyz, but at the same time, if this user goes thru pull down list, he can also pick up xyz1 ps text and can do edit/modify. 
    is there any way to restrict thru basis/ps control or authorisations
    my requirement whatever assigned ps text is only has to be changed/modified as & when the user opens project thru cj02
    pl help
    regards
    srihari

  • Create number range and assign new product id

    hi,
    can anyone tell me the steps to create the number range and assign it to the product id..
    and replace existing product id to the new one through program or.. is there any standard program is available to change the product id
    thanks
    dinesh

    Hi Dinesh,
    Agree with Arden, I think there is no number range feature for product IDs. You can have your own number range object and intervals with custom solution on UI to create product IDs sequentially.
    I am not sure but have a look at the TCode: COMC_MATERIALID_ALL which may be doing what you need.
    You cannot change the product ID once created I think.
    You can change the category assignment of the products through the report : COM_PRODUCT_RECATEGORISATION
    Check enhancement spot : CRM_PRODIL_EXIT which has got some methods for CREATE and MODIFY Products.
    Hope this will be useful.
    Regards,
    Naresh

  • Need help creating custom objects and adding them to an array.

    Hi Everyone,
    So I'm dinking around in Powershell today and I'm failing at creating an array of custom objects.  I want to create a HTML report that builds out after every MDT image update. To do that, I need to collect my data on what's contained in each build.
    Here's my current script in progress -
    function Parse-Dependents($fullname){
    #PARAMETER SWITCHING
    if(!($fullname)){
    $dependents = get-dependents
    if($fullname){
    $dependents = get-dependents -fullname $fullname
    #SPIN THROUGH ARRAY OF GUIDS FROM GET-DEPENDENTS
    foreach($d in $dependents){
    #SPIN THROUGH EACH APP IN APPLICATIONS.XML
    foreach ($app in $apps){
    #IF MATCH THEN ADD OBJECT WITH PROPERTIES
    if($d -match $app.guid){
    #ADD APPLICATION MATCH TO THE ARRAY
    $applications = @{
    'Name' = $app.ShortName;
    'GUID' = $app.Guid;
    'Version' = $app.Version;
    'Last Modified Time' = $app.LastModifiedTime;
    'Last Modified By' = $app.LastModifiedBy;
    'Install Directory' = [string]'\\my\path\to\MDT\' + $app.WorkingDirectory.TrimStart(".","\")
    'CommandLine' = $app.CommandLine;
    new-object -typename PSObject -property $applications
    #RETURN MATCHED ARRAY
    return $applications
    It all works great until I look at my output and see that I get my expected properties and array, but at the end it's created additional empty entries for each of my initial properties I assigned.  So I get my list of apps like this :
    powershell.ex... OrgChart Plugin  \\my\mdt\server\ XX\user                     9/22/2014 5:... {ffee7497-0c...
    And then below it :
                     CommandLine                                                                                    
                     Name                                                                                           
                     Install Direc...                                                                               
                     Last Modified By                                                                               
                     Version                                                                                        
                     Last Modified...                                                                               
                     GUID                                                                                           
    And these are all listed under the Name property.  I'm still pretty new to PS (8 months or so now), and rarely have to create a custom object, but this seems like a case for doing so to create a custom html report.  Any ideas would be greatly appreciated.
    Ryan

    It's not really all that strange.  
    If you look at your script, you're not outputting the hash table until both loops finish.  The values are dependent on the properties of the $app objects enumerated in the inner loop, and only outputting an object if the dependent ($d) matches the $app
    guid property.
    At the end, you're outputting the hash table without that test, so it's going to have values based on the last $app in the loop, regardless of whether the guid matches the dependents or not.
    [string](0..33|%{[char][int](46+("686552495351636652556262185355647068516270555358646562655775 0645570").substring(($_*2),2))})-replace " "

  • I need to create a playlist and don't want the same songs in my everyday playlist.

    I'm new to Mac and Need to create a playlist on my itunes like a holiday playlist which I have, but I don't want the same music in my everyday playlist.  How do I do this.  I thought I did my draging the music to that playlist but they are still showing up and playing in my playlist.  thanks for the help

    Yes yes indeed,
    OMG,
    I finally got it off,
    I called IT Support
    and this guy saw where it had doubled the size during the encryption, and showed me how to go in and delete,
    and I was able to finally turn it off,
    although it took 3 hours to do so.
    but worth it.
    so never will I again listen to anyone about that,
    I'm done with the encryption of my machine.
    I wasted a trip going to the Apple Store,
    thank you.

  • Are JDev autogenerated paths needed to create ear, war and jar files ?

    Hi
    We want to create ear, war and jar files from Ant build script generated from JDeveloper 11.1.1.7.
    We also like to use ojdeploy with it.
    In the process of creating build.xml files from projects, we see these paths.
    We also have standalone Weblogic installed with ADF runtime 11.1.1.7
    Questions:
    1- Do we need these path ids to generate ear, jar, war files properly and then deploy the ear to our standalone Weblogic so that our webapp can run ok ?
    2- Why are they generated, if they are not needed
    From research, it appears that we don't need these paths except to keep ant targets of init, compile, exec etc with ojdeploy.
    3- Is that true ?
    We are afraid that because no paths are listed in the build.xml, then when we deploy the ear app, it cant use the ADF runtime on the standalone WLS.
    Thanks in advance for answering.
    Sincerely
    eg of paths generated below:
      <path id="library.SOA.Designtime"/>
      <path id="library.SOA.Runtime"/>
      <path id="library.BPEL.Runtime"/>
      <path id="library.Mediator.Runtime"/>
      <path id="library.MDS.Runtime">
        <pathelement location="{oracle.middleware}/oracle_common/modules/oracle.mds_11.1.1/mdsrt.jar"/>
      </path>
      <path id="library.BC4J.Service.Runtime">
        <pathelement location="{oracle.middleware}/oracle_common/modules/oracle.adf.model_11.1.1/adfbcsvc.jar"/>
        <pathelement location="{oracle.middleware}/oracle_common/modules/oracle.adf.model_11.1.1/adfbcsvc-share.jar"/>
        <pathelement location="{oracle.middleware}/oracle_common/modules/commonj.sdo_2.1.0.jar"/>
        <pathelement location="{oracle.middleware}/modules/org.eclipse.persistence_1.1.0.0_2-1.jar"/>
        <pathelement location="{oracle.middleware}/oracle_common/modules/oracle.webservices_11.1.1/wsclient.jar"/>
        <pathelement location="{oracle.middleware}/oracle_common/modules/oracle.web-common_11.1.1.jar"/>
      </path>
      <path id="library.TopLink">
        <pathelement location="{oracle.middleware}/modules/com.oracle.toplink_1.0.0.0_11-1-1-5-0.jar"/>
        <pathelement location="{oracle.middleware}/modules/org.eclipse.persistence_1.1.0.0_2-1.jar"/>
        <pathelement location="{oracle.middleware}/modules/com.bea.core.antlr.runtime_2.7.7.jar"/>
        <pathelement location="{oracle.middleware}/modules/javax.persistence_1.0.0.0_2-0-0.jar"/>
      </path>
      <path id="library.Oracle.Rules"/>
      <path id="classpath">
        <path refid="library.SOA.Designtime"/>
        <path refid="library.SOA.Runtime"/>
        <path refid="library.BPEL.Runtime"/>
        <path refid="library.Mediator.Runtime"/>
        <path refid="library.MDS.Runtime"/>
        <path refid="library.BC4J.Service.Runtime"/>
        <path refid="library.TopLink"/>
        <path refid="library.Oracle.Rules"/>
      </path>

    There are two different things here. Using ant to build the class files and then building an ear from the class files and other resources.
    The building part needs the libraries if you use javac as compiler. Building an ear file only needs the path to the jar files which are packed into the ear.
    In this sense you need the pages you see in the build.xml.
    Then Jdev offers another way: ojdeploy. This tool is a Jdev without a gui.
    You can use this tool and build the classes for each project of a workspace and to build build war and ear file. This is just like you click the rebuild button for each project and then the deploy the projects and application. If you use this approach you don't need the generated path ids as the whole build process is done inside Jdev as it's done on your developer pc.
    Timo

  • Call PL/SQL Package to Create DB User and assign Privileges

    Hi All,
    I'm sure this has been covered before but I couldn't find anything relevant....
    I'm calling a PL/SQL Process from within an Apex (version 2.0) Page, that ultimately Creates a New DB user.
    I am receiving an ORA-01031: insufficient privileges error. My Application User and the Package owner both have privileges to Create a DB user.
    What am I missing?
    Thanks,
    Mike

    Never, ever grant additional privileges to the apex_public_user account. It achieves nothing and makes the account over-privileged. The only privilege it needs is CREATE SESSION.
    Mike - Your application's parsing schema (I assume that's the package owner) needs to be granted privileges directly and not through roles. I don't know what you mean by your application user's privileges. Those users are not database accounts (unless you are using a dedicated DAD, etc.).
    Scott

  • How to create a event and assign to task

    Hi
    How to create events in BW and assign to any process..
    Like i want to complete a delta load and do the full load.
    After finishing the delta load, full load has to be triggered.
    So can anyone help to creating the events in bw and assigning it to the prcess.
    Regards
    Rak

    Hi AHP
    Thanks for the reply.. we are not using the process chains instead we are using the infopackage groups. I created the event in SM62, But how should i assign this new event to my delta load.
    In full upload infopackage, in selection option i can give the event there in "after event"
    But my doubt is how to assign my event to the delta infopack
    "<i>you can just put the full load process type variant after the delta load, any consideration ?"</i>. Can you be more specific.
    Regards
    Rak

  • How to create Match code and assigne it to main screen of MM03

    Hi,
    My req is as below,
    I have to create one new match code for Material serach  and i want to assign this match code on the main screen on MM03
    while searching the Material.
    Kindly Help
    Sachin Yadav

    solved

  • Creating Logical Networks and Switches via SPF

    Hi,
    Is it possible to create Logical switches and logical networks in VMM by calling SPF REST APIs. I can see only a GET API for logical networks and none for Logical switches. If they exist can someone point me to a link to the documentation?
    Thanks,
    Venky

    Hi
    You can only get logical network information -
    http://msdn.microsoft.com/en-us/library/dn470018.aspx
    The purpose of SPF is to be used as web service for Tenants. As logical networks and switches are objects that are maintained by administrators they cannot be managed by SPF. Logical networks have get operation because you might want to create VLAN-based
    VM Networks depending on what is configured in Logical networks. For administrating logical switches and networks administrators will use PowerShell or the VMM console.

Maybe you are looking for

  • Get the max count of the column list item

    Hi, I have a list with the 'TO' column of type people. My task is to get persons name who is featured the max number of time in the 'TO' column. What is the best possible solution OOB. I dont want to go with custom solution. Thanks, Ankit

  • Use two different classes

    Hi ,thanks a lot for reading this. I would like to create a java class which can perform addition ,namely this program should return the sum of two integers. Then another java class should use the previous one in order to add couples of integers. I k

  • FM's 'BKK_DELETE_LEADING_ZERO' and 'CON'CONVERSION_EXIT_ALPHA_OUTPUT'

    Hi , Can u please tell me the basic difference between FM's: 'BKK_DELETE_LEADING_ZERO' and 'CON'CONVERSION_EXIT_ALPHA_OUTPUT'. I see that both the function modules are giving the same output. eg:  wf_value = '000000000000000000000000004567.       CAL

  • Send to ios

    Where is the "send to iOS " function? My iCloud is on on both, the mac and iphone 5. But on the share button, there is no send to ios

  • Trying out Arch on VirtualBox, a real PITA (solved)

    Hi there, I've been having a hard time lately trying to install Arch on VirtualBox latest version (3.1.4 IIRC) on a windows host to give it a try. First I tried the net-install edition, so I wouldn't have to update later and it run flawlessly until p