Coding for this report urgent

Hi can any body can give me an idea to code this
a.     Mark as “O” (open) =  Get the VBUK-LFSTK where VBAK-VBELN, If VBUK-LFSTK is “A” show the sales order status open
b.     Mark as “H” (on Hold) = Pull the VBAK-VBELN reference to VBAK-LIFSK.  If the sales order has the delivery block (15 IBM Pending BOP file )
c.     Mark as “D” (Drop/Pull) = Get the LIKP-VBELN reference to VBAK-VBELN and give the LIKP-VBELN for VBUK- VBELN and if the VBUK- LVSTK is “A” then it is dropped.
d.     Mark as “N” (pending) = Get LIKP-LIFSK from the LIKP-VBELN where VBAK-VBELN if the status is either “12, 13,14,15,16 and 17”
e.     Mark as “F” (Floor) = Get the LIKP-VBELN reference to VBAK-VBELN and give the LIKP-VBELN for VBUK- VBELN and if the VBUK- LVSTK is “C” then it is transferred to the floor.
f.     Mark as “K” (Kitted) = Get the LIKP-VBELN reference to VBAK-VBELN and give the LIKP-VBELN for VBUK- VBELN and if the VBUK- LVSTK is “B” then it is kitted.
g.     Mark as “P” (packed)= Get LIKP-VBELN reference VBAK-VBELN and give LIKP-VBELN as an input for VBUK- PKSTK and PKSTK is”C” 
h.     Mark as “G” (PGI) = Get LIKP-VBELN reference VBAK- VBELN and give LIKP-VBELN as an input for VBUK-WBSTK is “C”
i.     Mark as “E” (EDI Error) in following two scenarios = If VBUK-LFGSK not equal to C for the sales order, then search VBAK-LIFSK then it is an “EDI Error” if values are:  14 or 17. On the other hand, If VBUK-LFGSK is equal C for the sales order, then search the delivery header… LIKP-LIFSK  it is an “EDI Error” if values are:  14 or 17

Hi,
try TC abapdocu or http://help.sap.com
Regards, Dieter

