Not being remove Blank space in Supplier Name

Dear,
Actully we have round more than 200 supplier having supplier name with space due to this client face problem especially in parameter while running reprots or sometime occur in oracle application, therefor i have developed this routine to remove space from the left & right side of suppliername, but not being update although some update get performed when package execute showig status sucessfull & error is blank as mentioned below.
If any know about to update supplier name in Fron-End, right now we update supplier name but it's not wokrin could y please guide how can we upadate supplier name individulay so we can do it fron-end as per needed.
DBMS_OUTPUT.PUT_LINE(' STATUS '||v_return_status||' ERROR '||v_error_msg);
STATUS S ERROR
declare
v_return_status varchar2(100); --OUT NOCOPY VARCHAR2,
v_error_msg varchar2(100); --OUT NOCOPY VARCHAR2);
begin
for i in (
select s.*,par.jgzz_fiscal_code,par.sic_code,par.tax_reference,par.tax_name From ap_suppliers s,hz_parties par
where ltrim(rtrim(s.vendor_name)) <> s.vendor_name
and s.vendor_name = par.party_name
and created_by_module = 'AP_SUPPLIERS_API'
and vendor_name = 'ABC ' ) loop
v_return_status := null;
v_error_msg := null;
POS_VENDOR_PUB_PKG.Update_Vendor
p_vendor_id => i.vendor_id ,
p_segment1 => i.segment1 ,
p_vendor_name => ltrim(rtrim(i.vendor_name)),
p_vendor_name_alt => i.vendor_name_alt ,
p_summary_flag => i.summary_flag ,
p_enabled_flag => i.enabled_flag ,
p_segment2 => i.segment2 ,
p_segment3 => i.segment3 ,
p_segment4 => i.segment4 ,
p_segment5 => i.segment5 ,
p_employee_id => i.employee_id ,
p_vendor_type_lookup_code => i.vendor_type_lookup_code ,
p_customer_num => i.customer_num ,
p_one_time_flag => i.one_time_flag ,
p_parent_vendor_id => i.parent_vendor_id ,
p_min_order_amount => i.min_order_amount ,
p_terms_id => i.terms_id ,
p_set_of_books_id => i.set_of_books_id ,
p_always_take_disc_flag => i.always_take_disc_flag ,
p_pay_date_basis_lookup_code => i.pay_date_basis_lookup_code ,
p_pay_group_lookup_code => i.pay_group_lookup_code ,
p_payment_priority => i.payment_priority ,
p_invoice_currency_code => i.invoice_currency_code ,
p_payment_currency_code => i.payment_currency_code ,
p_invoice_amount_limit => i.invoice_amount_limit ,
p_hold_all_payments_flag => i.hold_all_payments_flag ,
p_hold_future_payments_flag => i.hold_future_payments_flag ,
p_hold_reason => i.hold_reason ,
p_type_1099 => i.type_1099 ,
p_withhold_status_lookup_code => i.withholding_status_lookup_code ,
p_withholding_start_date => i.withholding_start_date ,
p_org_type_lookup_code => i.organization_type_lookup_code ,
p_start_date_active => i.start_date_active ,
p_end_date_active => i.end_date_active ,
p_minority_group_lookup_code => i.minority_group_lookup_code ,
p_women_owned_flag => i.women_owned_flag ,
p_small_business_flag => i.small_business_flag ,
p_hold_flag => i.hold_flag ,
p_purchasing_hold_reason => i.purchasing_hold_reason ,
p_hold_by => i.hold_by ,
p_hold_date => i.hold_date ,
p_terms_date_basis => i.terms_date_basis ,
p_inspection_required_flag => i.inspection_required_flag ,
p_receipt_required_flag => i.receipt_required_flag ,
p_qty_rcv_tolerance => i.qty_rcv_tolerance ,
p_qty_rcv_exception_code => i.qty_rcv_exception_code ,
p_enforce_ship_to_loc_code => i.enforce_ship_to_location_code ,
p_days_early_receipt_allowed => i.days_early_receipt_allowed ,
p_days_late_receipt_allowed => i.days_late_receipt_allowed ,
p_receipt_days_exception_code => i.receipt_days_exception_code ,
p_receiving_routing_id => i.receiving_routing_id ,
p_allow_substi_receipts_flag => i.allow_substitute_receipts_flag ,
p_allow_unorder_receipts_flag => i.allow_unordered_receipts_flag ,
p_hold_unmatched_invoices_flag => i.hold_unmatched_invoices_flag ,
p_tax_verification_date => i.tax_verification_date ,
p_name_control => i.name_control ,
p_state_reportable_flag => i.state_reportable_flag ,
p_federal_reportable_flag => i.federal_reportable_flag ,
p_attribute_category => i.attribute_category ,
p_attribute1 => i.attribute1 ,
p_attribute2 => i.attribute2 ,
p_attribute3 => i.attribute3 ,
p_attribute4 => i.attribute4 ,
p_attribute5 => i.attribute5 ,
p_attribute6 => i.attribute6 ,
p_attribute7 => i.attribute7 ,
p_attribute8 => i.attribute8 ,
p_attribute9 => i.attribute9 ,
p_attribute10 => i.attribute10 ,
p_attribute11 => i.attribute11 ,
p_attribute12 => i.attribute12 ,
p_attribute13 => i.attribute13 ,
p_attribute14 => i.attribute14 ,
p_attribute15 => i.attribute15 ,
p_auto_calculate_interest_flag => i.auto_calculate_interest_flag ,
p_validation_number => i.validation_number ,
p_tax_reporting_name => i.tax_reporting_name ,
p_check_digits => i.check_digits ,
p_allow_awt_flag => i.allow_awt_flag ,
p_awt_group_id => i.awt_group_id ,
p_pay_awt_group_id => i.pay_awt_group_id ,
p_awt_group_name => null ,
p_pay_awt_group_name => NULL ,
p_global_attribute1 => i.global_attribute1 ,
p_global_attribute2 => i.global_attribute2 ,
p_global_attribute3 => i.global_attribute3 ,
p_global_attribute4 => i.global_attribute4 ,
p_global_attribute5 => i.global_attribute5 ,
p_global_attribute6 => i.global_attribute6 ,
p_global_attribute7 => i.global_attribute7 ,
p_global_attribute8 => i.global_attribute8 ,
p_global_attribute9 => i.global_attribute9,
p_global_attribute10 => i.global_attribute10 ,
p_global_attribute11 => i.global_attribute11 ,
p_global_attribute12 => i.global_attribute12 ,
p_global_attribute13 => i.global_attribute13 ,
p_global_attribute14 => i.global_attribute14 ,
p_global_attribute15 => i.global_attribute15 ,
p_global_attribute16 => i.global_attribute16 ,
p_global_attribute17 => i.global_attribute17 ,
p_global_attribute18 => i.global_attribute18 ,
p_global_attribute19 => i.global_attribute19 ,
p_global_attribute20 => i.global_attribute20 ,
p_global_attribute_category => i.global_attribute_category ,
p_bank_charge_bearer => i.bank_charge_bearer ,
p_bank_branch_type => i.bank_branch_type,
p_match_option => i.match_option ,
p_create_debit_memo_flag => i.create_debit_memo_flag ,
p_party_id => 2085 ,
p_parent_party_id => i.parent_party_id ,
p_jgzz_fiscal_code => i.jgzz_fiscal_code,
p_sic_code => i.sic_code ,
p_tax_reference => i.tax_reference,
p_inventory_organization_id => NULL ,
p_terms_name => NULL ,
p_default_terms_id => NULL ,
p_ni_number => NULL ,
p_last_update_date => NULL ,
x_return_status => v_return_status,
x_error_msg => v_error_msg
DBMS_OUTPUT.PUT_LINE(' STATU S '||v_return_status||' ERROR '||v_error_msg);
end loop;
end;
Edited by: oracle0282 on Dec 24, 2011 3:36 AM
Edited by: oracle0282 on Dec 25, 2011 9:51 PM

