Empty lines being transfered with RSCRM_BAPI

Hi guys,
I have to transfer the result f one query to a table. For this requirement Iu2019m using transaction RSCRM_BAPI transaction.
The problem is that my query is gigantic and it has a structure in rows with 150 selections visible and 250 that are not visible, but are used in calculations. Besides this big structure I have 7 InfoObjects in columns.
Iu2019m being able to feed my table, but I noticed that more than half of the lines have all values empty, i.e., zero.
I tried to place a condition in query, but it gets ignored.
Do you know a way to skip the lines that have all values zero?
Thanks in advance.
Points will be awarded of course.
João Arvanas,

Hi Joao,
This is actually a common problem.  Conditions and row suppression does not work for RSCRM_BAPI.  The underlying function module is WREX_GETDATA. 
I've tackled this two ways.
1)  Write a program using WREX_GETDATA and modify the empty entries in memory before writing to table.
2)  Use the Query in an APD to extract the data and remove the entries via a filter or ABAP process.
Tips on solution 2
Make sure you unhide all your keyfigures.
Turn on Parrallel Processing
Regards,
Dae Jin

Similar Messages

  • Billing query - one of the lines being transferred

    Having a little bit of a nightmare recently.
    Originally I had a btinternet account but the phoneline was under my dads name (we have 2 phonelines).  I was going to get bt infinity but was informed that both the phone line & internet had to be under the same account.
    When I tried to arrange that both were under my name the internet was put under my dads name.
    So I phoned up - now, from the 6th October both the phone line and the internet should be under my name (at least that is what I have been advised)
    However my dad has just been billed up to december for both the phone line and the internet.
    Is it fair to assume that this will be refunded if I am taking it over from October?
    Solved!
    Go to Solution.

    Hi I suggest you use the live billing chat facility at the top of the main billing forum page they are available 8am & 9 pm Monday To Friday they should be able to help you
    If you want to say thanks for a helpful answer,please click on the Ratings star on the left-hand side If the reply answers your question then please mark as ’Mark as Accepted Solution’

  • Dynamic file name in receiver - empty line problem with content conversion

    Hi,
    I do a variable substitution from a filename node in my xml structure. Because I don't want to have the the filename in my flatfile i supress the output with the conversion parameters:
    filename.fixedLengthTooShortHandling = Cut
    filename.fieldFixedLengths = 0
    It's working but: the adapter is puting an empty line at the end of the file. If I even put the filename node at the top of the xml struture it generates the empty line at the top of the flatfile.
    Anyone has an idea? is there an other way to set the filename or how can I supress this empty line( I have to) ?
    Regrads
    J.

    Jorg,
    Actually speaking we cannot get rid of this with XI. You have to write a OS script to remove this.
    Else
    you add one more parameter as .endSeparator as backspace ie., 0x08. It will definitely remove the line but I think it is putting a square box at the end of previous line. Please check by giving this and let us know the updates.
    Regards,
    ---Satish

  • When I open up an e-mail attachment a box pops up PRINT TO FILE below that line OUTPUT FILE NAME with an empty line for the file name vs. simply going to my default printer?

    when I open up an e-mail attachment a box pops up PRINT TO FILE below that line OUTPUT FILE NAME with an empty line for the file name vs. simply going to my default printer?

    Make sure that '''''Print to File''''' isn't selected in the native print dialog box ''(see screenshot below)'' middle-right, and make sure your Printer is selected at the top of that dialog box.
    ''I'm a little confused why an email attachment would need to go directly to the printer, but that's what you asked about.''

  • Confirmation with status "Currently Being Transferred"

    Hi ,
    we  have implemented classic scenarion and for one  confirmation , the backend service entry sheet isn't created .
    How can i push this to create service entry sheet in backend. i have tried "bbp_pd_conf_transfer " but it did not help.
    from bbp_pd  i can see the the header status as "HEADER     I1017          Currently Being Transferred".
    Thanks and Regards
    Iftekhar Alam

    Hello Iftekhar Alam
    Check whether the Idoc is created or not , to check this goto WE02 .
    If the Idoc is created in SRM then you can see the same Idoc in the backend(R/3).
    If the Idoc is not transfered from SRM then you can know the error in the status section of the Idoc.
    If the Idoc is transfered from SRM and the Idoc is not posted in R/3 then the problem might be in R/3 and you can see the error  in status section of the Idoc.
    Please let us know what is the status and the errors information and will try to solve your issue.
    Regards,
    mani

  • When I plug in my iPhone to sync, it starts but does not complete the process and several pieces of data are not being transferred to my iPhone from my MacBook Air.

    Problem:
    When I plug in my iPhone to sync, it starts but does not complete the process and several pieces of data are not being transferred to my iPhone from my MacBook Air.
    Any help that you can provide in helping my iPhone accurately sync with iPhoto and iTunes will be greatly appreciated.
    Symptoms:
    1)   Sync:  It’s not completing the sync.  Below, I’ve provided all of my settings from the iTunes Summary tab so that you might tell me if I’ve selected any incorrect options.  I prefer to sync the “old school” way – by connecting to the computer – as opposed to syncing over the cloud. Perhaps this is what’s causing the problem? Here is a list of the steps displayed in the iTunes window as the sync progresses:
    waiting for sync to start (step 1 of 7)
    backing up (step 2 of 7)
    preparing to sync (step 3 of 7)
    determining apps to sync (step 4 of 7)
    preparing apps to sync (step 5 of 7)
    importing photos (step 6 of 7)
    waiting for changes to be applied (step 7 of 7)
    syncing apps / copying 1 of 4 (App name) (step 7 of 7)
    canceling sync
    apple icon
    2)   Photos: I've selected only certain of my iPhoto albums to sync to my iPhone.  All of the albums are correct/complete in iPhoto.  All of the albums are listed on my iPhone, both before and after the sync, but the albums are empty (no actual photos) before and after the sync. Perhaps this is tied to the fact that the sync isn’t completing, but because “importing photos” is one of the steps that the incomplete sync displays, I don’t know.
    3)   Apps: When I launch iTunes and click on the Apps folder under the Library listing, then click on the Updates tab, iTunes searches for any Apps needing to be updated and provides a list.  If I click on Update All, the Apps are successfully updated in iTunes.  But, when I plug in my iPhone so that the updates will transfer to the apps on my iPhone, the updates don’t transfer to the apps on my iPhone and those apps still reflect that they need updating on the iPhone.
    Other Potential Pertinent Info:
    The flash memory hard drive on my MacBook Air recently died (perhaps a month or two ago).  Apple had emailed me about a known issue and literally the next day, my MacBook Air crashed.  I installed a new flash memory drive and re-installed everything from a backup off of an external hard drive.  Everything seems to be working fine; it recreated accurately all of my software and data, including iPhoto and iTunes, the pictures and songs (respectively) for which are stored on that hard drive, as opposed to being on the flash memory in the MacBook Air itself.  However, I don’t recall if the start of the sync problem described herein started happening at the same time that I replaced the flash memory drive.  All I know is that the computer is working perfectly in all respects and that even as the sync is failing, it at least says that it’s doing the right things and looking in the right places (e.g., the list of albums on my iPhone matches the list of albums in iTunes, etc.).
    Settings/Status:
    MacBook Air
    OSX v. 10.9
    iPhoto ’11 v. 9.5 (902.7)
    iPhone iOS 7.0.4
    iTunes v. 11.1.3 (8)
    Summary Tab
    Backups (This Computer)
    Options
    Automatically sync when this iPhone is connected
    Sync only checked songs and videos
    Photos Tab
    Sync Photos from iPhoto (429 Photos)
    Selected albums, Events, and Faces, and automatically include (no Events)
    Albums – 9 are selected

    You need to download iTunes on your computer. iOS 6 requires the latest version of iTunes which is 10.7.

  • Empty line handling in sender fileadapter FCC

    Hi Al,
      How do we ignore empty lines in the fixed length file by using FCC?
    In my input file,i would be having emply lines at last and as per my curect FCC configurations,it is reading that emplty line also and due to this,message got failed in message mapping.How do we ignore this in sender file adapter?
    I do not want to change any mapping condition.

    Hi Rajesh,
    Just a short in the dark . There is a parameter by the name of NameA.keepIncompleteFields
    This parameter is only evaluated if you enter a value for NameA.fieldFixedLengths.
    ○       If you enter NO and the last field found in the structure is shorter than specified in NameA.fieldFixedLengths, processing is terminated with a corresponding error message.This is the default.
    ○       If you enter YES, the last field found in the inbound structure is transferred to the outbound structure, even if it is shorter than specified in NameA.fieldFixedLengths.
    Caution
    You use this parameter to control the behavior of the conversion routine for the last field in a structure.
    Use the NameA.missingLastFields parameter to define the behavior at runtime when the structure contains less fields or no fields (as in your case a blank line) in total that specified in NameA.fieldFixedLengths.
    Regards
    joel

  • Clean install yosemite why are my var/db var/ usr/bin usr/lib files being transfered

    im doing a clean install and im wondering why /private/var/tmp, private/var/run, private/var/db, /Library preferences, are all being transfered to the new install?  plus they are all mounted like they are disks when you run diskutil list
    i tried looking it up but the only thing that comes up is server info...and this is home desktop computer

    EtreCheck version: 2.1.8 (121)
    Report generated February 10, 2015 at 3:26:50 AM CST
    Download EtreCheck from http://etresoft.com/etrecheck
    Click the [Click for support] links for help with non-Apple products.
    Click the [Click for details] links for more information about that line.
    Hardware Information: ℹ️
        iMac (24-inch, Early 2009) (Verified)
        iMac - model: iMac9,1
        1 2.66 GHz Intel Core 2 Duo CPU: 2-core
        8 GB RAM Upgradeable
            BANK 0/DIMM0
                4 GB DDR3 1067 MHz ok
            BANK 1/DIMM0
                4 GB DDR3 1067 MHz ok
        Bluetooth: Old - Handoff/Airdrop2 not supported
        Wireless:  en1: 802.11 a/b/g/n
    Video Information: ℹ️
        NVIDIA GeForce 9400 - VRAM: 256 MB
    System Software: ℹ️
        OS X 10.10.2 (14C109) - Time since boot: 1:38:8
    Disk Information: ℹ️
        Hitachi HDT721064SLA360 disk0 : (640.14 GB)
            EFI (disk0s1) <not mounted> : 210 MB
            Mac Yosemite (disk0s2) / : 639.28 GB (628.54 GB free)
            Recovery HD (disk0s3) <not mounted>  [Recovery]: 650 MB
        HL-DT-ST DVDRW  GA11N 
    USB Information: ℹ️
        Apple, Inc. Keyboard Hub
            Logitech USB Receiver
            Apple, Inc Apple Keyboard
        Apple Inc. Built-in iSight
        Apple Inc. BRCM2046 Hub
            Apple Inc. Bluetooth USB Host Controller
        Apple Computer, Inc. IR Receiver
    Gatekeeper: ℹ️
        Mac App Store and identified developers
    Problem System Launch Daemons: ℹ️
        [failed]    com.apple.ucupdate.plist
        [failed]    com.apple.watchdogd.plist [Click for details]
    User Login Items: ℹ️
        None
    Internet Plug-ins: ℹ️
        Default Browser: Version: 600 - SDK 10.10
        QuickTime Plugin: Version: 7.7.3
    3rd Party Preference Panes: ℹ️
        None
    Time Machine: ℹ️
        Time Machine not configured!
    Top Processes by CPU: ℹ️
            10%    taskgated
             7%    mdworker
             4%    launchd
             1%    WindowServer
             1%    ArpGuard
    Top Processes by Memory: ℹ️
        455 MB    softwareupdated
        163 MB    AntiVirus Sentinel Pro
        151 MB    WindowServer
        129 MB    com.apple.WebKit.WebContent
        129 MB    installd
    Virtual Memory Information: ℹ️
        3.02 GB    Free RAM
        2.92 GB    Active RAM
        1.62 GB    Inactive RAM
        764 MB    Wired RAM
        2.20 GB    Page-ins
        0 B    Page-outs
    Diagnostics Information: ℹ️
        Feb 10, 2015, 01:51:52 AM    /Library/Logs/DiagnosticReports/mbpluginhost_2015-02-10-015152_[redacted].crash
        Feb 10, 2015, 01:48:03 AM    Self test - passed
        Feb 9, 2015, 11:11:39 PM    /Library/Logs/DiagnosticReports/Setup Assistant_2015-02-09-231139_[redacted].cpu_resource.diag [Click for details]

  • How to delete multiple empty lines in item assignment block in WebUI

    Hi Experts,
       When i am reading 'BTAdminI' context node data, I am getting empty lines along with data. I can able to delete only one empty lines when its executing second empty line its failing in loop. Can you suggest me how can i delete multiple empty lines. I am using below code.
    DATA: lr_entity1           TYPE REF TO cl_crm_bol_entity,
            lr_current          TYPE REF TO if_bol_bo_property_access,
            lr_iterator         TYPE REF TO if_bol_bo_col_iterator,
            lv_strukname        TYPE strukname,
            dref                TYPE REF TO data,
            lv_thtmlb_tableview TYPE REF TO cl_thtmlb_table_view,
            lr_cn               TYPE REF TO cl_bsp_wd_context_node_tv,
            cr_mixed_node_tv    TYPE REF TO cl_bsp_wd_mixed_node.
        FIELD-SYMBOLS: <fs_line_structure> TYPE data.
        lr_iterator = me->typed_context->btadmini->collection_wrapper->get_iterator( ).
        TRY.
            lr_current = lr_iterator->get_first( ).
          CATCH cx_root.
        ENDTRY.
        WHILE lr_current IS BOUND.
          lr_entity1 ?= lr_current.
          CHECK lr_entity1 IS BOUND.
          lr_entity1->get_attr_struct_name( RECEIVING rv_result = lv_strukname ).
          IF lv_strukname IS NOT INITIAL.
            CREATE DATA dref TYPE (lv_strukname).
            ASSIGN dref->* TO <fs_line_structure>.
            IF <fs_line_structure> IS ASSIGNED.
              lr_current->get_properties( IMPORTING es_attributes = <fs_line_structure> ).
              IF <fs_line_structure> IS INITIAL.
                me->typed_context->btadmini->collection_wrapper->remove( lr_current ).
                EXIT.
              ENDIF.
            ENDIF.
          ENDIF.
          TRY.
              lr_current = lr_iterator->get_next( ).
            CATCH cx_root.
          ENDTRY.
        ENDWHILE.

    Hi Nitish,
    Try below code instead of your code,
    Data:
    lt_empty_lines  TYPE TABLE OF REF TO cl_crm_bol_entity,
    lr_entity TYPE REF TO cl_crm_bol_entity.
    After getting collection from BTadmini use the below code.
    lr_iterator ?= lr_coll->get_iterator( ).
        lr_entity ?= lr_iterator->get_first( ).
        WHILE lr_entity IS BOUND.
          IF lr_entity->is_send_active( ) EQ abap_false.
            APPEND lr_entity TO lt_empty_lines.
          ENDIF.
          lr_entity ?= lr_iterator->get_next( ).
        ENDWHILE.
        LOOP AT lt_empty_lines INTO lr_entity.
          typed_context->btadmini->collection_wrapper->remove( lr_entity ).
          lr_entity->delete( ).
        ENDLOOP.
    Best Regards,
    Dharmakasi.

  • Purchases made on my ipod touch are no longer being transferred to the Mac...but yet they are showing up in "grey" in the purchased list on the Mac.  Any clues as to what is going on?

    What used to work just fine, is no longer working...
    Within the last 2 days, song purchases that were made on my ipod Touch are no longer being transferred when the ipod synchs up.  The strange thing is that the songs appear in iTunes --> Store -- Purchased list, but are greyed out.  They play just fine on the ipod...but aren't making it back to the Mac.
    I have tried right clicking on the ipod when it appears in iTunes and selecting "Transfer purchases", but that doesn't seem to work either.
    Any clues as to what is going on?
    Thanks,
    Tim

    One other very important piece of information I forgot to include...the purchases were made prior the iOS update.  So the sequence of events went like this:
    1) ipod Touch with previous iOS (4.0 I think)
    2) purchases made
    3) ipod connected and iTunes prompts for iOS update
    4) iOS upgraded to 5.0
    5) Now the purchases seem to be stranded on the ipod Touch
    Thanks!

  • How to make plant default on the line item along with the item category

    Hi All,
    I want to default Plant on the line item along with the item category.In order to meet the following scnario.
    1. I have two plants,first plant is maintained for the valuated item and the second plant is maintained for the non valuated item (Free Goods).
    Whenever user is entering an item in the sales order for which corresponding free goods item is maintained in the master record.System is proposing two lines items in the sales order.
    First line item is the main item which appears along with the Plant 1 which contains valuated items
    Second line item is for the Free of charge item which is being proposed from Plant 2, which contains the non valuated items.
    I want that the system should always propose Plant 1 with main item and Plant 2 with the Free of Charge item by default. (Along with the item category TAN and TANN)
    Rahul

    Delivering Plant is determined in the following order
    1. Customer material info record.
    2. Customer master
    3. Material master.
    Use one of them an default your plant.
    I think in your case you can use the materila master which will give an item level plant different. The other two will default the plant at the header level.
    regards
    jude

  • How can you avoid the empty line?

    hi all,
    i looked around quite a bit and didn't found an answer to this very common problem.
    i used this blog:
    Solution to the problem encountered using Variable Substitution with XI-SP12
    for using a dynamic filename.
    the problem i get is the file adapter create a empty line instead of the FILENODE which i need to be suppressed and not written to the file.
    is it possible?
    regards,
    roi grosfeld

    Hi,
    Well thats good question. you can't test it in test tab of mapping.
    It will give you exception like something below
    RuntimeException in Message-Mapping transformation: Runtime exception
    Here you can create the file name in Mapping either by using various APIs as well as Sender side filed values and can pass to the UDF that you will create for dynamic filename.
    File with same name will be created. This is specific to DynamicConfiguration class which deals with the values at runtime.
    Thanks
    Swarup

  • Empty line in long text in order

    Hi,
    I'm using BAPI_SALESORDER_CREATEFROMDAT2 to create orders. Long texts can be added to the BAPI with the parameter ORDER_TEXT.
    I know want to add different information. Therefore I need to insert an empty line between the different lines. How can I do that? If I add a line with just a space in the data element TD_LINE (text_line), it is not working. The BAPI might remove that while order creation.
    Any advices?
    Thank you

    hi,
    Do not append this to the internal table. Instead concatenate twice from where you want the blank link.
    Example
    The table contains the three lines as shown below
    This report is required as to submit to the Govt. Department as a Statutory Report.
    Manually preparing this form is very difficult. After this development user can get form with minimal efforts as well accuracy regarding data will be more.
    But we required to display/update as
    This report is required as to submit to the Govt. Department as a Statutory Report.
    Manually preparing this form is very difficult. After this development user can get form with minimal efforts as well accuracy regarding data will be more.
    Just you need to cancatenate the cr_lf twice at the end of 1st line
    This report is required as to submit to the Govt. Department as a Statutory Report.0D0A0D0A
    while displaying the long text in the Order it will show the effect.

  • I have an empty line on my toolbars that I'd like to get rid of. Right-clicking does not pull up any options, so how would I do this?

    I have a four-line toolbar. The fourth line is completely empty, so I'd like to remove it. I tried right-clicking to pull up a menu, but nothing appears. How can I remove this empty line? The empty line appeared just now after I disabled a Bing toolbar. I probably will eventually uninstall the Bing toolbar, but I hope the empty line is not there until I do that. Thanks much.

    Thanks for the quick response. I noticed that my Yahoo toolbar was not being displayed. It just so happens that at one point, I exited Firefox and then went back in later. When I went back in, the 'empty' line was populated by the Yahoo toolbar.

  • How to eliminate empty lines in Flat file.

    Hi All,
    How to delete the empty lines in flat file,i am explaining below with data
    Here we have 3 fields with field lengths 30,10,34  i am checking the condition in message mapping if the middle field containing 9999999999 i am deleting the total record but in output file i am getting empty line how to eleminate empy lines in file please suggest me is it possible through Content Convertion.
    Thanks,
    Sudheer.
    0500189175247200000500003141700000142888073108000009640566210000
    0500189175247200000500012449050000142889072908000009623017230000
    0500189175247200000500000496210000142890073008000009631840760000
    0500189175247200000500000162130000142891072808000009613028730000
    0500189175247200000500001356750000142892072908000009621443430000
    0500189175247200000500012982910000142893072908000009622158440000
    0500189175247200000500001380990000142894073008000009631876720000
    0500189175247200000500000074560000142895072808000009613904430000
    0500189175247200000500003351650000142896072908000009623005030000
    0500189175247200000500000061170000142898072808000009613026140000
    0500189175247200000500000060590000142900073008000009630862400000
    0500189175247200000500000155320000142901072908000009623234640000
    0500189175247200000500043425220000142903072808000009612752160000
    0500189175247200000500000517450000142904073108000009640911680000
    0500189175247200000500006901140000142905073008000009630927540000
    0500189175247200000500001565590000142906073008000009630938540000
    0500189175247200000500000210440000142907073108000009640765850000
    0500189175247200000500000187500000142908072908000009622980650000
    0500189175247200000500000069240000142909072908000009622980660000

    Hi,
    I think we could handle this with may be usage of Advanced UDF in Graphical mapping only.
    Here as per the condition you are deleting the particular record but unknowingly blank value i.e. " " is getting passed so on target side blank node is created for this record.
    You need to just avoid this blank Node.
    If you can share the logic you have applied for Middle field as well the source and target structure I will be able to try the UDF code..based on it
    Thanks
    swarup

