GL account please urgent.................

hello ,
i want the GL Account no, from ska1, .... but i am not getting this one ...at the same time i need to get the data from mkpf, mseg, makt based on the valuation type(bwtar) i need to get GL account
here the problem is i am not getting the relation b/w ska1 and these  tables like mkpf, mseg....
kindly please help
thnks

hi
hope this will help you,.
Pls reward if help.
REPORT zfi_gl_fss0
       NO STANDARD PAGE HEADING
       LINE-SIZE 255.
Standard Include for Selection Screen
INCLUDE bdcrecx1.
Internal Table for Upload Data
DATA: BEGIN OF i_gl OCCURS 0,
        saknr(010),            " GL Account
        bukrs(004),            " Company Code
        waers(005),            " Currency
        xsalh(001),            " BAl Local Curr Ind
        mwskz(002),            " Tax Category
       xopvw(001),            " Open Item Ind
       xkres(001),            " Line Item Ind
        zuawa(003),            " Sort Key
        fstag(004),            " Field Category
      END OF i_gl.
Data Variables & Constants
CONSTANTS : c_x             VALUE 'X',  " Flag
            c_tax           VALUE '0'.  " Tax Category
Parameters
PARAMETERS: p_file LIKE ibipparms-path.  " Filename
At selection-screen on Value Request for file Name
AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_file.
Get the F4 Values for the File
  CALL FUNCTION 'F4_FILENAME'
    EXPORTING
      program_name  = syst-cprog
      dynpro_number = syst-dynnr
    IMPORTING
      file_name     = p_file.
Start of Selection
START-OF-SELECTION.
Open the BDC Session
  PERFORM open_group.
Upload the File into internal Table
  CALL FUNCTION 'UPLOAD'
    EXPORTING
      filename                = p_file
      filetype                = 'DAT'
    TABLES
      data_tab                = i_gl
    EXCEPTIONS
      conversion_error        = 1
      invalid_table_width     = 2
      invalid_type            = 3
      no_batch                = 4
      unknown_error           = 5
      gui_refuse_filetransfer = 6
      OTHERS                  = 7.
  IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
        WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
  ENDIF.
Upload the Data from Internal Table
  LOOP AT i_gl.
Initial Screen
    PERFORM bdc_dynpro      USING 'SAPLGL_ACCOUNT_MASTER_MAINTAIN'
                                     '2001'.
    PERFORM bdc_field       USING 'BDC_OKCODE'
                                  '=ACC_CRE'.
    PERFORM bdc_field       USING 'BDC_CURSOR'
                                  'GLACCOUNT_SCREEN_KEY-SAKNR'.
    PERFORM bdc_field       USING 'GLACCOUNT_SCREEN_KEY-SAKNR'
                                  i_gl-saknr.
    PERFORM bdc_field       USING 'GLACCOUNT_SCREEN_KEY-BUKRS'
                                  i_gl-bukrs.
    perform bdc_dynpro      using
                       'SAPLGL_ACCOUNT_MASTER_MAINTAIN' '2001'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '=TAB02'.
    perform bdc_field       using 'GLACCOUNT_SCREEN_CCODE-WAERS'
                                  i_gl-WAERS.
    perform bdc_field       using 'GLACCOUNT_SCREEN_CCODE-XSALH'
                                  i_gl-XSALH.
    perform bdc_field       using 'GLACCOUNT_SCREEN_CCODE-MWSKZ'
                                  i_gl-MWSKZ.
    perform bdc_field       using 'BDC_CURSOR'
                                  'GLACCOUNT_SCREEN_CCODE-ZUAWA'.
   perform bdc_field       using 'GLACCOUNT_SCREEN_CCODE-XOPVW'
                                 i_gl-XOPVW.
    perform bdc_field       using 'GLACCOUNT_SCREEN_CCODE-XKRES'
                                  c_x."i_gl-XKRES.
    perform bdc_field       using 'GLACCOUNT_SCREEN_CCODE-ZUAWA'
                                  i_gl-ZUAWA.
    perform bdc_dynpro      using
                         'SAPLGL_ACCOUNT_MASTER_MAINTAIN' '2001'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '=SAVE'.
    perform bdc_field       using 'BDC_CURSOR'
                                  'GLACCOUNT_SCREEN_CCODE-FSTAG'.
    perform bdc_field       using 'GLACCOUNT_SCREEN_CCODE-FSTAG'
                                  i_gl-FSTAG.
