Using delivery type lfart from likp to write out the GL Account Number

Hi Guys,
I am writing a report for the bill of lading. Now I have to take in the GL Account Number from the user at input which can be either say 852342 or 853243 for two types of shipments 1. Plant to customer or 2. Intercompany. Now I have been asked to use LFART (NL - Replenishment Goods) field from LIKP to decide after taking in the user input for the GL Account Number what kind of shipment it is and write the GL account number in the report. Can somebody explain how to do it. I can't make out how one type of delivery can decide which kind of shipment it is based on the GL Account Number entered by the user on a selection screen? Can somebody give me some code or example?
Please help.
Thanks in advance.
AM

I think you missed out the statement
MOVE 'X' TO wa_exknx-sakto.
Regards, Vinod

Similar Messages

  • Delivery Output determiantion using Delivery type & Item category

    Dear all,
    I am facing a problem while triggering output using Delivery type/Item Category access in access sequence xyz. I have maintained the condition record for this access and did all the necessary customization settings.
    When i maintain the condition record for other access in Access sequence xyz the out put is being triggered.
    After some analysis i found that the Delivery type/Item category is using different communication structures.
    ie. Delivery type is using KOMKBV2-LFART. where as Item Category is using KOMPBV2-PSTYV. The output is a header output.
    can any one explain the problem here in maintaining different comm structures for an access for generating header output.
    Thanks in advance for your inputs.
    Best Regards
    Satish

    Hi,
    You mean to say its not triggering the output automatically.....
    If that is the case then goto the condition type in IMG and in tab "default values" make the dispatch time as "send immediately when saving the application" this will automatically triggers the output based on the condition records.....
    Regards
    Bageerath

  • I can't rate or write a review for app on the app store. It allows me to write out the review but does not diplay my review after sending it. Can anyone point me in the right direction to get answer as apply refuse to reply or solve my problem. Thanks

    I can't rate or write a review for app on the app store. It allows me to write out the review but does not diplay my review after sending it. Can anyone point me in the right direction to get answer as apply refuse to reply or solve my problem. Ps thanks apple for ur ignorance

    I have the same problem with another TeamLava app, Fashion Story.

  • FROM WHICH TABLE I CAN FIND  GL ACCOUNT NUMBER AND COMPANY CODE OF A PARTI

    FROM WHICH TABLE I CAN FIND  GL ACCOUNT NUMBER AND COMPANY CODE OF A PARTICULAR CUSTOMER?..I AM TRYING TO POST AN IDOC ..SO DATA HAS TO BE PROPER.JUST TELL THE SOLUTION

    Hi rendeep,
    1. LFB1
       this is the required table.
    2. field is AKONT
    3. The account number can be different
       for different companies.,
       hence it depnds upon combination of
       LIFNR
       BUKRS
    regards,
    amit m.

  • HT1918 I cannot access files I uploaded from an old computer.  The email account to which some tracks are connected is deleted. For some reason my birth date doesn't work either. Is there some way to transfer the files to my current address?

    I cannot access files I uploaded from an old computer. The email account to which some tracks are connected is deleted. For some reason my birth date doesn't work either. Is there some way to transfer the files to my current address and username?

    Most likely you have Office 2004 which are PPC-only applications and will not work in Lion. Upgrade to Office 2011. Other alternatives are:
    Apple's iWork suite (Pages, Numbers, and Keynote.)
    Open Office (Office 2007-like suite compatible with OS X.)
    NeoOffice (similar to Open Office.)
    LibreOffice (a new direction for the Open Office suite.)

  • How to stop vip sing karaoke app from taking my money out of my account

    how to stop vip sing karaoke app from taking my money out of my account

    If it is a subscription then stop the subscription. See:
    http://support.apple.com/kb/HT4098
    otherwise do not make purchases and delete the app.

  • I stupidly have one iCloud account but with two iphones using it. How can I delete iCloud from my phone without deleting the iCloud account from my husbands phone ? He needs the account on his but I don't want it on mine!!

    I Stupidly have one iCloud account but with two phones using it. How can I delete iCloud from my phone without deleting the account from my husbands phone. He needs the account on his but I dont want it on mine!

    But does this delete the whole account from the cloud, or just from my device. I must make sure my husband doesn't loose all his business contacts which are in the iCloud device. Thanks.

  • I would like to compare a CSV field "Name" with a SQL Server table field "ResourceName" and write out the person that is not in the SQL server table.

    if (this.DataCenterLaborFileUpload.HasFile)
                    var extension = Path.GetExtension(DataCenterLaborFileUpload.FileName);
                    string currentName = "";
                    decimal currentHours = 0.00M;
                    decimal currentFTE = 0.00M;
                    string ResourceName = "";
                    if (extension == ".csv")
                        StreamReader csvreader = new StreamReader(DataCenterLaborFileUpload.FileContent);
                        DataTable dt = new DataTable();
                        dt.Columns.Add("txtName");
                        dt.Columns.Add("txtHours");
                        dt.Columns.Add("txtFTE");
                        while (!csvreader.EndOfStream)
                            DataRow dr = dt.NewRow();
                            var line = csvreader.ReadLine();
                            var values = line.Split(',');
                            if (values[0].Trim() != "Pers.No.")
                                using (DbConnection conn = new SqlConnection(ConfigurationManager.ConnectionStrings["SQLStaffingConn"].ConnectionString))
                                    conn.Open();
                                    using (DbCommand cmd = conn.CreateCommand())
                                        cmd.Connection = conn;
                                        cmd.CommandText = "SELECT ResourceName FROM
    StaffTracking  order by PersonnelResourceType, ResourceName";
                                     //   DbParameter p1 = cmd.CreateParameter();
                                     //   p1.ParameterName = "restype";
                                     //   p1.Value = "Supplier";
                                     //   cmd.Parameters.Add(p1);
                                        using (DbDataReader row = cmd.ExecuteReader())
                                            while (row.Read())
    ResourceName = row.GetString(0);
    if (ResourceName != (values[1].Trim()))
    if (values[1].Trim() == currentName)
    currentHours = currentHours + Convert.ToDecimal(values[9].Trim());
    else
    if (currentName == "")
    dr["txtName"] = currentName;
    dr["txtHours"] = currentHours;
    dr["txtFTE"] = currentFTE + Math.Round(currentHours / (weekdaysInMonth() * 8), 2);
    dt.Rows.Add(dr);
    dt.AcceptChanges();
    currentHours = Convert.ToDecimal(values[9].Trim());
    currentName = values[1].Trim();
                        DataRow drfinal2 = dt.NewRow();
                        drfinal2["txtName"] = currentName;
                        drfinal2["txtHours"] = currentHours;
                        drfinal2["txtFTE"] = currentFTE + Math.Round(currentHours / (weekdaysInMonth() * 8), 2);
                        dt.Rows.Add(drfinal2);
                        dt.AcceptChanges();
                        gvDataCenterLabor.DataSource = dt;
                    gvDataCenterLabor.DataBind();
                    //     Page.DataBind();
    Here is my csv file:
    Pers.No.
    Name
    HomeFID
    Copy Range/Value from Column V
    Worked Date
    Job Code
    Account
    Pay Type
    Activity Type
    Hours
    11111111
    Doe Jane
    USA7064810
    US1-08333.01.08.02.03
    20150223
    00S15H
    9.61E+09
    410
    8
    11111111
    Doe John
    USA7064810
    US1-08333.01.08.02.03
    20150210
    00S15H
    9.61E+09
    410
    9
    11111111
    Smith Jane
    USA7064810
    US1-08333.01.08.02.03
    20150226
    00S15H
    9.61E+09
    410
    8
    So if Doe Jane is not in the SQL table I would like to only display her.
    It's only displaying the ones from the CSV file that are in the SQL Table.
    Thanks

    Hi
    Please use this insert
    code button to provide code next time. It could better to help us to review  your code.
    Now let's focus your question, I have tried to test with your code. But failed.
    I would suggest that you could export columns "Name" and "ResourceName" to DataTable.
    Then use DataTable to compare and filter with its column value.
    Here is a helpful reference:
    Comparingtwo DataTables by specific
    column in C# [closed]
    Best regards,
    Kristin
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • How to upload 2 amounts from FDM to HFM in the same Account/diff Custom 1?

    Hi,
    We are using Hyperion System 9.3.1 FDM.
    In the past, we always upload one amount only per account through FDM into our Custom 1(flows) into closing. Now, we have in the source file (accounting system) not only the closing balance but also the movements in another column.
    This means that from now on we will need to upload the closing balance as well as the movement flow through FDM into HFM into the same account but in diferrent Custom 1.
    At this point, we succeed to upload one of the amounts into Custom 1 (either closing either movement) but we do not succeed to upload both Custom 1.
    source file
    ENTITY ACCOUNT MOVEMENT CLOSING
    x 120000 10 20
    y 121000 -3 -17
    in HFM
    ENTITY ACCOUNT C1-OPENING C1-MOVEMENT C1-CLOSING
    (calculated)
    x 120000 10 10 20
    y 121000 -14 -3 -17
    As you see above, what we need is to be able to upload 2 different C1 into the same account.
    Could any one help us with this ?
    Did anyone had this kind of upload ?
    Thank you.

    Hello,
    Unfortunately this is probably going to be outside the scope of the forum members; as it will take billable hours and a engagement to write all the scripting required.
    Basically it can be done ... and it has been done before. You will just need to add an import script or an ImportAction script to do the additional work. FDM can only read 'one' amount at a time by default; and other customizations must be put into place to achieve the results.
    Thank you,

  • How to make use of SE37- Function Module & how to find out the table?

    Hi ,
    1.Could anyone help me what's this SE37-Function module is all about,How to make use of this?
    For Eg,If i want to delete a BOM permanently from the system then I have to use the Function module CM_DB_DEL_FROM_ROOT_BOM.
    But after giving the particular name what should i do?
    Please help me.
    2.How to find out the respective table for a particular field sya for T code-COGI, T code MFBF,where its values are getting populated.,Please help in this issue.
    Thanks in adavnce for spending some time
    Raj.S

    Hi Raj
    Function Modules
    Function modules are procedures that are defined in special ABAP programs only, so-called function groups, but can be called from all ABAP programs. Function groups act as containers for function modules that logically belong together. You create function groups and function modules in the ABAP Workbench using the Function Builder.
    Function modules allow you to encapsulate and reuse global functions in the SAP System. They are managed in a central function library. The SAP System contains several predefined functions modules that can be called from any ABAP program. Function modules also play an important role during updating  and in interaction between different SAP systems, or between SAP systems and remote systems through remote communications.
    Unlike subroutines, you do not define function modules in the source code of your program. Instead, you use the Function Builder. The actual ABAP interface definition remains hidden from the programmer. You can define the input parameters of a function module as optional. You can also assign default values to them. Function modules also support exception handling. This allows you to catch certain errors while the function module is running. You can test function modules without having to include them in a program using the Function Builder.
    The Function Builder  also has a release process for function modules. This ensures that incompatible changes cannot be made to any function modules that have already been released. This applies particularly to the interface. Programs that use a released function module will not cease to work if the function module is changed.
    Check this link
    http://help.sap.com/saphelp_nw2004s/helpdata/en/9f/db988735c111d1829f0000e829fbfe/content.htm
    You can execute function module in SE37ie you can perform the activiites defined in the function module by executing it.
    By deleting BOM you mention the FM name in se37 and execute. In some function module it will ask input parameters as developed in the program , you have to give the input parameters and execute.

  • HT2534 How can i download from two different store with the same account?

    I live in both countries but my credit card is registered in a french bank, therefore it is not recognised by the Aussie store on itunes. There are apps or music i want to get form the Aussie store as well as music and other apps from the french one...
    Is it possible to have two stores under the same account????? I wish apple could fix this, which could result in more spending as you can buy from different store!

    Wait 90 days
    Why would you start a new account?  Why not just correct the original account?

  • I removed registration of a product on one Apple ID, and am trying to register under another.  After removing product from profile, I log into the other account and try to add.  It says it's already registered.  How do I get all products on one ID?

    Does anyone know how to consolidate all products that I own under one Apple ID?  I have removed registration, but when I try to re-register the SN, it says it's already associated to another Apple ID.

    Your best bet would be to try resetting the password to the account that you would like to use via iForgot
    Once you log in to that account change the email address to anything, it can even be fake its just a placeholder
    After you do that you will be free to change your old email address on your appleID to the new one that is now free to be used as it is no longer attached to the other account.

  • HT5624 I have two mail accounts and one Icloud account. Thproblem is mail is going out with the incorrect sent from address. I deleted the mail accounts and added just one account back and mail still goes out with the incorrect from address and people res

    My phone will not5 send from the correct address tht I want my mail sent from. Although my mail goes into the correct mail accout answeres leave with the incorrect sent from address.
    I want to be able to send mail corectly.

    In Mail Preferences/Accounts/each GMail account, set up the SMTP Outgoing Server for each account separately, going into SMTP name/edit/Advanced and specify the Username of each account.  The Outgoing servers must be two different servers, authenticated by the Username and Password of each.
    Otherwise, the GMail SMTP server will change the from address to that of the account where the SMTP server was setup.
    Ernie

  • Apple ID, email verification says the ID is already in use, but App world keeps saying i havent veryfied the email account

    Been trying to download apps for my iPad, just created my apple ID, the verification email keep saying in bold red letters that the ID is already in use, that I should only access the App world with that account, but at App world it says that the email account has nit yet been veryfied and resends the verification mail!! How can I solve this?

    You can check to see if it is associated with one of your IDs by following this: http://support.apple.com/kb/HT5625, and entering the email address at step 2 to see if it finds an ID owned by you.  If it doesn't, contact the Apple account security team and have them check into it by going to https://expresslane.apple.com, then click More Products and Services>Apple ID>Other Apple ID Topics>Apple ID account security.

  • DATE type returned from function does not return the time component

    Hi,
    I'm dealing with a strange problem. I have a PL/SQL function (running on Oracle 8.1.4.7) which returns a DATE value. Like we all know the DATE datatype includes a date component and a time component.
    The function I used for testing is like this:
    FUNCTION ReturnDate return Date is
    dReturn Date;
    Begin
    select sysdate into dReturn from dual;
    return dReturn;
    end ReturnDate;
    When I call this function from .NET using ODP.NET the date value I get does not have the time component included only the day-month-year components.
    This is a code-snippet that calls the function :
    command.CommandText="Schema.ReturnDate";
    command.CommandType=CommandType.StoredProcedure;
    command.Parameters.Add("Return_Value",
    OracleDbType.Date,0,ParameterDirection.ReturnValue);
    command.ExecuteNonQuery();
    I use the OracleDbType.Date type which I think is the most logical choice, because the type in the Database is after all DATE.
    However this does not include the time componet. But if I change the OracleDbType.Date to OracleDbType.TimeStamp I get the time component. I'm not happy with this "hack" because I'm not sure what will happen when we upgrade our version of the Database to Oracle 9i which uses the new TimeStamp datatype.
    Is this a bug that the OracleDbType.Date does not include the time component??

    How do you examine the output Date value?
    If it is from the string, then the time components will
    not show because the NLS_DATE format in the client
    machine does not contain the time components.
    In American, the Date format is 'DD-MON-RR' by default whereas, the TimeStamp format is 'DD-MON-RR HH.MI.SSXFF AM' by default.
    Can you take a look at the time components from the OracleDate by accessing the time properties, eg. OracleDate.Hour, OracleDate.Minute..etc to see if the time values are there?
    Thanks
    Martha

