Locking a partner if the ID is in a custom Table

Good day Everyone
I have a table ZBP_UPDATE_ITEM, I would like to lock a business partner for editing in COMM_BUPA if the BPID is in ZBP_UPDATEP_ITEM.
What would be the best way of doing this?
The only option i have found so far was to create a new class with has CL_BSP_ACC_ACCMOD_FS as a superclass and assign that new class to COMT_BSP_BP_SEARES_BUS1006, but this only locks 1 screen. Do i have to create classes for all the screens?
Thanks
Marc
PS: I do give points. Promise.

More than likely the login.aspx is doing a redirect, thus the "Object moved" error. Are you sure this site collection has a Windows Ntlm zone configured? Make sure the Windows NTLM only zone address is the one being crawled in the starting addresses of
the content source listed in the Search Service Application.Blog | SharePoint Field Notes Dev Tool |
ClassMaster

Similar Messages

  • How to store the flat file data into custom table?

    Hi,
    Iam working on inbound interface.Can any one tell me how to store the flat file data into custom table?what is the procedure?
    Regards,
    Sujan

    Hie
    u can use function
    F4_FILENAME
    to pick the file from front-end or location.
    then use function
    WS_UPLOAD
    to upload into
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_file.
      CALL FUNCTION 'F4_FILENAME'   "Function to pick file
        EXPORTING
          field_name = 'p_file'     "file
        IMPORTING
          file_name  = p_file.     "file
      CALL FUNCTION 'WS_UPLOAD'
       EXPORTING
         filename                       = p_file1
        TABLES
          data_tab                      = it_line
    *then loop at it_line splitting it into the fields of your custom table.
    loop at it_line.
              split itline at ',' into
              itab-name
              itab-surname.
    endloop.
    then u can insert the values into yo table from the itab work area.
    regards
    Isaac Prince

  • Copying the error records in a custom table

    Hi,
    I  have a report program which is fetching Invoice header and line items . I need to copy the error records (records having a custom field ZZKUNNR as blank) in a custom table . I am executing this report in background daily .
    The records in the custom table can be corrected by functional guys
    Daily the report should fetch the data from SAP and also it should check whether there are correct records in the custom table .
    If the records are found from custom table then those records also must be fetched.
    Finally the output is stored in an application server .
    Kindly help how to write the code for error records.

    Hang on a moment here... I am sure we deleted your user ID a few months ago for ponits gaming!
    Did it "pay off" somehow and now you have a "real job" but don't have a clue what you are doing?
    Doesn't that make you feel just a little bit unconfident about life, the universe and ABAP?
    Cheers,
    Julius

  • To save the sales order number in custom table while creation of the order.

    Hi Experts,
    Does there exist any exit to save the sales order number in a custom table while the sales order is created in VA01. The requirement is to capture the sales order number in a Z table when a field (payment terms ) is changed during the sales order creation.
    Regards,
    Sunitha

    Hi Sunita,
    You can store your data in the User exit MV45AFZZ in the form 'userexit_save_document'.
    You can navigate to MV45AFZZ from SE38 wherein an access key needs to be generated for that program, if you know to implement enhancement points then you can create an implicit enhancement point in this form without generating an access Key.
    Regards,
    Ravi Kiran

  • Trapping the error records in a custom Table

    Hi,
    I am executing a report program. It is extracting different types of files - Invoice Header, Invoice line items, Customers, Master data attributes, Sales representative, Branch location data. Each file from different tables. In the selection screen we will be having check boxes for each file. The output is stored either on desktop or on application server in a file format.
    Here there are some mandatory fields for each file which should not be blank.
    For example there is one custom field for Sales Invoice header BUILDER which is mandatory. If it is blank then it will be an error record.
    We need to create a custom table with all these mandatory fields.
    Kindly pls help.

    Hi Abdul,
    this is a consulting issue, not an allowed question.
    Regards,
    Clemens

  • Uploading the contents of file into  custom table

    Hi ,
    I have a req where in i want to put the contents of the file into the Z table . I have taken a file upload UI element and in that i have taken 4 attributes as file name f, file type ,file size and file contents and binded this file contents to the data property of the UI element. Now with out explicitly defining the fields i want to put all this content of file into the Z table created  for any file created or if i could put the whole text file into that table so that any one could see that file even though its not saved in the desktop for that user.
    Can any one help me out?

    Yes i am converting it inot the lstring using the same FM which you have given. I have to store the total file but the only doubt is like if its a input field how could i save a file form. Can you please check the code i want to save the total file into the table.
    DATA lo_nd_upload TYPE REF TO if_wd_context_node.
        DATA lo_el_upload TYPE REF TO if_wd_context_element.
        data  i_data TYPE STANDARD TABLE OF string.
        DATA ls_upload TYPE wd_this->Element_upload.
        data lv_field type string.
        data lt_file type TABLE OF ZFILE_UPLOAD.
        data ls_file LIKE LINE OF lt_file.
        data l_xstring type xstring.
       data  fields TYPE string_table.
    data l_String type string.
      navigate from <CONTEXT> to <UPLOAD> via lead selection
        lo_nd_upload = wd_context->get_child_node( name = wd_this->wdctx_upload ).
      @TODO handle non existant child
      IF lo_nd_upload IS INITIAL.
      ENDIF.
      get element via lead selection
        lo_el_upload = lo_nd_upload->get_element( ).
      @TODO handle not set lead selection
        IF lo_el_upload IS INITIAL.
        ENDIF.
      get all declared attributes
        lo_el_upload->get_static_attributes(
          IMPORTING
            static_attributes = ls_upload ).
       DATA lv_file_contents TYPE wd_this->Element_upload-file_contents.
    navigate from <CONTEXT> to <UPLOAD> via lead selection
    @TODO handle non existant child
    IF lo_nd_upload IS INITIAL.
    ENDIF.
    get element via lead selection
       lo_el_upload = lo_nd_upload->get_element( ).
    alternative access  via index
    lo_el_upload = lo_nd_upload->get_element( index = 1 ).
    @TODO handle not set lead selection
       IF lo_el_upload IS INITIAL.
       ENDIF.
    get single attribute
       lo_el_upload->get_attribute(
         EXPORTING
           name =  'FILE_CONTENTS'
         IMPORTING
           value = l_xstring ).
    for text file conversion we have to FM
    CALL FUNCTION 'HR_KR_XSTRING_TO_STRING'
      EXPORTING
      FROM_CODEPAGE       = '8500'
        IN_XSTRING          = l_xstring
      OUT_LEN             =
    IMPORTING
       OUT_STRING          = l_string.
    SPLIT l_string  AT cl_abap_char_utilities=>newline INTO TABLE i_data.
      LOOP AT i_data INTO l_string.
        SPLIT l_string AT cl_abap_char_utilities=>horizontal_tab INTO TABLE fields.
        read TABLE fields into lv_field index 1.
    endloop.
    ls_upload will contain all the file details
    ls_file-file_size = xstrlen( ls_upload-file_contents ) * lv_float  .
    ls_file-file_name = ls_upload-file_name.
    ls_file-file_type = ls_upload-file_type.
    ls_file-file_contents = ls_upload-file_contents.
    insert ZFILE_UPLOAD FROM ls_file.
    thanks

  • "DBIF_RSQL_SQL_ERROR" "CX_SY_OPEN_SQL_DB" while updating the custom table

    hi friends...
    i am posting fico document using bapi BAPI_ACC_GL_POSTING_POST.
    after that i am updating the document number to my custom table.
    but in some cases while updating the document in my custom table i am getting the fallowing dump..
    in ST22
    How to correct the error:
    Database error text........: "[1205] Transaction (Process ID 66) was deadlocked
    on lock resources with another process and has been chosen as the deadlock
    victim. Rerun the transaction."
    Internal call code.........: "[RSQL/UPDT/ZIF004_PKT ]"
    Please check the entries in the system log (Transaction SM21).
    If the error occures in a non-modified SAP program, you may be able to
    find an interim solution in an SAP Note.
    If you have access to SAP Notes, carry out a search with the following
    keywords:
    "DBIF_RSQL_SQL_ERROR" "CX_SY_OPEN_SQL_DB"
    "ZFI_01_MONTHLY_RESULT_FRM_PKT" or "ZFI_01_MONTHLY_RESULT_FRM_PKT"
    "UPLOAD_SAP"
    Source Code Extract
    LOOP AT i_zif004_pkt_sum .
    UPDATE zif004_pkt SET xblnr = i_zif004_pkt_sum-xblnr ---> i am getting DUMP here
                              gjahr = i_zif004_pkt_sum-gjahr
                              sap_flag_posting = i_zif004_pkt_sum-sap_flag_posting
                          WHERE compcode = i_zif004_pkt_sum-compcode
                         AND ccode = i_zif004_pkt_sum-ccode
                          AND wbselement = i_zif004_pkt_sum-wbselement
                          AND kostl = i_zif004_pkt_sum-kostl
                          AND code = i_zif004_pkt_sum-code
                          AND month1 = l_ltx
                          AND year1 = p_year.
        IF sy-subrc = 0.
          WRITE :/ 'Document ', i_zif004_pkt_sum-xblnr, 'is posted for ', i_zif004_pkt_sum-code.
        ENDIF.
      ENDLOOP.
    kindly give some inputs..
    regards
    Selva

    Hi,
    You will face this issue if your oracle data base is lack of work processes. try to check the work processes and increase them if possible with the helps basis guys.
    check the below thread.
    DI job failed ORA-12537: TNS:connection closed.
    Regards,
    Venkatesh

  • How to read the data file and write into the same file without a temp table

    Hi,
    I have a requirement as below:
    We are running lockbox process for several business, but for a few businesses we have requirement where in we receive a flat file in different format other than how the transmission format is defined.
    This is a 10.7 to 11.10 migration. In 10.7 the users are using a custom table into which they are first loading the raw data and writing a pl/sql validation on that and loading it into a new flat file and then running the lockbox process.
    But in 11.10 we want to restrict using temp table how can we achieve this.
    Can we read the file first and then do validations accordingly and then write to the same file and process the lockbox.
    Any inputs are highly appreciated.
    Thanks & Regards,
    Lakshmi Kalyan Vara Prasad.

    Hello Gurus,
    Let me tell you about my requirement clearly with an example.
    Problem:
    i am receiving a dat file from bank in below format
    105A371273020563007 07030415509174REF3178503 001367423860020015E129045
    in this detail 1 record starting from 38th character to next 15 characters is merchant reference number
    REF3178503 --- REF denotes it as Sales Order
    ACC denotes it as Customer No
    INV denotes it as Transaction Number
    based on this 15 characters......my validation comes.
    If i see REF i need to pick that complete record and then fill that record with the SO details as per my system and then submit the file for lockbox processing.
    In 10.7 they created a temporary table into which they are loading the data using a control file....once the data is loaded into the temporary table then they are doing a validation and updating the record exactly as required and then creating one another file and then submitting the file for lockbox processing.
    Where as in 11.10 they want to bypass these temporary tables and writing it into a different file.
    Can this be handled by writing a pl/sql procedure ??
    My findings:
    May be i am wrong.......but i think .......if we first get the data into ar_payments_interface_all table and then do the validations and then complete the lockbox process may help.
    Any suggestions from Oracle GURUS is highly appreciated.
    Thanks & Regards,
    Lakshmi Kalyan Vara Prasad.

  • Hi all, i need to create a one method in assistance class for updating the custom table.

    Req as follows : 
    1. i need to create one method in a assistance calss  for updating custom table .
    2. now i  have to pass the multiple entries to that table then inside the method based need to update the Ztable. based on this entries
    3. My internal table is having 2 fields ( Customernumber (key field) , Shiftloc ).(Multiple entries ex : 500)
       based on customernumber need to update the new shiftloc in my custom table.
    Can any one give some inputs please. i have doubt can we pass mupltiple entries (internal) as a importing parameter to the method?
    Cheers,
    Venu

    Hi rama,
    thank you for your promt reply.
    i have one more query. Here i need to update the only Shipt to adress for particular customer number.
    i have written the code as below. Please clarify this code will work for my requirement.
       method UPDATE_SHIPTO.
      data : Lt_contract type ty_update_shipto_t.
      data : ls_contract like line of  Lt_contract .
      REFRESH : Lt_contract.
      lt_contract[] = LT_DATA[].
      loop at lt_contract into ls_contract.
    *    update  Zcustom  SET ship_to_adress  = ls_contract-new_bp
                                 WHERE  cust_no = ls_contract-custnum
        CLEAR : ls_contract.
      ENDLOOP.
    COMMIT WORK.
    endmethod.

  • HT4623 Please  help!  i have just update my iphone 4s with 7.4 update and my phone is now asking for a password which i dont have.  I have tried my keypad lock i used before the update and also my itunes password and neither work, how do i rectify this ??

    Please  help!  i have just update my iphone 4s with 7.4 update and my phone is now asking for a password which i dont have.  I have tried my keypad lock i used before the update and also my itunes password and neither work, how do i rectify this ???

    Did you buy this iPhone new from an authorized seller?

  • TS1368 I can not connect to the ITunes store. I have updated my apple ID and made sure that everything is set correctly. However, I can not purchase or update any apps no matter what I do. My partner has the same phone and hers works perfectly. I'm not su

    I can not connect to the ITunes store. I have updated my apple ID and made sure that everything is set correctly. However, I can not purchase or update any apps no matter what I do. My partner has the same phone and hers works perfectly. I'm not sure how to sort this out. Please help
    Thanks
    Andy

    I've been having this problem for weeks and have found no solution to it. There are lots of other people with this issue too if you look back on the boards. I even e-mailed AND called Apple and have had no luck. I tried all the suggestions they gave me and all the ones I found on here- nothing worked. I even uninstalled and re-installed iTunes (boy was that a pain!) and no difference.
    The weird part is that I have an old laptop that works and if I buy music with the laptop I can download it with my regular computer buy buying does not work on my regular computer. That tells me it's not a connection issue. I can't get to my account either.
    I can't figure out why an issue that has kept so many people from purchasing a product has been ignored!

  • Hi! I have a library of around 1000 songs on my iTunes, I recently synced my phone and all was lost, my partner has the same songs on hers with a different sign in, but not backed up anywhere, any suggestion on how I can store her tunes in my account ???

    Hi! I have a library of around 1000 songs on my iTunes, I recently synced my phone and all was lost, my partner has the same songs on hers with a different sign in, but not backed up anywhere, any suggestion on how I can store her tunes in my account ??? Then sync them to mine? When I sign her phone into her account I get a message warning that if I sync the dogs on her phone will be replaced by the ones in the library! But as there are no songs there I'm reluctant to continue!!! Please help this non techi guy.!!!!!

    Hello Solid Buck,
    Thank you so much for providing the details about the duplicate song issue you are experiencing.  It sounds like you would like to remove the duplicate songs that will not play on your iPhone, but when you connect it to iTunes, iTunes only shows you one copy of the song on your iPhone. 
    In this situation, I recommend deleting the individual songs that do not play directly from your iPhone.  I found the steps to do this on page 61 of the iPhone User Guide (http://manuals.info.apple.com/en_US/iphone_user_guide.pdf):
    Delete a song from iPhone: In Songs, swipe the song, then tap Delete.
    Thank you for using Apple Support Communities.
    Best,
    Sheila M.

  • Need to add a custom defined partner at the time of creation of sales order

    Hi Experts,
    I request you some solution for me in this urgent requirement.
    Scenario 1:
    I have to create a partner in the sales order based on some validations with repect to bill-to party and ship-to party. The validations if success, will return me the data from an 'Z' function module which i need to populate to the new partner that will be created in the sales order.
    I am using the program MV45AFZZ and the userexit USEREXIT_SAVE_DOCUMENT_PREPARE.
    Now after getting the data for the new partner to be added, i have done this code..
          LOOP AT ws_dealer.
            xvbpa-kunnr  = ws_dealer-kunwe.
            xvbpa-parvw  = 'ZD'.
            xvbadr-telx1 = ws_dealer-primaryid.
            xvbadr-name1 = ws_dealer-physname.
            xvbadr-stras = ws_dealer-physstreet.
            xvbadr-ort01 = ws_dealer-physcity..
            xvbadr-regio = ws_dealer-physstate.
            xvbadr-pstlz = ws_dealer-postalcode.
            xvbadr-land1 = ws_dealer-ctrycode.
            xvbadr-telf1 = ws_dealer-phone.
            xvbadr-telf2 = ws_dealer-fax.
           xvbadr- = ws_dealer-email.
            xvbadr-telbx = ws_dealer-distance.
            APPEND xvbadr.
            APPEND xvbpa.
          ENDLOOP.
    Now i'm getting the new partner number in the partners tab in sales order, but the new address details are not getting updated and the ship-to party address is only appearing in the screen.
    Also i'm finding difficulty in updating the telex, email information in the sales order.
    Scenario 2:
    There are cases where some sales orders are getting created through an idoc. In that case, i have to populate the values from idoc especially the address details of all the partners to the screen and update the sales order.
    Apart from populating value to all the partners, the process of scenario 1 will have to be carried again to create the 'Z' partner (if validation is successful).
    For this case, i do not know which userexit i need to use. and how to go about this..
    This is having a very tight deadline and it is extremely urgent for me.
    Please help with your valauble answers.
    Your help would certainly be appreciated and rewarded.
    Thanks,
    Ananth

    Hi Mahulenka,
    Thanks for your reply. I do not want the data from the customer master.
    The partner data will come in the idoc and i wish to put the data in the sales order based on some validation for the standard partners like WE/AG/RE/RG.
    The client has developed some 'Z' function module which contains the functionality of SAP FM - IDOC_INPUT_ORDERS.
    Now for the partner which i'm creating 'ZD' i believe i should update the indicator UPDKZ to 'I' for XVBADR table as it is a new record. Why should i update in XVBAP table and i'm adding only partner and his address details. Also i think all this change i should put in USEREXIT_SAVE_DOCUMENT at the point of saving.
    Please advise.
    Thanks,
    Ananth

  • Bought an ipod 4g at a pawn shop, it was locked and disabled but the guy said I could restore it, it didn't work and he won't take back the ipod what do i do?

    I bought an ipod 4g at a pawn shop, it was locked and disabled but the guy said I could restore it by connecting it to my computer and pressing the home and sleep buttons at the same time, it didn't work and he won't take back the ipod what do i do?
    When I try connecting it to my computer itunes opens and says I cannot connect to the ipod because it is disabled, enter passcode on ipod. The ipod is locked and disabled and will not allow me to try and put in a passcode, which I wouldn't be able to do because I have no idea what it might have been.
    I downloaded the newest version of Itunes, restarted computer, connected ipod, nothing, held every button down for what seems like forever, nothing. I think I have been screwed by the pawnshop. Is there anyway of restoring this thing or is now just a $60.00 paperweight?

    torreto44. that does not work with a Disabled iPod. Jim's gave the correct answer for a Disabled iPod
    torreto44 wrote:
    Hey man don't worry bout it ! Hold the power button and the circle button for a long time and it should reboot meaning the iPod will restart and u can set it up as yours with new apple i.d and password

  • SAP NAME FILE lock error while creating the TR in development system.

    Hi All,
    I am getting an error message while saving the changes in my SAP Script that 'SAP names file for <UserId> locked by another process'
    The name of the lock file is "/usr/sap/trans/tmp/<UserId>.LOS".
    Can any body help me, how to resolve this problem ?
    Thanks,

    Hi Kamlesh,
    did you find any solution? I'm getting the same error while a saving the changes in a Dynpro in the ABAP Development Workbench.
    Thanks,
    Viktor

Maybe you are looking for

  • G4 and panther upgrade. could I? should I?

    I purchased a G4 Powerbook in 2003 and never updated the operating system. Over the past year it has been running slower and slower and now can not access many webpages and Safari quits often. So I have a few questions. Here's my specs (as they read

  • How can I save a website   and keep all assets attached without loss

    Hi there I have constructed my first website using Dreamweaver with five tabbed pages. When I preview in Safari everything is there and it all works seemlessly. When I then try to save it on my mac to user - web - sites - site when I launch the page

  • Disk Utility - Scan Image for Restore - Freeze

    I backed up my wife's iBook by starting her computer in target disk to my iBook which has a huge external attached. After about an hour, the image process was complete. Apple disk utility help says next to scan image for restore (not too sure why bec

  • Control and redo files I/O linux errors

    Dear all, today, i had receive a call and i had a problem in my production database: Oracle Database 10g Release 10.2.0.1.0 - Production RHEL AS version 4. well, when i try to enter i receive the next message: ORA-01034: ORACLE not available. ORA-271

  • Running external program using java

    hi i am trying to run an external program using the runtime.exec() method. my problem is that the external program only runs when i press ctrl-c to exit my program. does anyone know how i can execute the external program while my program is still run