Call The Transaction
    PERFORM bdc_transaction USING 'FSS0'.
  ENDLOOP.
Close the BDC Session
  PERFORM close_group.

Similar Messages

  • HT1918 hey am stranded its like a month now my account does not have  the None in the payment type section i had put my visa info but not now i want to remove them please urgent help

    hey am stranded its like a month now my account does not have  the None in the payment type section i had put my visa info but not now i want to remove them please urgent help

    iTunes Store Support
    http://www.apple.com/emea/support/itunes/contact.html

  • HT1338 i have apps to be updated but when i try to update them a message pops out saying "You have updates for other accounts, please sigh in with the other id". Can some one help me how can i still update the same with the new apple id ive created.

    i have apps to be updated but when i try to update them a message pops out saying "You have updates for other accounts, please sigh in with the other id". Can some one help me how can i still update the same with the new apple id ive created. As i dont have the access to the earlier id anymore.

    You cannot. The apps are assigned to that Apple ID and there is nothing you can do to change that. You could choose to download them again with the new Apple ID, any paid apps will need to be purchased again.
    Hope that helps.

  • How can I fix the "This is not a test user account, please create a new account in the sandbox environment" error?

    Hi there everyone,
    Recently I tried to make an in-app purchase, I'm not sure whether the app is relevant or not but it was for Tapped Out, however, after trying to make the purchase I received an error message saying "Sign-In Required, tap continue to sign in to check for downloads [Environment: Sandbox]" so I followed the instructions and was then presented with another error message saying "This is not a test user account, please create a new account in the sandbox environment. [Environment: Sandbox]"
    I have been doing a lot of research online trying to find a solution and so far nothing has worked for me, I have also been passing emails backwards and forwards between an Apple Customer Support colleague and are yet to find a working solution.
    Here are a few pieces of information.
    1. I am running iOS 6.1.3 on a 4th Gen iPod, it's relatively new, I got it for Christmas.
    2. My iPod is not, and never has been Jail Broken.
    3. I do not have a test account and have never tried to make my own apps.
    4. I have tried signing out of my Apple ID, resetting my iPod's settings and signing in again.
    5. I have tried resetting my Apple ID password
    6. I have tried restoring my iPod to factory settings.
    If anyone has another suggestion for something I could try it would be greatly appreciated, thanks.

    Yep, I've been reading through other threads on lots of different sites over the last few hours and I can't seem to find a working solution, even though some seem to have worked for other people.
    Most of them hadn't been updated in a while so I made my own post to see if anyone has anything new.

  • I just paid my monthly fee but it keeps saying i haven't, so i can't use the apps?? please urgent help...

    i just paid my monthly fee but it keeps saying i haven't, so i can't use the apps?? please urgent help...

    Hi there
    Your Adobe ID is still associated with an older expired membership.  Please sign out of the CC desktop app and sign in again with your Adobe ID to activate the new membership plan.
    Sign out, Sign in | Creative Cloud Desktop app
    Thanks
    Bev

  • I want to delete exchange email account from my iPhone 5s but when ever opening the setting-Mail,Contacts,Calenders but no option to delete the account, please help

    I want to delete exchange email account from my iPhone 5s but when ever opening the setting-Mail,Contacts,Calenders but no option to delete the account, please help

    Do you have Settings/General/Restrictions/Accounts set to dont allow changes - i have an exchange email account on my 6+ and there was a button at the bottom to delete the account
    i dont know that much about exchange ( i hate it) but im wondering if this might be some administrator setting on the account

  • I want to delete my account, please help me!

    I want to delete my account, please help me!

    Hi Céliine,
    It looks like you are all set! Your account has been canceled.
    If not, just let me know.
    Kind regards, Stacy

  • Got error id 502 with photoshop cc 2014 mac V.15.2.2 (15.2.2.310)?? latest version install, please urgent.

    got error id 502 with photoshop cc 2014 mac V.15.2.2 (15.2.2.310)?? latest version install, please urgent.??????
    Process:         Adobe Photoshop CC 2014 [851]
    Path:            /Applications/Adobe Photoshop CC 2014/Adobe Photoshop CC 2014.app/Contents/MacOS/Adobe Photoshop CC 2014
    Identifier:      com.adobe.Photoshop
    Version:         15.2.2 (15.2.2.310)
    Code Type:       X86-64 (Native)
    Parent Process:  launchd [146]
    Responsible:     Adobe Photoshop CC 2014 [851]
    User ID:         502
    Date/Time:       2015-02-06 10:27:25.031 +0400
    OS Version:      Mac OS X 10.9.5 (13F34)
    Report Version:  11
    Anonymous UUID:  817D6DB9-94A0-9F64-CA93-F771A1C7B832
    Crashed Thread:  0 Dispatch queue: com.apple.main-thread
    Exception Type:  EXC_BAD_ACCESS (SIGSEGV)
    Exception Codes: KERN_INVALID_ADDRESS at 0x00000000000001a0
    VM Regions Near 0x1a0:
    -->
    __TEXT                 0000000104662000-0000000108f3f000 [ 72.9M] r-x/rwx SM=COW  /Applications/Adobe Photoshop CC 2014/Adobe Photoshop CC 2014.app/Contents/MacOS/Adobe Photoshop CC 2014

    got error id 502 with photoshop cc 2014 mac V.15.2.2 (15.2.2.310)?? latest version install, please urgent.??????
    Process:         Adobe Photoshop CC 2014 [851]
    Path:            /Applications/Adobe Photoshop CC 2014/Adobe Photoshop CC 2014.app/Contents/MacOS/Adobe Photoshop CC 2014
    Identifier:      com.adobe.Photoshop
    Version:         15.2.2 (15.2.2.310)
    Code Type:       X86-64 (Native)
    Parent Process:  launchd [146]
    Responsible:     Adobe Photoshop CC 2014 [851]
    User ID:         502
    Date/Time:       2015-02-06 10:27:25.031 +0400
    OS Version:      Mac OS X 10.9.5 (13F34)
    Report Version:  11
    Anonymous UUID:  817D6DB9-94A0-9F64-CA93-F771A1C7B832
    Crashed Thread:  0 Dispatch queue: com.apple.main-thread
    Exception Type:  EXC_BAD_ACCESS (SIGSEGV)
    Exception Codes: KERN_INVALID_ADDRESS at 0x00000000000001a0
    VM Regions Near 0x1a0:
    -->
    __TEXT                 0000000104662000-0000000108f3f000 [ 72.9M] r-x/rwx SM=COW  /Applications/Adobe Photoshop CC 2014/Adobe Photoshop CC 2014.app/Contents/MacOS/Adobe Photoshop CC 2014

  • I forget the answer of questions of my account please send my answers thank you

    I forget the answer of questions of my account please send my answers at my email to enjoy it
    thank you
    <Email Edited by Host>

    I'm referring to your initial post above. You had included your ID as well as your password. Hopefully the hosts removed it before other people were able to steal it.

  • I forgot my security answers and i have provided rescue email same as apple id its been 6 monts and still no solution found i have credits in my account please help

    i forgot my security answers and i have provided rescue email same as apple id its been 6 monts and still no solution found i have credits in my account please help

    Well, of course a rescue address which is the same as the main address (which doesn't work) isn't a lot of use.
    Please see Kappy's comprehensive User Tip:
    https://discussions.apple.com/docs/DOC-4551

  • HT204088 why dose it keep saying(conot connect to your itunes account please contact itune support)every time i need to purchase any thing ,now i cannt purchase

    why dose it keep saying(conot connect to your itunes account please contact itune support)every time i need to purchase any thing ,now i cannt purchase any thing from itunes??!!

    We are fellow users here on these forums, we won't know why you are getting that message. If you haven't already done so then you can contact Support via this link :  http://www.apple.com/support/itunes/contact/ - click on Contact iTunes Store Support on the right-hand side of the page, then Purchases, Billing & Redemption

  • Error Message "This is not a Test User account - Please create a new account in the Sandbox Environment

    hello ,,
    i have this problem many times why i don't know and i dont have jealbreak " Cydia " ok
    the messageis is :
    Error Message "This is not a Test User account - Please create a new account in the Sandbox Environment"
    how to solve this problem any helpful answer please ?
    thank you

    The ultimate solution after you have tried restarting/ rebooting your device (no need to hard reset or restore your device) is:
    Click iForgot, then reset your password, change it to your new password. Then go to Store, try downloading any app! Hope this will help because some of my friends had this prob before and all what i did was this way!

  • When i buy thing in app store they alway tell me this is not a test user account please creat a new account in the sandbox environment

    when i buy thing in app store they alway tell me this is not a test user account please creat a new account in the sandbox environment

    Where are you seeing that? And what exactly are you doing?
    Are you a developer? If so, ask in the Developer Forums...

  • Low level events please URGENT

    hello
    please i have some problem with low level events.please anybody have some solution so please tell me
    basically any language such as c/c++ events are captured by operating system and then focusing on the particular component such as window or textbox etc.
    is there any bypass mechanism in java that we get the lovel level events from any operating system and all to do something.
    please Urgently reply me so that i can try for it, i have some work to do with this stuff.
    thanx in advance
    [email protected]

    You can already get mouse clicks, mouse motions, key presses... what other "low-level" events are you interested in?

  • DELETE MY ACCOUNT PLEASE

    I want to delete my account. please help me!

    Hi, Vag.La, and welcome to the Community,
    Yours is a question addressed many times here in the Community!  Please start by reviewing the information in this FAQ article:
    Can I Delete My Skype Account?
    and then please contact Skype Customer Service to file your request as explained in the instructions.
    Regards,
    Elaine
    Was your question answered? Please click on the Accept as a Solution link so everyone can quickly find what works! Like a post or want to say, "Thank You" - ?? Click on the Kudos button!
    Trustworthy information: Brian Krebs: 3 Basic Rules for Online Safety and Consumer Reports: Guide to Internet Security Online Safety Tip: Change your passwords often!

Maybe you are looking for

  • How to use a Text View to show the current user in WDJ

    Hi Experts, I am using a Text View to show the current logged on user. Also i need to retrieve the date of creation of proposal and show it as output parameter. I am using the following code but it is not working properly. Please help me out regardin

  • Replication of Business Transaction (CRM to R/3)

    Hi All, We are creating the contracts in CRM & we maintained the Int no ranges in crm & external in R/3, still contracts are not flowing to R/3, Can any one tel me why the contracts r not flowing to R/3, if any configuration are required pls help me.

  • Phone number not showing up in Imessage

    I use to be able to send receive messages with my Ipad using my phone number instead of my email. Now the phone number isn't even listed anymore. Everything on my Iphone is fine. All my id's are listed on that device. I have done a hard reset on both

  • Problem in posting

    Dear All, I have used OKB9 and assigned those Business areas to relevant CC. But while the user is making transaction, it is not automatically pulling the cost centers. Moreover, the assigned Profit Centers which is used while posting, unable to see

  • How to forward emails

    I want to forward emails that I receive to friends but don't want the names listed in the original email to appear in my forwarded email....how do I delete them before forwarding my email?...I've never had a phone that wouldn't allow deleting names p