Maybe you are looking for

  • Are there advantages to using Adobe Bridge with Premiere Pro?

    I frequently use pictures with my videos.  Normally, I use Windows Explorer with the picture viewer to browse for what I'd like to use.  I've experimented with Bridge, finding it to be a memory hog and slow.  It got me wondering - Are there advantage

  • Error Updating Data using a Web Service from BPM

    Hi there, I'm trying to update data in an oracle database using a webservice created in DSP and get the following errors. It appears that BPM is unable to find a name, but I'm not sure what name this is referring to. The web service is straight forwa

  • Where can i find a user manual for a camcorder model A1MARKII OR A1 MARK2

    I have looked all over the canon site and " canot" find a user manual for this legacy model        A1 MARK IITHANKS 

  • Indesign Crashes when exporting PDF

    Hi, We are experiencing an issue when exporting an .indd file as .pdf. The process gets as far as a certain page (8 out of 13) and then crashes when reading a pdf image from that page. It does one of two things - it crashes or displays an 'out of mem

  • How to use java+access connectivity without using ODBC

    Hello Sir/Madam, I just want to take a small help from u for using ms-access as backend to java without using the usiual jdbc:odbc bridge. i'll tell u the scenario which i'm facing now. i'm in need of sending my software(frame appl.) which uses acces