How to not choose data which bisd-zuonr is blank? Please help!

Hi,
I have problem in not choosing the bukrs (compay code) when the bisd-zuonr ( sort key )is blank. Please help!!
Sorce key----
LOOP AT t.
    AT NEW bukrs.
      CLEAR anz_dl.
      CLEAR htext-anzahl.
      CLEAR htext-datei.
      htext-text1 = ' records writen in file '.
      CLEAR p_pfad.
      CONCATENATE
          i_pfad
          'CU_CC'
          t-bukrs
          sy-datum+6(2)
          sy-datum+4(2)
          sy-datum(4)
          sy-uzeit
          '.txt'
     INTO p_pfad.
      CLEAR outtab.
      REFRESH outtab.
      REFRESH: gt_outalv.                                  "INS MG020207
    ENDAT.
   IF t-shkzg = 'H'.
     h_betrg  = t-wrbtr * -1.
   ELSE.
    h_betrg  = t-wrbtr.
    h_dmbtr  = t-dmbtr.
   ENDIF.
    s-filler1 = s-filler2 = s-filler3 = s-filler4 = s-filler5 = ';'.
    s-filler6 = s-filler7 = s-filler8 = ';'.
    s-filler9 = s-filler10 = s-filler11 = s-filler12 = s-filler13 = ';'.
    s-filler14 = ';'.
    s-belnr = t-belnr.
    IF t-xblnr NE space.                                    "WD041005a
      s-xblnr      = t-xblnr.                               "WD041005a
    ELSE.                                                   "WD041005a
      s-xblnr      = t-belnr.                               "WD041005a
    ENDIF.                                                  "WD041005a
    WHILE s-xblnr(1) EQ '0'.                            "INS MG130606
      SHIFT s-xblnr LEFT.                               "INS MG130606
    ENDWHILE.                                "INS MG130606
*>>>> " SKIP BLANK ZUONR
    IF bsid-zuonr EQ space.
    CONTINUE.
    ENDIF.
*<<<< 
endloop.
source code----
How to skip the bukrs (company code) when the bsid-zuonr = space?

Hi,
What is bsid here.
Pls. paste the required code here.

