How can we remove an unwanted # in sales order texts created using a bapiFM

Hi,
i've written the following code which splits the record fetched from apllication server and moves it into a workarea.
CONSTANTS:c_sep VALUE cl_abap_char_utilities=>horizontal_tab, "for separation
SPLIT wa_tab1-rec1 AT c_sep INTO wa_inf_itm-inf_vbeln
                                       wa_inf_itm-itm_number
                                       wa_inf_itm-material
                                       wa_inf_itm-req_qty
                                       wa_inf_itm-uom
                                       wa_inf_itm-amount_pr00
                                       wa_inf_itm-amount_pi02
                                       wa_inf_itm-amount_mwst
                                       wa_inf_itm-amount_vprs
                                       wa_inf_itm-currency
                                       wa_inf_itm-text.
Here c_sep will have a value '#' instead of 'space' in Flatfile from application server.
The field 'wa_inf_itm-text' though it doesnot contain any value in debugging, when the sales order is created using FM 'BAPI_SALESORDER_CREATE_FROM_DAT2' the item texts are having a # character at the end of the text if it has any text(when checked in va03--sales order item text) or if it doesnot contain any text ,then also # character is seen in texts.
Thanks & Regards,
Prasad Reddy.

hi
use
Replace all occurrence of '#' with space from .......
I think it will solve ur problem.
Rewards with point if helpful.
Regards
Santosh.

