Need a fms query on G/L account code for the AP Screen

Hi SAP B1 Experts,
Could somebody suggest a simple query I could run on the G/L account code field to select a particular account code when using a particular BP code.
So for example I would like the user to be able to choose just 2/3 accounts instead of the mass list you get based on the BP partner he is looking at.
Do I need to add a UDF field into the BP for the particular Account Code I want associated with him?
Any suggestions would be appreicated as I want to cut down the time on search the g/l code list as it is quite long
regards
Paul

Hi Rahul,
I think I follow the below overall however I have setup the UDT and created the UDF's BP CODE and ACCOUNT as you suggested.
How do you associate the BP Code with the Account Number in the Table?
So for my example:
I will setup a Supplier Code and two account codes with it.
BP Code: S1234   Account 1234567
        S1234   Account 1234567
I have tried setting up default values but they don't appear to work. I must be doing something wrong as nothing appear when I query the table. Have I missed a step here?
Once the table is right I assume I then use the FMS Query below to look at the table based on my UDT vs the OPCH.Cardcode Field?
If I can get the table right I think I follow your example from there
thank you both for a quick response

Similar Messages

  • Need a FMS Query on Sales Order!!!!

    Dear Experts,
    I need a FMS query on SO with Following Conditions...
    **Current Stock(UDF @Raw Level)
    1.If InStock(as selected warehouse Quantity)>=Ordered Quantity Then Current stock Field should be taken Ordered Quantity.
    2.If InStock< Ordered quantity Then Current stock should be taken InStock Quantity
    Please provide me same...
    Thanks in advance...

    Hi Param,
                   Assign the following FMS to the row level UDF 'Current Stock'.
    Declare @a varchar(50)
    declare @b VARCHAR(50)
    declare @e varchar(50)
    declare @c integer
    declare @d integer
    set @b = (select $[RDR1.ItemCode])
    set @e = (select $[RDR1.WhsCode])
    SET @c = (select onhand from OITW where ItemCode = @b AND WhsCode = @e)
    set @d = (select OnOrder from OITW where ItemCode = @b AND WhsCode = @e)
    IF @c>=@d
    Begin
    set @a=@d
    select @a
    End
    ELSE IF @c<@d
    BEGIN
    set @a=@c
    select @a
    End
    Regards
    Sattanatha Raja

  • HT1414 My iPhone has crashed during a sync and now I can't restore from backup as it is asking for password to load the backup yet neither the lock code for the phone or my iTunes Password are working... I have no other password to all upon and need the r

    My iPhone has crashed during a sync and now I can't restore from backup as it is asking for password to load the backup yet neither the lock code for the phone or my iTunes Password are working... I have no other password to call upon and need the restore to retrieve info onto my phone, I am a real novice to this...... please help, !!!!

    If anyone else is looking for a solution to this same problem, I was able to get it working looking through several older discussions.
    The solution was to use the password that I had on my iTunes account the very first time I set up the iPhone about a year ago.  I changed my iTunes password about 10 months ago;  but apparently, the backups continue to use the password that existed when the phone was first set up.
    A couple of troubling things with this are that 1) I didn't apply a password when I did the backup this afternoon so I don't understand why it was required when I did the restore a few hours later. and 2) it makes zero sense why iTunes would not be smart enough to use the current accout password when requiring the password to restore from a backup made with no password. 
    I thought iTunes and Apple were smarter than that.  With so many posts stating exactly the same problem, it is clear that this is bug in the software. 
    Best,
    Craig

  • API for loading Bank account details for the Customer

    Hi,
    Can anyone tell me what is the API that needs to be used for loading bank account information for the Customer?
    Thanks
    GM

    Hi,
    Were you not able to achieve your requirement with Customer Interface Program?
    There is a interface table 'RA_CUSTOMER_BANKS_INT_ALL' which is used to store customer bank account information. Run the program after inserting the records into this table.
    I guess, there is no public API.
    Regards,
    Ram

  • Check the account settings for the outgoing server "(null)"?

    I try to send emails to myself with the attachment of a picture so I can view it on my computer without having to plug it in, because it is synced with another computer. However every time I have tried to send a photo it is unable to send, and it says 'Check the account settings for the outgoing server "(null)"'
    Can anybody help and tell me what this means?
    Thanks

    That means you have an error in the setting for the outgoing server.
    You need to correct that error.

  • Qm order- account adssignment for the qm order

    Please advise how to assign  an account assignment for the order (for example, cost center, sales order or controlling area).

    Dear Yadav
    Please find some of the points on QM order
    1) Use QK01 for creating and assigning it to the materials. you need not go to material master and assign the qm order. QK01 you can give the plant, material , inspection type, order type , costcenter , profit center etc
    2) Do not tick individual QM order if you are assigning the order material. Individual order means for each inspection lot an order will be created.  This is not required in normal cases. you can create one single order and assign it to the material
    3) Make sure that you have work center created with activity type defined in it. This workcenter should be assigned in the inspection plan also
    4) Activity cost can be defined using KP26 where you can mention what is the per hour cost
    5) The settlement will be done by the CO team using K088
    Hope this helps
    Regards
    Gajesh

  • I need an application that will turn off my iPhone on the home screen just by a one click since my power button has sank and is no longer working--anyone have ideas?? I don't like having to use assistive touch and hit three buttons to lock my screen

    I need an application that will turn off my iPhone on the home screen just by a one click since my power button has sank and is no longer working--anyone have ideas?? I don't like having to use assistive touch and hit three buttons to lock my screen

    No such app exisits or can exist.  Apple doesn't allow 3rd party apps to access core functions of the phone.  Time to get your phone replaced or repaired if assistive touch doesn't needs your needs.

  • Need ABAP code for the below Services requirement

    Hi,
    We have a requirement to show all the services for a particular Purchase order number.For this I built a view on 2 tables ESLL and EKPO.Now based on the below logic I need to bring the services for the Purchase order..
    1.Enter PO number,item no. and Doc category in EKPO and find the Pack no.
    2.Now take the Pack no. of EKPO and give in ESLL and find the Sub pack no.
    3.Now take this Subpack no. and Give this sub pack as Pack no. in ESLL
    4.This will be the Service entry record for that PO number.
    Can any one Please suggest me to how to write the ABAP code for the above logic.
    Thanks & Regards,
    Dinakar

    Hi Dinaker,
    Did you find any solution for this issue. I too have a similar requirement of pulling all the service orders for a specific Purchase Order in the BW report.
    Thanks,
    SAPBWI

  • Account posting for the GR of subcontract PO

    Hi experts;
    We have a special requirement about the account posting for the GR of subcontract PO, 3POP process is used here means we create the SO, PR is created automatically. then convert to PO (Account assignment 'E', subcontract PO) . Basically now when the account document is created upon GR of the PO (101 E for FGI, 543 O for Component), the posting is like below:
      Itm PK CoCd Account  Account short text     Amount in LC LCurr         Amount Crcy      LC2 amount Trs
        1 89 1000 792000   Finished goods inven        100.00  EUR          100.00  EUR                  BSX
        2 96 1000 191100   Goods Rcvd/Invoice R         90.00- EUR           90.00- EUR                  WRX
        3 91 1000 893010   Cost of goods sold          100.00- EUR          100.00- EUR                  BSV
        4 86 1000 417001   Purchased services           90.00  EUR           90.00  EUR                  FRL
        5 99 1000 300000   Inventory - Raw Mate         20.00- EUR           20.00- EUR                  BSX
        6 81 1000 400020   Raw materials consum         20.00  EUR           20.00  EUR                  GBB
    Then the requirement is that the line item 3,4 should be combined together and 10.00- value posted. (Maybe then the transaction is BSV or PRD?)
    Anybody know how to fit this gap? kindly telll me. Appreciate!
    Hoping for a positive & prompt response

    Hi Gaito,
    Thanks! but this configuration is not the right one. This is for the different posting like below. But can't conbine BSV and FRL into together.
    Posting schema without price differences:
    Stock account FERT : 400 +
    Stock change : 400 -
    GR/IR clearing acct : 250 -
    External service acct : 250 +
    Compon. stock account : 100 -
    Consumption account : 100 +
    Posting schema with price differences:
    Stock account FERT : 400 +
    Stock change : 350 -
    Price difference :  50 -
    GR/IR clearing acct : 250 -
    External service acct : 250 +
    Compon. stock account : 100 -
    Consumption account : 100 +
    Regards
    Jimmy

  • HT1725 RE:case#426486986 no one called me, only e-mail, I just need refund, I have been trying to reach iTunes for the last 2 month! unable to get help! 818-800-7400

    RE:case#426486986 no one called me, only e-mail, I just need refund, I have been trying to reach iTunes for the last 2 month! unable to get help! 818-800-7400

    yes

  • Content Query Web Part (CQWP) displaying ASCII code for the colon portion of a time

    I'm having an issue with a CQWP displaying &#58; for the colon portion of a time.  For example, instead of 6:30, the CQWP shows 6&#58;30. 
    I checked our encoding which is set to UTF-8.  We also have a custom style on the CQWP and I've made sure that our custom itemstyle.xsl file has the disable-output-escaping property set to yes. 
    When I look at the list I'm querying from, the ascii code is not showing in there; it's displaying properly as 6:30.  I tried to flip this by replacing the colon with the ascii symbol in the list but it still showed the ascii code on the CQWP.
    Any ideas?

    Hi Cameron,  thanks for your reply.  The solution in the blog would work for an area that is only for date or time.  Unfortunately, this particular section of my CQWP is more than just a time; it's the summary of a news article--
    which may or may not contain a time depending on what the news article is about. 
    In further testing I have also noticed, when viewing the source code, that the colon is represented as
    &amp;#58; which tells me that the ampersand of the ascii code for the colon is also being convertied to ascii (in a sort-of double
    conversion situation.)  This isn't something I've ever seen before.

  • I have a presentation to make to a customer and need to know how many educational apps are there for the iPad/iPod?

    I have a presentation to make to a customer and need to know how many educational apps are there for the iPad/iPod? More specifically special education apps.
    Thanks

    Keep in mind as well that not all apps are "created equal".  Some are really good, and others are not very good.  You might also want to look at some education sites for recommendations.  An example of a general iPads in education forum is
    http://ipadeducators.ning.com/
    but I imagine some exist for special education needs as well.  Our healthcare organization is using some apps for working with autistic children and find them very helpful. 

  • MR21 - no accounting doc. for the current period

    Hi,
    we are facing the following problem.
    Each month, our accounting team is doing the price change through MR21. They are posting it to the last day of a previous period. Each month there are two accounting documents - one posted to the last day of the previous period and one to the first day of a new period.
    As I understand this is a standard behaviour since the tick in OMRN is missing. (It was not ticked for previous few years).
    However this month, there was no accounting document for the current period.
    We have patched SAP_APPL in the time between these two activities.
    I have checked that MM period was changed several days before they have done MR21. There were many material movements (sales) concerning the affected material masters. Materials are priced by the standard price.
    I have tried to check OMRN for the affected company code and do the MR21 with no results - as it does not effect MR21 whether it is checked or not.
    I havent found any note for this so far.
    Any help appreciated.

    Hi,
       If the issue occurred after upgrade, you may check for SAP notes or raise an OSS ticket to SAP.
    Regards,
    AKPT

  • Better provisioning in Windows client: Remember templates for the Start Screen - like the need for categorization (taxonomy) in the Start Menu

    Better provisioning in Windows client: Remember templates for the Start Screen - like the need for categorization (taxonomy) in the Start Menu ...
    Like my previous suggestion about categories alike Linux to clean up the mess in the start menu:
    Please help new users to use the Start Screen in valuable way - demonstrate the value.
    You don't sell SharePoint with a completely unorded randomized site hierarchy - and without any templates.
    Not content - but abstract content like templates are everything when you need to learn to use ... i.e. a new product like the Start Screen. It gets you started right away. A like Word as well.
    Please bring order and form to the content. I.e. T E M P L A T E S parsing the layout of the tiles.
    Have context switching for virtualization working with the virtual desktop mode. So I only see those tiles that are in context with my actual workflow.
    Of course you would need a well-made taxonomy for apps - i.e. subclassed.

    Hello cor-el,
    Thanks for your help. The View > Zoom didn't work the first time, but I just tried it again on a couple of web pages and it works great!!
    Thanks again. Have a Great Day! You sure improved my attitude!
    You RocK!!!
    Best regards,
    Gael

  • Can't setup Gmail account - "Mail couldn't discover the account settings for the Mail server "

    Since upgrading to Yosemite I can't add one of my gmail accounts.
    It's my business domain which is hosted with GMAIL. It worked before the upgrade. Now adding the email address in 'internet accounts setup'  I get the message "Can't setup Gmail account - "Mail couldn't discover the account settings for the Mail server "
    Mail will not let me setup an email account directly in mail either.
    There seems to be major problems with mail in this update.
    Also SMTP keeps failing.
    Yosemite is a disaster.

    Try this. I saw this solution elsewhere on the boards here.
    When setting up a business gmail account, something other than @gmail.com, when you try to add the account in Mail preferences, don't select Google as the account type. Choose, "Other." Fill out the name, email and password as usual. Worked great for me after having similar issues trying to get my business gmail account to work in Yosemite.

Maybe you are looking for

  • MM-FI Account Determination

    Dear Forum members: I have an account determination for Posting Inventory differencies (mi07 and movement type 702) that from all indications is all of a sudden going to a different GL Account. It is apparent that something has been changed in the co

  • How to copy data from one column to other column

    hi, can any one tell me how to copy data of  one column to other column for some specific data example productno  ocalyear        actualsales  prevplansales   currentplansales p001       2007                  100              120                    p

  • Synching Deleted Files in Outlook

    I just got a replacement Blackberry Curve (the first phone stopped synching; after 5 hours on the phone and 2 trips to the local store, they agreed to replace the phone).  Apparently, the settings were not the same in the new phone (even though they

  • Native Compilation on EBS Database

    'm upgrading an 11i database from 9i to 10g. It is mentioned that as an option I might turn on Native Compilation. Native Compilation is helpful mostly with compute-intensive PL/SQLs, does anyone have any insights regarding the effect of Native Compi

  • Server Admin - 10 Connections or Unlimited?

    I'm helping a client re-initialize a 10.4 G5 Server. They obviously need more than 10 concurrent connections, so I ask what type of license they have (max of 10 or unlimited). They have the registration code, but are not really sure if it's unlimited