Similar Messages

  • Getting error REP-1352: The fonts specified for this report cannot be found

    Dear Friends,
    I'm getting the following error when I run my reports on Application Server installed in Solaris 9.
    REP-1352: The fonts specified for this report cannot be found for the character set specified by NLS_LANG.
    I searched internet and found the reason for the issue i.e., as follows.
    REP-1352: The fonts specified for this report cannot be found for the character set specified by NLS_LANG.
    Cause: The NLS_LANG environment variable specifies a character set for which no font is available.
    Action: You may choose a font that exists in the character set specified by NLS_LANG. Alternatively, you may use the Font Alias file to force an available font to be used instead of the one specified in the report.
    I cannot change the font for each & every report as there are more than 100 reports. HOW CAN I USE THE FONT ALIAS FILE? It is very Urgent, please solve my problem.
    Please help me ASAP.
    Thanking you.
    With Kind Regards,
    Senthil Alagu .P.

    Check this post of Oracle related to font aliasing
    http://download-east.oracle.com/docs/cd/B10464_05/bi.904/b13673/pbr_font.htm
    Marcos

  • Report date 2007.10.31 is invalid for this report(S_ALR_87011963)

    Hi,
       We checked 2007/10 Asset balance via report(S_ALR_87011963). We get the following error. Could you pls let me know why we can't run 2007/10 Asset balance?Thanks.
    =======================
    Report date 2007.10.31 is invalid for this report
    Message no. AU 116
    Diagnosis
    You can only run reports for closed or future fiscal years using a report date on the last day of a fiscal year.
    Procedure
    Correct the report date as necessary.
    The last day of the fiscal year in company code 0360, in which the report date lies, is 2007.12.31.
    ========================
    best regards
    Park Han

    Hi Park
    Assets reports can be run as at month-end date (not any date). Therefore check whether 31.10.07 is the month-end date for Oct.
    Regards
    NW

  • What are all the tables used for this report:

    hi
    what are all the tables used for this report:
    report:
    •     <b>Stock Report, which will give opening balance, receipt, issue, and closing balance for any given Duration for any material.</b>
    thanks in advance

    Tables: MSEG, MKPF, MARD.
    FOR REFERENCE SEE TRANSACTION : MB5B.
    Message was edited by: Sharath kumar R

  • How to get total,maximum,mimumum no. of cases for this report

    Description:     Reason For Contact For Customer - This report will provide the total number of cases created for a particular Reason For Contact for a particular Customer with a valid Business Code. This report will also provide the Maximum, Minimum and Average number of cases created for a particular Reason For Contact for that particular type of Customer. This report will take From Date, To Date, Agent Group and Business Code as inputs and generates the report on the screen. All the input criteria will be mandatory.
    See the attachment for the Report.
    NOTE :1) FOR TOTAL,WE HAVE COUNT NUMBER OF CASES CREATED for a particular Reason For Contact for a particular Customer with a valid Business Code
      2) FOR Maximum, Minimum and Average CONSIDER number of cases created for a particular Reason For Contact for that particular type of Customer.
       For this report,I am using 5 tables. In the table ScaseParty  i have C_Bus_Code,C_cust_type coulumns are there.
      I am taking Input Criteria For Business code(ie c_bus_code).suppose business code is 'F0106',I have to get how many cases(means records) are there for a particular Reason For Contact for that Business Code.I AM GETTING THE TOTAL BUT
    for getting maximum,minimum,average , i have to check the C_cust_type For that Business code ,after that I have to take all the business codes for that C_Cust_Type and with in the business codes ,i have to take the maximum number of cases which business code have for that particular Reason for contact For that particular customer type.
    Eg: Reason for contact  Businesscode   customer type   
         Delivery Timing     0306            1        
         Delivery Timing     0306            1
         Delivery Timing     0310            1
         Delivery Timing     0310            1
         Delivery Timing     0310            1  
         Delivery Timing     0310            1  
       In this way i want the result
        Maximum =4 since, for reason for contact(delivery timing) for that customer type(customer type =1),the maximum no. of cases are 4 bcz, business code = 0310 comes 4 times.
    Minimum =2 bcz, business code = 0306 comes 2 times.
       The Problems i am facing
    1)  Since i have taken the input criteria Business code = 'f0106' ,the data filters in the where condition and the getting the number of cases exist for that business code(f0106) for that Contact of Reason data only.But i have to take all the business code exists for that Particular type of customer for that Particular reason for contact for getting the max,min,avg.
      I can't handle max,min,avg in one report since it checks total cases for that Business code only.
      SO,I THINK I HAVE TO INVOKE A SUBREPORT PASSING THE C_CUST_TYPE,iSN'T IT????
    2) iF I TAKE THESE THINGS IN SUB REPORT,HOW CAN I find out the maximum number of case with in the business codes for reason for contact for that particular customer type.
      CONSIDER THE ABOVE EXAMPLES, I AM GETTING 3 CASES FOR CODE = 0306 N 2 RECORDS FOR CODE= 0310 ,hOW CAN I GET mAXIMUM cASES ie 3  BY COMPARING THESE TWO CODES FOR THE DELIVERY TIMING  .  IS THERE ANY FUNCTION??????
    In which way i have to handle this report.
      Regards,
      Vijay
      mail : [email protected]

    Hi Vijay,
    The most efficient way to acheive what you want will be to create a stored procedure or command object in which you have a subquery that calculate your maximum, minimum and average values.
    If you are looking at a solution within Crystal Reports without having to write a SQL Query, then as you said, you can use a subreport that will returns the cases created for a particular Reason For Contact for that particular type of Customer.
    ( You will need to link the subreport to filter the data down )
    Then you can calculate the minimum values in the subreport by using the Minimum function and manually counting the values in a variable, the formula will look like:
    WhilePrintingRecords;
    Shared NumberVar MyMinimum;
    If Minimum({Business Code}) = {Business Code} Then
       MyMinimum := MyMinimum + 1;
    Insert the formula in the details section of the subreport.
    This will count the number of time the minimum Business Code appears in the subreport.
    You can create a similar formula for the maximum values by using the Maximum function.
    As for the average, you can create a summary that counts the number of of Business Code, divided by the distinct count of Business Code, so it will give you the average. The formula will look like:
    WhilePrintingRecords;
    Shared NumberVar MyAverage;
    MyAverage :=
    ( If DistinctCount({Business Code}) <> 0 Then
         Count({Business Code}) / DistinctCount({Business Code}))
    Then you can display the above shared variables on your main report.
    Hope this help!
    Regards,
    Patrick

  • The database logon information for this report is either incomplete or inco

    getting below error while opening a report from infoview
    The database logon information for this report is either incomplete or incorrect.
    Unable to retrieve Object.
    The database logon information for this report is either incomplete or incorrect.
    They can open the same report from crystal designer.We have checked the database and it is pointing to correct one in process->database of CMC.
    They have created the report with windows NT credentials.
    Can any one help in this regard.
    Thanks,
    Gokul.

    How did you set up NT auth on the report? With CR Designer I'd assume you are using a trusted connection? Which option did you choose in the CMC for DB credentials? Prompt, same login, or SSO (I don't have the CMC screen in front of me right now so I'm abbreviating the options)?
    Regards,
    Tim

  • The database logon information for this report is either incomplete

    Hello All
    I have installed a full licensed version of crystal reports server 2008 onto a windows server 2003 virtual server.
    I am getting the following error message when trying to run some reports when i am logged in as the adminstrator
    'The database logon information for this report is either incomplete or incorrect.'
    Some reports work and some dont, I use the same login information for all reports, same username and same password, same machine datasource and all the reports  run fine in crystal designer 2008
    The only difference i can see is that the error mainly occurs with reports that use stored procedures, the ones that dont work fine.
    I not sure how to resolve this problem as i have tested the login and the datasoure and it works fine, just not through crystal reports server

    Further to this i've realized that this only happens with reports which have been updated to use a stored procedure from a query file. And the reports dont use any repository objects

  • The database logon information for this report is either incomplete or incorrect

    Post Author: mchishty
    CA Forum: Authentication
    We have published a crystal report (XI) to InfoView (XI R2 SP2) and we are getting the following error for the database login.
    "The database logon information for this report is either incomplete or incorrect."
    The report is working fine in Crystal Reports XI.
    The report is using the OLE DB connection to ORACLE.
    The same server is running WebI reports against the same ORACLE DB. Thanks

    Hi,
    We configure DSN with windows authentication and report in CMC has the configuration information like this
    Server Name: Populated
    Database: populated
    User: Empty
    Password: Empty
    For the report to run, do we have 6400 to 6490 ports open?
    we have port 1433 open between database and CR server but not the 6400 - 6490 ports open?
    Thanks in advance

  • What are the tables used for this Report

    hi all..
    i am a fresher for ABAP. i need the help.
    what r the tables used for this report.
    Reports provide pending order details according to Material wise and customer wise for particular month.
    thanks in advance
    RK.Ashokkumar.
    9994262112.

    hi
    good
    try with these tables,
    MARA
    KNA1
    thanks
    mrutyun^

  • Write code for this its urgent

    hi its a alv bills of material report plz write code for this
    Develop a report to high light the bom and/or master receipes fall into the constrained planning horizon those are not ready for porduction
    this report will identity the items with a bom with a status other that 03(ready for production) and/or master receips witha a status other than 04(released). the items will be reveiwed in predefined horizon.
    within a few weeks of entering the 18 th week constrained planning horizon.
    for this report take bom tables stko,stpo,mast.
    in sel-scren take mrp controller, plant, divison.
    send immedialtly

    Brother this is not the correct way to ask.
    In your words you are commanding...
    But we have to request the EXPERTS.
    WE are in learning stage dont order or command.
    Just request them in another way...... then only u get the required reply....
    With regards,
    Prasad.

  • What r all the tables used for this report. please reply

    hai,
    what r all the tables used for this report.
    report :
    <b>
    •     Report to display all finished goods that go out-of-stock. Developed a drill down report for materials details (totals and subtotals for material stock values by material group and material type).</b>
    thanks in advance

    hi Ashok,
    Check this out
    http://www.allsaplinks.com/tables.html
    http://www.sapgenie.com/abap/tables.htm
    Regards,
    Santosh

  • What r the tables used for this report.

    hi all..
    i am a fresher for ABAP. i need the help.
    what r the tables used for this report.
    Reports provide pending order details according to Material wise and customer wise for particular month.
    thanks in advance
    RK.Ashokkumar.

    Hi Ashok,
    this is easy to do.
    Open Two SAP Screen with same user ID.
    Run SQL trace using ST05 transaction.Open ST05 transaction in One and make
    Trace on ,Run the report in another screen.
    Once report run is over.End the trace process and click on display trace in same ST05 transaction.There is a click button on ST05 Transaction screen to start trace
    process,End trace process and Display track process.
    The SQL trace will  give you all the table details which is used in that particular report.
    You have not mentioned about the report name so I have suggested this way.
    regards,nishant
    Please reward if this helps

  • Asset History Sheet giving Report date 31.03.2008 invalid for this report

    S_ALR_87011990 :Asset History Sheet.
    Report date 31.03.2008 is invalid for this report
    In the above report, if we give the Report Data, as any date other than the end month of the fiscal year, it gives the error " Report date 31.03.2008 is invalid for this report"  We require this report for tax purpose upto 31st Mar08
    What needs to be done ?
    Thanks
    amit

    Hi Amit,
    In AM you can only report on the dates you have set-up in period control. In the most cases this is the last day of the Month.  When you have 13 periods from 4 weeks you can't report on the calendar month end.
    Paul

  • The migrated Crystal Report throws "The database logon information for this report is either incomplete or incorrect" error

    [ENVIRONMENT]
    Product version - BI4.1 SP03
    OS - Windows 2008 R2
    CMS Database - Oracle 11g
    Java Application Server - Tomcat7
    [ISSUE]
    Using the Upgrade Management Tool to completely migrate a BOXI3.1 SP3+FP3.6 to BI4.1 SP03.  The reporting database from both BOXI3.1 and BI4.1 are the same and so is the database logon credential.
    When viewing and refresh a migrated Crystal Report, it throws "The viewer could not process an event. The database logon information for this report is either incomplete or incorrect. [] ---- Error code:0 [CRWEB00000119]" error in both BI Launchpad and "The database logon information for this report is either incomplete or incorrect" in scheduled job.
    [STEPS TAKEN]
    - Update the Database Configuration with the SAME Oracle database password in CMC and "The database logon information for this report is either incomplete or incorrect" issue goes away.
    I search the SAP SMP and SCN forum and found no reference on this UMT and Crystal Report database logon problem.  Hope any of you have seen this problem and share if there is an ADAPT for it.
    Thank you in advance,
    Jin-Chong

    Hi,
    The BI4.1 SP03 server and client and Crystal Report 2013 SP03 developer and Crystal Report for Enterprise 4.1 SP03 are all installed onto this Windows 2008 R2 server.
    I am able to open the migrated report from CMS repository in Crystal Report 2013 SP03 developer and am able to refresh it with database logon password provided.  After save it back to the Enterprise, the database logon password field for this report in CMC becomes empty so that I have to enter the database password and choose "Use same database logon as when report is run" when viewing and scheduling report.
    What is interesting to me is that the UMT seems to migrate the report along the database logon password because I can see the encrypted password in the report database logon property in CMC.  The workaround is to reenter the database logon password in the report database logon property in CMC.
    With this said, there are hundreds of the Crystal reports and the workaround would consume lots of manual work by update each report's database logon password in CMC.
    For other customers who have more crystal reports, I wonder if there is an automated way to update the crystal report's database logon password on BI4.1 or if this is an isolated incident on my new BI4.1 SP03 environment.
    I run UMT in command line to perform livetolive migration, and my steps are listed below
    cd "E:\Program Files (x86)\SAP BusinessObjects\SAP BusinessObjects Enterprise XI 4.0\java\apps\upgradeManagementTool\jars\"
    "E:\Program Files (x86)\SAP BusinessObjects\SAP BusinessObjects Enterprise XI 4.0\win64_x64\sapjvm\bin\javaw.exe" -Xmx56g -Djava.library.path="..\..\..\..\win64_x64" -jar upgrademanagementtool.jar -internal_use_only_noversioncheck -responsefile LIVETOLIVEResponseFile.txt
    LIVETOLIVEResponseFile.txt:
    mode=livetolive
    source=edhc01nwapp65:6400
    sourceusername=Administrator
    sourcepassword=xxxxxxxxxx
    destination=WAPP246N:6400
    destinationusername=Administrator
    destinationpassword=xxxxxxxxxx
    logfile=E:\temp\livetolive.csv
    configparam:base_url=https://boprod.bsc.bscal.com/dswsbobje
    locale=en_US
    Regards,
    Jin-Chong

  • REP-1352: The fonts specified for this report cannot be found for the char

    We have migrated all our character reports to oracle 10g - sun solaris machines.
    Now, these reports give us an error....
    REP-1352: The fonts specified for this report cannot be found for the character set specified by NLS_LANG
    Does anyone have suggestions.
    desformat - DELIMITED
    mode - character
    Thanks

    Hi,
    Did you check this DocId:203781.1. I think it will help you problem.
    Moreover does your X-server or vnc server on HP work fine.
    In the past with HP version 11.0 there was always problem with HP x-server. just check that your x-server is runinig will ex. x-clock.
    Cheers,
    Hamdy