Similar Messages

  • How can i remove an unwanted store balance from my account

    how can i remove an unwanted store balance from my account

    If you can't spend it then you can try contacting iTunes support and ask if they can remove the balance from ir for you : http://www.apple.com/support/itunes/contact/- click on Contact iTunes Store Support on the right-hand side of the page.

  • How can i remove the phone number from the text messages that i receive in the notification center

    how can i remove the phone number from the text messages that i receive in the notification center?

    You choose whether to see text messages in Notification Center or not.  If you elect to see them, they will display the phone number (unless they are from a contact in your contacts list).
    You can choose not to see them at Settings > Notification Center > Messages.

  • TS3212 how can you remove the pop-up blocker when dowload itunes using google chrome

    how can you remove the pop-up blocker when dowload itunes using google chrome ??

    Set that domain as '''Allowed'''. <br />
    https://support.mozilla.com/en-US/kb/Pop-up%20blocker#w_pop-up-blocker-settings

  • How can I remove one unwanted image directory?

    Hi experts,
    due to privilige of anonymous to access XDB, I tried to use the script below to re-create a image:
    -- connect to oracle and log sys as sysdba
    @apex_epg_config c:\my_image_dir
    And then I found two image diretories on my localhost:
    http://localhost/
    Index of /
    Name Last modified Size
    OLAP_XDS/ Thu, 01 Nov 2007 21:34:47 GMT -
    home/ Mon, 13 Jul 2009 02:19:32 GMT -
    images/ Thu, 13 Aug 2009 03:33:07 GMT -
    images_200908131131/ Thu, 13 Aug 2009 03:31:54 GMT -
    olap_data_security/ Thu, 01 Nov 2007 21:34:48 GMT -
    public/ Thu, 01 Nov 2007 21:21:50 GMT -
    sys/ Mon, 13 Jul 2009 02:19:31 GMT -
    From the created on (time) in EM--> security --> resources --> , I can find the images_200908131131/ is the first image for APEX.
    And now I configured anonymous OK. APEX works.
    I think it still uses the images_200908131131/.
    And I think I have created a unwanted images/.
    How can I remove it?
    And is there a way to prevent link to http://localhost/. Generally, we access http://localhost/apex/f?p:APP_ID:..
    If I don't want user to link http://localhost/ to find the file catalog listed above, What can I do?
    Thanks advance.
    PPMonkey.
    Edited by: PPMonkey on Aug 13, 2009 7:29 PM
    Edited by: PPMonkey on Aug 13, 2009 7:30 PM

    Hi,
    I don't use thumbnails but I went ahead and turned them on.
    Perhaps due to the position of the slideshow only a few thumbnails appeared.
    I wasn't able to delete the image I wanted removed.
    I tried to remove the image from my assets, and that deleted the whole slide show.
    ( didn't save the changes )
    thanks,
    christos

  • How can i remove a line from an ordinary text file?

    It is easy to remove a line from a file by rewriting the file. how can i remove a line without rewriting ? Also, do not use whitespaces to overwrite the line. I expect a perfect line deletion code .....

    gimbal2 wrote:
    hsc71 wrote:
    It's the way you communicate. Try to be carefull with the words you use in your post. It's easy to insult people just by choosing the wrong words. Bold text and capitals is equal to shouting.
    shock. You said "wrong words". I am seriously offended by that!
    Seriously, would you care that I am offended? I really hope not... Say what you want, people will find reasons to take offense one way or the other.Hehe, maybe you're right, but the OP still has no answer.............and in the end that's what he/she is looking for.

  • How can I remove my old e-mail I no longer use  also it does not have my birth date correct how can I change it?

    How can I remove an old e-mail that I am no longer using?
    How can I correct my birthdate?

    If you have an email account that you want to delete, go to Settings>Mail, contacts, calendars>Email Account>Delete account.
    If you have on old Apple ID that keeps popping up when you update apps, that old ID will always be tied to those apps and you must continue to use that ID and password when you update those apps.
    If you want to completely sign out of that old account, and nothing on your iPad is still tied to it, go to Settings>iTunes & App Stores. Tap on the old ID and sign out. Then sign in with the new one
    For the incorrect birthday go to here.
    Apple - Support - Apple ID - Manage Account

  • How can I remove an old version of Lightroom ? I use Mountain Lion on Mac.

    Hello,
    I upgrade from Lightroom 3 to Lightroom 5. There was no problem. My pictures have been imported in Lightroom 5. But Lightroom 3 was not removed from my computer. How can I remove this old version in a good way ?
    I use Mountain Lion on Mac.
    Thanks

    I'm not a Mac user. But you remove Lightroom just like you would remove any other application from your system. If you purchased Lightroom 5 as an upgrade it probably depended on knowing the serial number of your Lightroom 3. I suggest that you store that Lightroom 3 serial number somewhere you'll remember because it will be needed if/when you decide to upgrade to a newer version of Lightroom.
    And, just to clarify, there is no interdependence between your Lightroom 5 and Lightroom 3. They are separate, independent applications.

  • TEXTS in Sales Order - Text types used or not ?

    Hi experts,
    We have 8 text types in sales orders line items. Some of them are used to enter text and some are not. Is there a table from where we can find out if for all orders any particular text type is used or not ?
    In STXH and STXL, how can we find out if a particular order # has an entry of texts in it or not.
    How can we get a text i.d. from the sales order. OR find a link between sales Order and tables STXH/STXL........ how can we search these tables ?
    I really need some help on this mysterious Text storage strategy of SAP.
    Thanks a LOT
    Ron

    Yes I am aware of the fact that text is accessed thru read_text FM .....
    My question is what parameters/ field values can we plug in STXH/STXL to get info that a particular "text" entry exists in this table. I have a sales order which has few texts, I want to know if they have an entry in STXH and STXL about their text i.d.s....
    Let me put it this way - What ever entry exists in STXH for this sales Order I want to see that. What parameters of this sales order do I pass in this Table STXH to see that entry ??
    I hope this is clear now

  • Creating Sales order texts while using BDC session method is not working

    Hi All,
    I have an existing program which creates sales order using BDC session method.( Actual program uses BAPI to create sales order and in case if any error occurs during creation of sales order BDC session is generated so that user can process it later and i am facing issues in this part of code where it uses BDC)
    I wanted to modify this BDC sesion  to update the sales order text also. I tried recording VA01 for creationg sales order text unfortunatly it is not capturing the data i am entering in the text fields.
    Please suggest if there is any way to create sales order using BDC.
    Regards
    Sheeba

    Hi Madhu,
    '=TP_CREATE' is the OK code i am getting for creating TEXTS. But the text entered are not captured in BDC.
    Part of BDC program generated for cretaing sales order texts.
    perform bdc_dynpro      using 'SAPMV45A' '4003'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '=%_GC 128 22'.
    perform bdc_field       using 'LV70T-SPRAS'
                                  'EN'.
    perform bdc_dynpro      using 'SAPMV45A' '4003'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '=TP_CREATE'.
    perform bdc_field       using 'LV70T-SPRAS'
                                  'EN'.
    perform bdc_dynpro      using 'SAPMV45A' '4003'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '=%_GC 128 22'.
    perform bdc_field       using 'LV70T-SPRAS'
                                  'EN'.
    perform bdc_dynpro      using 'SAPMV45A' '4003'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '=TP_CREATE'.
    perform bdc_field       using 'LV70T-SPRAS'
                                  'EN'.
    perform bdc_dynpro      using 'SAPMV45A' '4003'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '/EBACK'.
    perform bdc_field       using 'LV70T-SPRAS'
                                  'EN'.
    perform bdc_dynpro      using 'SAPMV45A' '4001'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '=SICH'.
    Regards,
    Sheeba

  • How can i remove the measurement info bubble from displaying while using patch tool?

    When removing unwanted parts of an image or repairing older images, the tool most used by me is the patch tool. When I select a patch and move a bubble with measurements of how far I've moved this patch pops up and ALWAYS seems to be in the way. Some areas to repair are extremely magified and can make or break an image looking natural or not. The darn measurement bubble seems to place itself in the worst possible location for exact placement of small elements. How can I turn this info bubble from popping up as I'm not why it's even there?

    You can turn it off under Photoshop (Edit)>Preferences>Interface by setting Show Transformation Values to Never

  • How can i limit the quantity in sales order

    Dear sd gurus
    how can i restrict no of items in sales order? ex:sales
    order has been created for 10 items and all the 10 items
    quantity should be 72 not more than that and system should
    not allow to enter the quantity.where we can configure for
    this.
    thank s
    venu
    Please search the forums before posting - see [rules of engagement|https://wiki.sdn.sap.com/wiki/display/HOME/RulesofEngagement]. You have been warned before about this. 
    Edited by: Ian Kehoe on Mar 5, 2012 5:31 PM

    Hello,
    I believe your requirement is possible in SAP Standard.
    You will have to go for ABAP Development & apply a Exit in Sales Order.
    You can use Program MV45AFZZ & apply ehtier userexit_field_modification or userexit_move_field_to_vbak or userexit_read_document or userexit_save_document
    Hope this helps,
    Thanks,
    Jignesh Mehta

  • How can a new button Event open sales order

    CRM WEB UI issue.
    On assignment Block there is a New button , on New button Event i have to open sales order .
    Please help me.
    Thanks in advance .
    Kumar6

    Hi Kumar,
    Whenever you got any requirement then find out on Web UI how they have done it. As now you want to show sales order then first find out Component name for Sales order.
    So Go to transaction u2018CRM_UIu2019. Chose u2018SalesProu2019 as a Role.  In Navigation Bar click on u2018Sales Cycleu2019  and in Second level link there is u2018Sales Orderu2019. Click on it. Check  it is a screen you want on your button click.
    If yes then you need to find its Technical Data (details). So click inside Work Area and press u2018F2u2019 key.
    Then you will get UI component name, View name , Context name, Role key, etc. So you have to pick that UI Component name and give it in Transaction Code  u2018CMP_WD_BSPWBu2019.
    Now Go To  u2018Run Time Repositoryu2019 , In Component Interface They have created u2018Component Interfaceu2019 that you need to call in your Button click event. If you donu2019t know use of u2018Component Interfaceu2019 then first read it else its good for you.
    Well next time when you will write any Question, In Subject write it in One line so that all can see in list and answer you quickly.
    Thanks,
    Durgesh Pagar.

  • How can I get more detail information ( Sales Order ) of Reduction of PIR??

    Hi Experts,
    In our company,our customer want to see more information about the reduction process for the planned independent requirements.
    That means for example:
    First we create 150 pc planned independent requirement for material "ABC".Then we create a sales order for material "ABC" for 20 pc.After that we do the delivery for this sales order,post the goods issue. So after the outbound delivery, the  planned independent requirement for material "ABC" will reduced to 130 pc.
    Although in TCODE:OMP4,we have active history is updated when planned independent requirements are reduced by a goods movement. So in MD73 we can see the withdrawal quantity 20 pc for this planned independent requirements.And in md63 we also can see the withdrawal quantity (20 pc) for this schedule lines.
    But we can not see the detail information about the withdrawal quantity!!
    We can not directly know this withdrawal quantity is caused by which sales order???The sales order number???
    So I want to ask how can I directly see the detail information about the reduction of planned independent requirements??
    That means how can I directly know  this withdrawal quantity is caused by which sales order???The sales order number???
    Thanks for any reply!!!

    Dear Liu,
    check the material document posted in T Code MB51 for 601 movement.
    Here you can get the details regarding the customer,and check for the same material,customer combination in T Code VA05.
    Check and revert back.
    Regards
    Mangalraj.S

  • How to update the condition price in sales order while creating the invoice

    Hi,
    How to update the condition price in the sales order to carry out the new price while creating the invoice?
    While creating the invoice it should update the condition price in sales order.
    Thanks,
    Balaram

    No, pricing is not there in delivery.
    I found an exit for VF01transaction where we can update the price in order.
    Can you please tell me how to update the price if I have the order, material numbers and conditions number?
    Thanks,
    Balaram

Maybe you are looking for