Similar Messages

  • How can i choose more than one transition using idvd. please help..

    Hi my name is Luis and I took pictures and wanted to make a slideshow but when i want to choose more than one transition it wont let me. It will only let me choose just one. I would like it so the photo transition was random not just one. Please Help me if someone knows.. Thank You Very Much

    Syncing and backing up in iTunes can be accomplished with multiple devices. They identify the devices based on the phone number, phone name, etc. The only way you would have an issue is if you were using different calendar contacts on the computer. http://support.apple.com/kb/ht1495

  • How read the flat data by external table definition. Please help me. Thanks

    ----Following is my code--
    create or replace procedure AGE_UPLOAD_SER_RCD1 is
    check_drop PLS_INTEGER;
    begin
    SELECT COUNT(*) INTO check_drop FROM USER_TABLES WHERE TABLE_NAME='EXT_SERVICES_RECEIVED_UPLOAD';
    IF (check_drop <> 0) THEN
    EXECUTE IMMEDIATE 'DROP Table EXT_SERVICES_RECEIVED_UPLOAD';
    END IF;
    EXECUTE IMMEDIATE 'CREATE Table EXT_SERVICES_RECEIVED_UPLOAD
    ALIEN_NUMBER number(9),
    SOCIAL_SECURITY_NUMBER number(9),
    INTAKE_DATE          date,
    CLOSURE_DATE          date,
    CLOSURE_REASON          varchar(200)
    ORGANIZATION external
    TYPE oracle_loader
    DEFAULT DIRECTORY UPLOAD_STAGE_AREA_AE
    ACCESS parameters
    RECORDS DELIMITED BY ''|''
    BADFILE ''ext_services_received.bad''
    DISCARDFILE ''ext_services_received.dis''
    LOGFILE ''ext_services_received.log''
    SKIP 1
    FIELDS TERMINATED BY '','' OPTIONALLY ENCLOSED BY ''"''
    LOCATION (''AGE_SERVICES_RECEIVED2.TXT'')
    REJECT LIMIT unlimited';
    end AGE_UPLOAD_SER_RCD1;
    --Problem is Unable to read the data-----
    ---Following is the error log ----
    LOG file opened at 07/19/06 15:57:23
    Field Definitions for table EXT_SERVICES_RECEIVED_UPLOAD
    Record format DELIMITED, delimited by |
    Data in file has same endianness as the platform
    Rows with all null fields are accepted
    Fields in Data Source:
    ALIEN_NUMBER CHAR (255)
    Terminated by ","
    Enclosed by """ and """
    Trim whitespace same as SQL Loader
    SOCIAL_SECURITY_NUMBER CHAR (255)
    Terminated by ","
    Enclosed by """ and """
    Trim whitespace same as SQL Loader
    INTAKE_DATE CHAR (255)
    Terminated by ","
    Enclosed by """ and """
    Trim whitespace same as SQL Loader
    CLOSURE_DATE CHAR (255)
    Terminated by ","
    Enclosed by """ and """
    Trim whitespace same as SQL Loader
    CLOSURE_REASON CHAR (255)
    Terminated by ","
    Enclosed by """ and """
    Trim whitespace same as SQL Loader
    KUP-04021: field formatting error for field SOCIAL_SECURITY_NUMBER
    KUP-04023: field start is after end of record
    KUP-04101: record 7 rejected in file /data/External_Files/Data_Uploads/DB_Area/Adult_Ed/AGE_SERVICES_RECEIVED2.TXT
    error processing column INTAKE_DATE in row 2 for datafile /data/External_Files/Data_Uploads/DB_Area/Adult_Ed/AGE_SERVICES_RECEIVED2.TXT
    ORA-01843: not a valid month
    error processing column INTAKE_DATE in row 3 for datafile /data/External_Files/Data_Uploads/DB_Area/Adult_Ed/AGE_SERVICES_RECEIVED2.TXT
    ORA-01843: not a valid month
    error processing column INTAKE_DATE in row 4 for datafile /data/External_Files/Data_Uploads/DB_Area/Adult_Ed/AGE_SERVICES_RECEIVED2.TXT
    ORA-01843: not a valid month
    error processing column INTAKE_DATE in row 5 for datafile /data/External_Files/Data_Uploads/DB_Area/Adult_Ed/AGE_SERVICES_RECEIVED2.TXT
    ORA-01843: not a valid month
    error processing column INTAKE_DATE in row 6 for datafile /data/External_Files/Data_Uploads/DB_Area/Adult_Ed/AGE_SERVICES_RECEIVED2.TXT
    ORA-01843: not a valid month

    What does the data look like for INTAKE_DATE field in the data file?

  • How to download the data which is in the table?

    how to download the data which is in the table?
    every field data in the table i want to download and once the download is finished then i have to set the flag as 'download is finished ' as one field in table?
    can any one help me in this.
    Phani.
    Edited by: phani kumarDurusoju on Jan 9, 2008 6:36 AM

    One way is to Download the data Directly from the database table using the path SE11->Give table name ->Execute -> system ->List ->Save ->Local File
    There u can downlaad the data .
    The ither way is to use the code
    The Following Code will be helpfull to You
    Data :ITAB  TYPE TRUXS_T_TEXT_DATA,
            FILE  TYPE STRING.
             C_ASC     TYPE CHAR10   VALUE 'ASC',
    DATA: L_STATUS TYPE C,
           L_MESSAGE TYPE PMST_RAW_MESSAGE,
           L_SUBJECT TYPE SO_OBJ_DES.
    DATA: L_FILELENGTH TYPE I.
      PERFORM download_to_pc
                  TABLES
                     itab
                  USING
                     filename
                     c_asc
                     c_x
                  CHANGING
                     l_status
                     l_message
                     l_filelength.
    FORM DOWNLOAD_TO_PC TABLES   DOWNLOADTAB
                        USING    FILENAME
                                 FILETYPE TYPE CHAR10
                                 DELIMITED
                        CHANGING STATUS
                                 MESSAGE TYPE PMST_RAW_MESSAGE
                                 FILELENGTH TYPE I.
      DATA: L_FILE TYPE STRING,
            L_SEP.
      L_FILE = FILENAME.
      IF NOT DELIMITED IS INITIAL.
        L_SEP = 'X'.
      ENDIF.
      STATUS = 'S'.
      CALL FUNCTION 'GUI_DOWNLOAD'
        EXPORTING
          FILENAME                = L_FILE
          FILETYPE                = FILETYPE
          WRITE_FIELD_SEPARATOR   = L_SEP
        IMPORTING
          FILELENGTH              = FILELENGTH
        TABLES
          DATA_TAB                = DOWNLOADTAB
        EXCEPTIONS
          FILE_WRITE_ERROR        = 1
          NO_BATCH                = 2
          GUI_REFUSE_FILETRANSFER = 3
          INVALID_TYPE            = 4
          NO_AUTHORITY            = 5
          UNKNOWN_ERROR           = 6
          HEADER_NOT_ALLOWED      = 7
          SEPARATOR_NOT_ALLOWED   = 8
          FILESIZE_NOT_ALLOWED    = 9
          HEADER_TOO_LONG         = 10
          DP_ERROR_CREATE         = 11
          DP_ERROR_SEND           = 12
          DP_ERROR_WRITE          = 13
          UNKNOWN_DP_ERROR        = 14
          ACCESS_DENIED           = 15
          DP_OUT_OF_MEMORY        = 16
          DISK_FULL               = 17
          DP_TIMEOUT              = 18
          FILE_NOT_FOUND          = 19
          DATAPROVIDER_EXCEPTION  = 20
          CONTROL_FLUSH_ERROR     = 21
          OTHERS                  = 22.
      IF SY-SUBRC <> 0.
        STATUS = 'E'.
        CASE SY-SUBRC.
          WHEN 1.
            MESSAGE = 'gui_download::file write error'.
          WHEN 2.
            MESSAGE = 'gui_download::no batch'.
          WHEN 3.
            MESSAGE = 'gui_download::gui refuse file transfer'.
          WHEN 4.
            MESSAGE = 'gui_download::invalid type'.
          WHEN 5.
            MESSAGE = 'gui_download::no authority'.
          WHEN 6.
            MESSAGE = 'gui_download::unknown error'.
          WHEN 7.
            MESSAGE = 'gui_download::header not allowed'.
          WHEN 8.
            MESSAGE = 'gui_download::separator not allowed'.
          WHEN 9.
            MESSAGE = 'gui_download::filesize not allowed'.
          WHEN 10.
            MESSAGE = 'gui_download::header too long'.
          WHEN 11.
            MESSAGE = 'gui_download::dp error create'.
          WHEN 12.
            MESSAGE = 'gui_download::dp error send'.
          WHEN 13.
            MESSAGE = 'gui_download::dp error send'.
          WHEN 14.
            MESSAGE = 'gui_download::ubknown dp error'.
          WHEN 15.
            MESSAGE = 'gui_download::access denied'.
          WHEN 16.
            MESSAGE = 'gui_download::dp out of memory'.
          WHEN 17.
            MESSAGE = 'gui_download::disk full'.
          WHEN 18.
            MESSAGE = 'gui_download::dp timeout'.
          WHEN 19.
            MESSAGE = 'gui_download::file not found'.
          WHEN 20.
            MESSAGE = 'gui_download::dataprovider exception'.
          WHEN 21.
            MESSAGE = 'gui_download::control flush error'.
          WHEN 22.
            MESSAGE = 'gui_download::Error'.
        ENDCASE.
      ENDIF.
    ENDFORM.             "download_to_pc
    At The End Reward points.
    Please it's Required.
    Thanks ,
    Rahul

  • My AppStore id is my apple id n password which is good when purchasing. But when I am updating from update option it ask for a password. The user id I see there is not mine, it's different. How do I change that to my apple Id? Please help me resolve .....

    My AppStore id is my apple id n password which is good when purchasing. But when I am updating from update option it ask for a password. The user id I see there is not mine, it's different. How do I change that to my apple Id? Please help me resolve  this issue. I have tried resetting it but nothing... Either I'm doing something wrong or....

    I believe the issue is with the Apple ID that was used to purchase the App. If you download an App that was purchased under a different Appple ID then all updates will also be linked to the original purchaser's Apple ID. Your Apple ID is the the same ID as your iTunes, iCloud, etc. Some folks use different ID for the different Apple sites. No need for that One ID for all Apple Sites, and if someone else buys an App using their ID and they(you) download that App onto your device and that App requires an update it will ask for the purchasers Apple ID. This happens a lot when folks sell their iPad or give it to someone else and leave some purchased(free) Apps on the iOS device. You cannot change the original ID the App was purchased under. A suggestion would be if someone else has an App that you like but do not want to pay for use their ID or in the future have them gift the App to you.

  • I am transmitting data over internet and WiFi ,it's working fine with internet but when I choose WiFi for data transmission data is not being transmitted. What may be the possible issues of data transmission failure over WiFi?  Please help me.

    I am transmitting data over internet and WiFi ,it's working fine with Internet but when I choose WiFi for data transmission data is not being transmitted. What may be the possible issues of data transmission failure over WiFi?     Please help me....
    Thanks in Advance.
    Neeraj@iDev

    After a week's worth of debugging, I found the issue.
    The Java type returned from the call was defined as ArrayList.  Changing it to List resolved the problem.
    I'm not sure why ArrayList isn't a valid return type, I've been looking at the Adobe docs, and still can't see why this isn't valid.  And, why it works in Debug mode and not in Release build is even stranger.  Maybe someone can shed some light on the logic here to me.

  • How do i deactivate the auto updation on my iphone 4,i want to use only watsapp but when i am turning on my celleular data all apps starts updating theirself,please help me

    how do i deactivate the auto updation on my iphone 4,i want to use only watsapp but when i am turning on my celleular data all apps starts updating theirself,please help me.I am not using any internet pack other than watsapp.

    iPhone do not do automatic update. You have to manually trigger the updates.
    If your Settings > iTunes & App Stores > Automatic Downloads > Music, Apps, Books are ON then when you purchase any new content/item with any devices/computer iTunes, it will automatically download. Switch it OFF if you do not want that to happen.

  • HT1222 I bought used iPhone and on this iPhone I'm not able to make new account  on i Cloud'.  How can I use this iCloud's on used iPhone   Please help me

    I bought used iPhone and on this iPhone I'm not able to make new account  on i Cloud'.  How can I use this iCloud's on used iPhone   Please help me
    When I logging there it told me that maximum no of iCloud's Account already activated on this iPhone.
    Please help me how can I open new iCloud's account on this iPhone
    Regard
    Faiz khan

    Set up the account using a desktop or laptop, then sign
    into that account on your iPhone.
    I am not aware of any method around the restriction once
    the maximum has been created on any individual iPhne.

  • Can u give clear steps how to load 3 data target at a time by the help of p

    can u give clear steps how to load 3 data target at a time by the help of parllalesim

    hi,
    create the load infopackage type and give the infopack you need to load.
    create 3 similar process types.
    chain should have this flow
    start -> delet index(if cube is the target) -> load target(connect the load process to start process) parallel -> and process -> create index(if cube)/actiavtion of ods(if ods)
    Ramesh

  • My iPad 2 won't receive text messages and is not sharing any data with my iPhone 4. Please help!

    My iPad 2 won't receive text messages and is not sharing any data with my iPhone 4. Please help!

    The iPad receives Text Messages through Apple's iMessage feature. Make sure this is turned on on your phone. Also, text messages received at your phone number are not shared with the iPad. Make sure that iMessage texts are being sent to your EMAIL ADDRESS

  • How do I connect ny samsung tab2 note to hp deskjet 2540 if you could please help, thank you

    how do I connect ny samsung tab2 note to hp deskjet 2540 if you could please help, thank you

    Hi,
    Your printer is not an ePrint printer as shown:
       http://www8.hp.com/au/en/products/printers/product-detail.html?oid=5296007#!tab=specs
    Please try the SECOND part of the following setup (for classic printers):
       http://h10025.www1.hp.com/ewfrf/wc/document?docname=c02817255&cc=us&dlc=en&lc=en#N65
    Regards.
    BH
    **Click the KUDOS thumb up on the left to say 'Thanks'**
    Make it easier for other people to find solutions by marking a Reply 'Accept as Solution' if it solves your problem.

  • HT4009 I did not download the in-app purchase at time of original App download, now I cannot figure out how to find and download the in-app purchase.  Please help!

    did not download the in-app purchase at time of original App download, now I cannot figure out how to find and download the in-app purchase.  Please help!

    Hello paddyliverpool,
    Thanks for using Apple Support Communities.
    For more information on this, take a look at:
    How to report an issue with your iTunes Store, App Store, Mac App Store, or iBookstore purchase
    http://support.apple.com/kb/ht1933
    Refund is an option.
    Best of luck,
    Mario

  • I have downloaded iOS 6 to my iTunes but I have clicked "Download Only" not "Download and Update" how do i install/sync it to my iPad. Please help me, its taken me hours to download it i don't want to do it again :(

    I have downloaded iOS 6 to my iTunes but I have clicked "Download Only" not "Download and Update" how do i install/sync it to my iPad. Please help me, its taken me hours to download it i don't want to do it again
    PLEASE HELP ME!!!

    Hook your iPad into your computer and open iTunes. GIve it a couple of minutes to get going, then click on the name of your device, then the main summary page. In the middle you'll see a software update button/area. Click on check on updates and update and follow the prompts.
    it SHOULDN"T redownload but if you've already got it should just install.
    I'd suggest that you first do a complete sync before you update, that way you have a good backup to restore your device from if the upgrade doesn't go perfect.

  • Hi please help me , how can i set my ringing tone on my iPhone from my playlist. I wanna set some normal music from  my floder not some ringing tones from iPhone origin . Please help me . Thank you :)

    Hi please help me , how can i set my ringing tone on my iPhone from my playlist. I wanna set some normal music from  my floder not some ringing tones from iPhone origin . Please help me . Thank you

    You need to make your own ringtones in iTunes then sync them to your phone. Follow the directions here:
    http://osxdaily.com/2010/09/04/make-free-iphone-ringtones-in-itunes-10/

  • I accidentally synced my mum's brand new iPad to my mac book air. A few days later I realised that my iTune library on my mac is completely gone. So is my iPhone 4s after I synced it with my mac. How do I get my old iTunes library back? Please help!

    I accidentally synced my mum's brand new iPad to my mac book air. A few days later I realised that my iTune library on my mac is completely gone. So is my iPhone 4s after I synced it with my mac. How do I get my old iTunes library back? I tried using icloud on my iphone but it stated that I have never back up my phone before. So I guess my iCloud data is gone too? But I have back up my mac in my harddrive using time machine. So how do I get my old itune library back? Please help! Thanks!

    1) ensure iTunes is authorized for your iTunes store account(s)
    2) connect your device and right-click or control-click it in the iTunes Source list, then choose transfer purchases from the shortcut menu that appears.
    3) sync the device
    iTunes will wipe the iPhone but, since you transferred your purchases in the previous step, your content will be in your library and you can re-populate the iPhone with it.
    above works for purchases from the iTunes store. for everything else, check out this post by Zevoneer.