Maybe you are looking for

  • Date Range in the last year

    Hi, I know this must be basic. I have searched the forum and I have expiremented but I can't come up with the answer And I'm not much of a coder... I have a date field and I need the records to be selected for any date in the past year. In the Select

  • Smart form printing issue with LOCL and SAP printer

    Hi, The issues are as follows: 1. the top portion of the Invoice and PO does not print when using the SAP printer (works when using LOCL) 2. the shaded areas of the Order Confirmation and Invoice are black when printing to a SAP printer (works when u

  • Adjust size of menu bar in single page

    I am creating a new website for work and just added a menu bar on the main page. After a lot of trial and error, I pretty much have it looking the way I want. However, on the subsequent pages, I want to add menu bars with an extra button called 'home

  • What to put in x3 ultrabase in the ultrabay 2000?

    I have discovered there is a blu-ray device 43n3200 but it requires an Ultrabay Enhanced to Ultrabay 2000 adapter 73P3268. Further, some say the 16mb GPU (VPU) of the x31-2672XXL will not support blu-ray well. Any thoughts? My x31 is a P-IV-M1.4 w/2g

  • Is there in JCOP a test suit for javacard OS?

    Dear all, I'm an newbie on this major and i need your help to clarify my situation: Image that I have an applet on a java card... and there is no proprietary OS... only Javacard OS now, i want to validate this using JCOP is there any ready test suite