Maybe you are looking for

  • Missing information with Address Book

    I've got a Centro, run Mac OS X 10.4.11, and managed to get iSync to play nice with my new Centro (palm os 5.4.9) and transfer over the years of information I have stocked up in iCal and Address Book.app. Everything seemed fine on the surface, but wh

  • Packaging material given to vendor

    Hi .. We have a business case where our client is supplying packaging material (pallets) to suppliers and they pack their material in those packaging and supply to our client. Expenses incurred for such packaging are expensed off but my client wants

  • Creative Suite compatibility

    What is the earliest version of Adobe Creative Suite that is compatible with icloud and Lion OSX 10.7.5? I have CS2 and its usless  now. What CS version can I  to upgrade to without having to jump to CS5 or 6 $$$$$

  • Insert multiple values

    CREATE or REPLACE TRIGGER dept_hist_trigger BEFORE delete or update ON dept FOR EACH ROW BEGIN INSERT INTO dept_hist values (:old.deptno,:old.dname,:old.loca); END; i have created a trigger like above.. but  my requirement is i want to insert 180 col

  • Jpegs problem in mail

    Hi I have a 2012 retina macbook pro and when I attach a jpeg to an email it seems to go fine but when opened on the receiving end it is just a bunch of code, this is a recent problem, I sent a bunch to myself to test, and they all fail to open.  They