Maybe you are looking for

  • Please help, unbelievably SLOW transfer rate.  No idea what to do.

    I bought a 500GB TC to use with my recently replaced (and updated) Macbook Pro. I started the time machine back-up process around 7PM last night and I woke up this morning to find it's only backed up 3GB/89GB. Now that is completely unacceptable. I h

  • Debit balance on Credit Memo

    We are in the process of implementing Oracle Receivables v. 11.0. Is there a way to make sure that credit memos do not have a debit balance? (i.e. users don't forget to put the negative sign in on a line causing a debit balance?) We do plan to have m

  • What/where is my iTunes "Media" folder?

    I'm using 9.0.3 on Mac OSX 10.5.8 Since I upgraded to this, I cannot import CD's. I get a message that says "You don't have write access to your iTunes Media folder or a folder within it" etc etc etc. The problem is that I have no such folder. There

  • New Mac OS X 10.6 CD

    Hi all, I own an Apple iMac (late 2009 version). Recently I faced few problems with my Mac OS X 10.6.6 software and wanted to load the OS from scratch. But in the process I found out that the CD was not working and a BIG Exclamation mark was appearin

  • If I pause a podcast download, it won't resume but starts over. Know why?

    When downloading podcasts if I click on PAUSE ALL, and then RESUME ALL, I lose whatever has already downloaded and the downloads start from the beginning. It doesn't PAUSE..it literally STOPS. It never did this before this week. I used to be able to