Just a thought..
How about creating a new supplier and then opt for Supplier Merge?
Using supplier merge you may transfer all the open PO's and invoices of the old supplier to the new
supplier. By using the supplier merge, the old supplier would be end date automatically by the
system.
P.S. I am NOT sure whether there exist a datafix to edit the supplier name.
Regards,
Srini

Similar Messages

  • Removing Blank Spaces caused by Supressed data

    Hi All,
    How we can remove the balank spaces caused by supressed data in crystal reports.for eg
    Item Code:I0002
                   Timer
                   For Time Info
                   100
    ItemCode:I00003
                   Pen
                   20
    if there is txt added against pen as for Timer(For Time Info)
    it will leave blank space.How to remove blank space.
    Thanks,
    Neetu

    Hi Neetu
    I have tried replicating your requirement at my end using Xtreme Sample database below are the steps which I have followed.
    1)I have customer Id field,Customer name field field placed in details section.
    2)Click on Section Expert
    3)Click on Details.
    4)Check the second option as "Suppress(No Drill Down)".In front of that there is one icon as "X-2".Double click on that icon.
    5) Type the below formula
         if {Customer.Customer ID}=157 and {Customer.Customer Name} ="Aruba    
         Sport" then true
        else if {Customer.Customer ID}=148 and {Customer.Customer Name}
         ="Koala Road Bikes" then true
         else false
    6)Save and close.
    With this formula where condition matches the specific criteria it will suppress the section and there will be no blank spaces.The rest of the data will be shown.
    Hope it will help you.
    Regards
    Asha

  • Remove blank spaces in a text field?

    How can I remove blank spaces in a text field? Some text fields have a lot of blank fields that need to be removed so that I can report only on the text.
    CRXI
    Edited by: Burton Roger on Feb 10, 2009 5:48 PM

    Ex:
    "Hi,
    I have a need for monthly service desk reporting.
    Please provide data on single sheet.
    Thank you"
    I would like to shrink it down to -
    Hi, I have a need for monthly service desk reporting. Please provide data on single sheet. Thank you"

  • How to Remove Blank spaces in the text elements for a smartform

    Hi All,
    Can any one please help me out to remove the blank spaces in the text elements.
    We are printing Labels using the Zebra Printer and we have rotated the windows to 90 degrees.
    We are able to see out text and barcodes. But the issues is when we are printing the label. We are getting spaces in the Text and in the Text elements fields. I have tried to give &g_name(C)&. But it is not working even i worked with style sheet spaces no luck.
    Currently out text and fields are printing like this
    s h r i y a n
    material number
    1111  -001  -000
    They should print like
    shriyan
    1111-001-000
    According to the ZEBRA suggestions we are using the font helve.
    Plase help us it is very urgent.
    Reward point will be given.
    Thanks

    Hi,
    Just use Condense g_name inside the program lines.
    Just to see how it behaves put a hard breakpoint.
    Break Username. and check the condense statement.
    condense <your field> no-gaps.
    Create program lines ahead of printing. give the field you want to condense in the input and output parameters of the program lines.
    Use condense inside the program lines.
    Thanks,
    Vamshi.

  • PI removing blank spaces at the end of the lines in a plain text file

    Hi -
    I have an interface that transfers a file via FTP. I defined both the sender and receiver to transfer either Text or Binary but the interface removes every blank space I have after the last character. The file is a fixed lenght file.
    Example:
    Original file:
    Hello world(space)(space)(space)(space)(space)(space)(space)(space)(eol)
    where (space) is the space character and (eol) is the end of line char.
    File after it is received.
    Hello world(eol)
    I already defined the parameter Row.fieldFixedLenghts with 10164 which is the lenght of the lines of the file.
    Any ideas why it may be happening?
    Thanks,
    Carlos.

    Hi -
    I tried both the parameters:
    xml.fieldContentFormatting
    structure.fieldContentFormatting
    The received file still has the problem. All the blank spaces are cleared out.
    The file is a plain text file not an XML file. May this be the issue?
    Thanks,
    Carlos.

  • How to remove blank spaces in the source code of my page?

    I created a page with the following code for testing:
    <dsp:page>
    <dsp:importbean bean="/atg/commerce/catalog/ProductLookup"/>
         <dsp:droplet name="ProductLookup">
              <dsp:param name="id" value="xprod2046" />
              <dsp:param name="elementName" value="product" />
              <dsp:oparam name="output">
                   <dsp:valueof param="product.DisplayName"/>
              </dsp:oparam>
         </dsp:droplet>
    </dsp:page>
    It only shows the product name in the browser. But if I look at the source code of my page he created 61 lines in response to this code, where a line is the product name and the other 60 have nothing.
    I know how to remove these lines that the ATG creates no content because my project is full of these empty lines.
    Anyone ever had this problem and could help me?
    Thanks

    Hi ,
    Yup this is a problem ,
    you can use following ways :
    1- use jsp comments eg :
    <dsp:page>
    <dsp:importbean bean="/atg/commerce/catalog/ProductLookup"/><%--
         ----%><dsp:droplet name="ProductLookup"><%--
              ----%><dsp:param name="id" value="xprod2046" /><%--
              ----%><dsp:param name="elementName" value="product" /><%--
              ----%><dsp:oparam name="output"><%--
                   ----%><dsp:valueof param="product.DisplayName"/><%--
              ----%></dsp:oparam><%--
         ----%></dsp:droplet><%--
    ----%></dsp:page>
    2- End tags at next line :
    e g :
    * <dsp:page
    * ><dsp:droplet name=”xyz”
    * ><dsp:oparam name=”output”
    * >Name: <dsp:valueof param=”abc”
    * /></dsp:oparam
    * ></dsp:droplet
    * ></dsp:page>
    3- Always use TAB instead of using SPACEBAR whie writing source code.
    4 - From JSP 2.1 onwards we have a page directive trimwhitespaces ( see if that works , i was not able to ), google for it for more info
    5 - You can modify your build scripts to remove white spaces from jsps while building EAR.(complex though, as you may not want to trim all white space.)
    6 - modifying the deployment descriptor.
    <init-param>
    <param-name>trimSpaces</param-name>
    <param-value>true</param-value>
    </init-param>

  • Remove blank spaces

    Dear Forum,
    Field bkpf-xblnr is 16 char. I need to remove the space before and after in case user does not enter at the first position.
    example, user enter the value bb1234567bbbbbbb during the entry screen in bkpf-xblnr where i will put 1234567 to another new variable in my program.
    May I know what can i do?
    Thanks

    Dear,
    we use a keyword in SAP ABAP called CONDENSE with an addition NO-GAPS to remove all blank spaces in a char type data object..
    so for you..
    condense bkpf-xblnr no-gaps
    will work
    more help at
    http://help.sap.com/abapdocu_70/en/ABAPCONDENSE.htm

  • How to remove blank space left from Images Word import

    Hi all,
    I'm working on a document which has been imported from Word, because of the conversion process a lot of images (that where pasted directly from Powerpoint in Word) didn't get converted properly and ended up in different part of the resulting Pages document.
    The issue is that the images were found somewhere else, but the space they were occupying in the document was left ..sometimes in that space I find a squared frame which I can easily remove but some other times I just find a blank space which is impossible to remove or select.
    This results in breaking the text for 10-13 lines. It is impossible to make the text filling this space. I can assure I cannot select this area with any tool (also by selecting 'make master objects selectable') and Im using the 'show invisibles' mode.
    Please any suggestion or advise?
    Im available to send a part of the document so anyone may check if wants to help me..
    Thanks a lot
    cheers

    Hi Jerry thanks for your possible help , please find below a part of the text Im working, the issue is at the end of page 16 where I highlighted in yellow the text, I cannot get rid of the space at page 16:
    Sorry if the document is in Italian and it is quite understanble for all you..
    http://www.wupload.com/file/2677565317/example_of_my_problem.pages
    I had to put it on wupload  because the file is 77MB, sorry!!!
    ..and I dunno why...the whole document is 264 pages and is 77,8 MB I thought that only 17 pages were less...
    I think thisis another BIG ISSUE thie FILE:.I think there is something hidden in it which is subtracting space...
    Actually whne I imported the original document from Word it became 100MB, then I got rid of all the images but still 77MB, in word it was just 12MB with images..
    Any more idea/suggestions about this size issue please?
    Thanks a lot to everyone
    cheers
    simo
    PS
    in some of the footnotes there are some citation I imported using Endnote x5, but this is not affecting too much the size, as before these citations when I imported the document were not

  • SAP Script -Removing Blank Space

    I am working on Customer Accounting Stmt.
    On First Page I have to display header window , main window , account and footer window
    Account window will be displayed on last page only.
    Account window is phisically present after main window.
    So blank space is getting created after main window.
    My question is how to remove this blank space?
    How to change the main window size dynamically?
    Or any other solution to this problem?

    Hi Vimal,
    Check this link
    https://www.sdn.sap.com/irj/scn/advancedsearch?cat=sdn_all&query=windowonlastpagescript&adv=false&sortby=cm_rnd_rankvalue
    Regards,
    Sravanthi

  • Remove blank spaces in excel output file

    it is a BOM report and the output is into a excel file.
    problem with the excel file output is : i gives blank spaces sometimes after the number and sometimes before the number...
    so, how can i remove those blank spaces for the values.
    ive nearly 15 columns having values in each column.
    so, how to get rid of blank spaces for these values in the columns in the xls file. is there any fn..module or a command that i can put in the code.

    Hi,
        above mentioned FM canbe used to eliminate extra zeros   in char field. eg. material number.
      MATNR will contain 18 char.-000000000045678925.
      toget only 45678925 F.M -conversion exit can be used.
      for ur reuirement use SHIFT statement only.
    regards,
    Prashanth Maturu.

  • Volatile User's not being removed

    We have a DLU policy that has volatile user implimented. I have been
    noticing that sometimes, the user doesn't get deleted and they have a
    folder in C:\documents and settings\ and their username still exists in
    the windows user management console, which causes problem with the user
    not being able to logon later on. It says "Account created by Novell
    Zenworks" in the description box besides the user name also.
    What causes this and is there anyway we can fix it so that volatile user
    works everytime?
    We are running Netware 6.5 servers and Zenworks 6.5.

    Tried uphclean ?, see TID 10096547
    Cheers Dave
    Dave Parkes [NSCS]
    Occasionally resident at http://support-forums.novell.com/

  • ASA-5585-X 8.4(6)5 Idle connections are not being removed according to timeout settings

    Hi,
    Just a quick question if anybody has run into a bug where the ASAs "timeout" settings are not being applied to idle connections.
    It seems that our ASA running the software level 8.4(6)5 is not tearing down connections. This mainly seems to be a problem in one Security Context where there are around 300k UDP connections (related to VOIP phones) that are not being torn down. Idle timers on the connections are going as far as 700 hours. Common to all the UDP connections is also the fact that only 19 Bytes of data has been transmitted on the connection built on the firewall. I am not sure what the purpose of these UDP Connections is as both the source and destination port is a random high port.
    I was not able find any Bug ID which description would match the situation I am seeing. I did not see anything in the release notes of 8.4(7) or its interrim release either that would list thing kind of bug.
    - Jouni

    Hi Jouni,
    This caveat seems to be the closest match as 8.4.6 is the affected ASA code.
    CSCuh13899
    Symptoms:-
    Some connection may not removed even after reaching idle timeout.
    https://tools.cisco.com/bugsearch/bug/CSCuh13899/?reffering_site=dumpcr
    You can upgrade to the next stable ASA code as suggested in the referred document.
    HTH
    Regards,
    Dinesh Moudgil
    P.S. Please rate helpful posts.

  • Podcasts not being Removed from my Ipod

    I have several old podcasts that I have deleted from my ITUNES that for some reason, are not being deleted from my ipod...? The podcasts are not showing up in my itunes, so not sure how to clear them out from my ipod?? Thanks in advance for your help.

    The most likely culprit is a playlist that's getting synced to your iPod.
    The big change in this area in 7.7 is that all podcasts, even ones in playlists, appear in the iPod's Podcasts section. Before 7.7 the only episodes that appeared in the Podcasts section were ones that you synced in the Podcasts tab.
    The interesting thing is that this change affects only what shows up in the iPod's Podcasts section, it doesn't affect the files that are actually transferred to the iPod.
    To check this, find one of the episodes with the play count >= 1 in your iTunes library. Right click (or control click) the episode, and in the contextual menu go to Show In Playlist. See what playlists appear in that list. (Show In Playlist is right under Add To Playlist. If I'm wrong, Show In Playlist won't be there at all.)

  • How can I remove blank space after month value while selecting to_char(sysdate)

    select to_char(sysdate,'dd-month-yyyy') from dual;
    when I give this query, I'm getting a blank space after the month value. How can I trim that?

    Or else try this one
    select to_char(sysdate,'dd-fmmonth-yyyy') from dual;
    Best of luck.

  • Remove Blank Space from Crystal report

    Hello,
    i am new in crystal report work.
    recently, i have created one crystal report which display item and remaining other detail like tax detail,item grand total, Some extra remark,etc.
    But my scenario is that if i take three or more item then it take two page that's ok. on that case i have no problem,
    but if i  take only single item it will take two pages.
    how can i remove unnecessary area.
    i attached below image for better understanding.
    i also provide crystal report if required.
    if there is image not visible then i also attach below.
    Plz... Help me ASAP.
    Thanks,

    It seems like your tax detail section is another sub report please compact the subreport if attached.
    Right click on the object and select Format Object > checkbox "Supress Embedded Field Blank Lines"
    Right Click on the section and click "Fit Section"

Maybe you are looking for

  • Home Sharing issues with iPhone 6 Plus

    Hi guys, I'm having problems with streaming music and video on my iPhone 6 plus from my Macbook Pro (mid 2010 model) using iTunes' Home Sharing . I am able to stream without any issues using my iPhone 4S and my Apple TV, however. I am using iTunes ve

  • Unable to connect to wireless Network Iphone 5

    I just bought the Iphone 5 two days ago. I am having a lot of issues connecting to every other network but my own network at home At home I am using a N900 Cisco Router. The security settings on it are WPA2, My verizon carrier update is version 13.3

  • [REQUEST] UEFI/GOP BIOS for R9 270X GAMING 2G

    R9 270X GAMING 2G S/N: 602 - V303 - 020B1402067244

  • ALV GRID update internal table

    Hi all, I have an internal table display in a ALV GRID. Only one column is editable. When I change the field value, ALV GRID display the change, but when I click on refresh return the old value. I've checked in DEBUG mode and when I click on refresh

  • IBooks Widget Audio Issue (Edge Animate)

    Hello, my name is Dominic Redding. I've been working on an HTML5 widget for an iBook (testing via iBooks Author). I've been having an issue that I just can't seem to find a fix for (I've checked through these forums, the Apple forums, and some other