Urgent Need ASAP , an EDI scenario.
Scenario
The Customer will send a Purchase order Details to Vendor, Process the Purchase order and create the Sales order. After Successful creation of Sales Order, confirmations to be send to the Vendor.
Inbound Sales Order Process
Assumption: Subsystem Process the EDI file and formatted into CSV (or tab delimited file). Subsystem filters Customer Purchase order, populates Organizational Details and contains fields required for Sales Order Process.
Fields in CSV file:
·+ Sales Organization
· Distribution Channel
· Division
· Sold to Party
· Ship to Party
· Customer Purchase Order no.
· Item no
· Material No
· Plant
· Quantity
+
Requirements:
ü Since Vendor Receives Customer PO in CSV format a Report Program has to be created to generate an IDOC.
ü User can specify the file name (CSV) which can be present either in application server or presentation server.
ü All required Screen Validation has to be done in the report.
ü Report Program that generates an IDoc can be stored in Database (EDI tables).
ü Inbound Sales order Process has to be configured in the system.
Messages
Message Types: ORDERS and ORDRSP.
Basic Type: ORDERS05
Use Standard inbound and outbound Process code.
Thanks In Advance.
Revert me ASAP... Very Urgent.
Give me the steps to follow , how to do Since Vendor Receives Customer PO in CSV format a Report Program has to be created to generate an IDOC.
How many pages are in the overall document? Do you have Page Breaks between the individual pages? If you print the document using the application that created it (not print to PDF), does it print properly?
When you scroll through the document, do all the pages appear in portrait format? Could it be that one of the pages was formatted in landscape & somehow it resulted in all of the pages shifting to landscape.
The above comments are purely guesses.
Cheers, Tom
Similar Messages
-
Any EDI scenario example?
Hi,
Im in need of a edi scenario example, like a how-to guide.
Any end to end scenario with EDI adapter like step by step is highly appreciated.
Please help.Hi
Available 3rd Party Adapters and Adapter Modules for SAP NetWeaver PI 7.1 provided by SAP via Reseller Agreement
As in the past, SAP continues to rely also for SAP NetWeaver PI 7.1 on partners to provide connectivity solutions for other applications and certain industry standards. With regards to adapters and adapter modules SAP has currently reseller agreements with the companies Informatica, iWay, and SEEBURGER. The connectivity solutions that are covered by the reseller agreements are sold and delivered through SAP, and also technical support for these partner solutions is available via the SAP Support Portal.
SEEBURGER
From the company SEEBURGER all adapters that are covered by the reseller agreement between SAP and SEEBURGER are already certified for SAP NetWeaver PI 7.1; to be more specific, the following SEEBURGER adapters for SAP NetWeaver PI 7.1 that are covered by the reseller agreement are available:
Technical EDI Adapters
AS2 (EDIINT/HTTP(S))
OFTP (OFTP / ISDN, OFTP / TCPIP)
VAN Access (P7 / X.400, VAN FTP)
Business EDI Adapters
Generic EDI
Protocol converter for OFTP / ISDN or VAN Access
Data format converter for ANSI X12, EDIFACT
Mapping templates for purchase order, invoice etc.
Payment
Protocol converter for OFTP / ISDN, VAN Access
Data format converter for EDIFACT, SWIFT
Mapping templates for payment orders, debit advice etc.
Industry specific EDI Adapters
Aerospace & Defense
Automotive
Chemicals
Consumer Products
High-Tech
Paper
Pharmaceutical
Retail
SAP NetWeaver Process Integration 7.1: Available Adapters and Adapter Modules
Handling EDI interfaces using Seeburger BIC modules
Handling EDI interfaces using Seeburger BIC modules
Regards
sandeep -
Message mapping challenge in IDOC to EDI scenario
Dear PI message mapping experts,
I'm a newbie in PI and facing a mapping problem using graphical message mapping.
I'm in an IDOC (INVOIC.INVOICE02) to FILE (EDI) scenario.
Here after is the mapping i need to perform :
Source structure IDOC :
<E1EDKA1> (0..99)
<NAME1> A </NAME1> (0..1)
<NAME2> B </NAME2> (0..1)
<NAME3> C </NAME3> (0..1)
<NAME4> D </NAME4> (0..1)
</E1EDKA1>
Target structure :
<AccountingCustomerParty> (1..1)
<Party> (0..1)
<PartyName> (0..unbounded)
<Name>A</Name> (1..1)
</PartyName>
<PartyName>
<Name>B</Name>
</PartyName>
<PartyName>
<Name>C</Name>
</PartyName>
<PartyName>
<Name>D</Name>
</PartyName>
</Party>
</AccountingCustomerParty>
I know i have to play with context and queues with stanard function or UDF but cannot succeed to do it.
Could you please help me ?
Thanks in advance,
AlyseeOne approach out of available few ways to implement this:
NAME1 - Exists - CreateIf - PartyName[0]
NAME2 - Exists - CreateIf - PartyName[1] (Create deuplicate segment)
NAME3 - Exists - CreateIf - PartyName[2] (Create deuplicate segment)
NAME4 - Exists - CreateIf - PartyName[3] (Create deuplicate segment)
Srikanth Srinivasan -
Dear All,
need your help on how to configure and deploy a scenario for a IDOC to EDI (856) . I believe this is like "IDoc to X12 - > X12 to EDI" using AS2 adapter. BASIS has configured the B2B addon installation and I am not sure about the EDI part in this scenario..
can you please inform what that the steps (A to Z) needs to be followed and would be great if example scenarios can be uploaded .
Thanks
FernandoHi Fernando,
I guess you're referring to this thread: IDOC to EDI scenario
For that reason, please do close this one.
Thank you.
Dimitri -
Idoc to edi scenarios (mapping help is required)
hi expects ,
i am working on idoc to edi scenarios in which i am using seeburger abapter.and i have to use java mapping with using some standard function.
INPUT IDOC :
Name M/C Min Use Max Use Description
INPUT* M 1 1
Record EDI_DC40* C 0 1 Control Record
Record E2EDK01* C 0 1 Document Header General Data
Record E2EDK14* C 0 12 Header Organizational Data
Record E2EDK03* C 0 10 Header Date Segment
Record TEMP_DATE* C 0 1 Temporary Date Segment
Record DEL_DATE* C 0 1 Temporary Date Segment
Record E2EDK04* C 0 10 Header Taxes
Record E2EDK05* C 0 16 Header Conditions
Record E2EDKA1* C 0 99999 Header Partner Info
Record TEMP_SHIP_TO* C 0 1 Ship-to Info
Record TEMP_SOLD_TO* C 0 1 Sold-to Info
Record TEMP_PAYER* C 0 1 Payer Info
Record TEMP_CARRIER* C 0 1 Carrier Info
Record TEMP_DISCHARGE_PORT* C 0 1 Port of Discharge info
Record TEMP_NOTIFY* C 0 1 Notify Info
Record TEMP_NOTIFY_ALSO* C 0 1 Notify Also Info
Record TEMP_EXIT_PORT* C 0 1 Port of Exit Info
Record TEMP_CONSIGNEE* C 0 1 Consignee
Record TEMP_SHIPPER_INFO* C 0 1
Record E2EDK02* C 0 10 Header Reference Data
Record TEMP_E2EDK02* C 0 1 Temp E2EDK02
Record TEMP_PO_STRING* C 0 1 TEMP PO STRING
Record E2EDK17* C 0 999 Header Terms of Delivery
Record TEMP_E2EDK17* C 0 1 Temp transportation terms
Record E2EDK18* C 0 99 Header Terms of Payment
Record TEMP_TERMS* C 0 1
Record E2EDK35* C 0 10 Additional Data
Group E2EDKT1:2*
OUTPUT FIELD:
Segment B2* M 1 1 BEGINNING SEGMENT FOR SHIPMENT INFORMATION TRANSACTION
Segment B2A* C 0 1 SET PURPOSE
Segment N9:6* C 0 1 REFERENCE IDENTIFICATION
Segment N9:7* C 0 1 REFERENCE IDENTIFICATION
Segment N9:8* C 0 99 REFERENCE IDENTIFICATION
Segment N9:9* C 0 99 REFERENCE IDENTIFICATION
Segment N9:10* C 0 99 REFERENCE IDENTIFICATION
Segment N9:11* C 0 99 REFERENCE IDENTIFICATION
Segment CUR* C 0 1 CURRENCY
Segment ITD* C 0 1 TERMS OF SALE/DEFERRED TERMS OF SALE
Group DTM_GROUP* C 0 1
Segment DTM* C 0 1 DATE/TIME REFERENCE
Segment DTM:2* C 0 1 DATE/TIME REFERENCE
Segment DTM:3*Hi,
To do the mapping,,,,even you can go for graphical mapping....
But some of the context handling issues you need to deal with,
like....
1.Never map set context of source fields to element level but Segment level.
2. Always you need to check for qualifiers while mapping it to Traget field.
Thanks & Regards
Akshay.
Dont Forget TO Give Points. -
AS2 Adapter EDI scenario - question
I am working on a EDI scenario, involving AS2 adapter.
Could anyone tell me any steps to be done on ABAP engine.
regHi Naveen,
follow the below steps:
1) First deploye the Std seeburger mapping provided by see burger on XI
2) If you are using the AS2 adapter then you have to install the AS2 server on XI server.
3) Once you install the std seeburger on SAP XI server you will see the AS2,X400,OFTPS,VAN adapter on XI ID.
5) You need to call the std mapping in the adapter module which does the conversion from EDI to XML and XML to EDI.
steps in IR and ID.
In IR:
You need to use the Standard XSD provided by Seeburger for different mesages like EDFACT ORDERS D96A etc in IR and other steps are similar which we do for the normal scenarios.
In ID:
This is the scenario for AS2
Seeburger has provided std mapping which need to be deployed on Xi server and will be used in XI adapter module tab for EDI-XML and XML-EDi conversion.
Example of mapping:
See_E2X_INVOIC_UN_D96A
See_E2X_INVOIC_UN_D99A
See_E2X_ORDERS_UN_D96A
See_E2X_OSTRPT_EAN_D96A.
1) After deploying mapping program.
We need to give the AS2ID in the party identifier tab,AS2ID that is entered here will be used for identifying the sender and receiver of the document.
1)The value of the Agency field must be Seeburger.
2)The value of the Schema field must be AS2ID.
Every partner is assigned the WAN no which is provided by the WAN service provider. That WAn no we need to configure in the party identifier tab
Configuration in adapter:
Under the party identifiere tab
Agency will be seeburger
Scheme=AS2ID
Name = WAN network no of the partner who is sending the file
Sender AS2 adapter configuration:
Few changes in the module parameter tab.
localejbs/CallBicXIRaBean bic
CallSapAdapter 0
Module configuration:
bic= destSourceMsg = MainDocument
bic= destTargetMsg = MainDocument
bic= mappingName= See_E2X_EDIFACT_ORDERS_UN_D93A which does the conversion of EDI-XML.
Receiver AS2 adapter configuration:
When the adapter is used in a receiver channel, it obtains a message from the Integration Engine and sends it to a business partner. In this case, the following steps are required:
1. Define the channel as a Receiver channel on the Parameters tab
2. The last step ensures the module sequence is complete:
Make sure the module ModuleProcessorExitBean does exist in the module sequence:
Module Name=localejbs/ModuleProcessorExitBean
Type=L
Module Key=Exit
with the following module parameter:
Module Key=Exit
Parameter Name=JNDIName
Parameter Value=deployedAdapters/SeeXIAS2/shareable/SeeXIAS2
You can refer my thread reply:
Re: Pls.. Help Needed.. Seeburger Mapping Names..!!
Re: Seeburger AS2 adapter...
Re: AS2 Module tab.. Mapping Names for modified Standard Msg types ? ? BIC ??
AS2 adpater-- Configuration details for both SND and RCV.
AS2 Sender Adapter -- Need few details.
EDI-SEEberger-XI-IDOc-R/3
flow of the data from EDi to SAp r/3 using seeburger:
1) Data will be coming thorugh WAN or mailbox.
2) If its coming through WAN then every WAN provider will give the partner which is sending the data a partner number for indentification.
3) In your AS2 channel you need to configure the party and for that party you need to give the WAN number which is proivded for that partner. So it will run that configuration whenever that partner send the data.
4) In the adapter you have to give the mapping program name which does the conversion of EDI-XML and XML-EDI.
5) Once you XML is generated then it will be used in MM
6) At the receiver if its IDOC adapter then IDOC adapter will post the IDOC to R3 system.
Thnx
Chirag -
Hi,
With regarding to EDI scenarios with XI and seeburger, would like to get input on the following.
As the technical stuffs of conversion can be done with seeburger, is it easy or hard to prepare the mapping specifications from EDI to idoc xml.
Do we require functional knowledge to prepare EDI mapping?
I believe as most of the standards are available in internet, it is going to be just one to one mapping .
Do let me know the challenges ahead on preparing edi mapping.Krish,
My experience says it is a combination of both funtional and techincal experience required. Technically you can google it and can know what each field. But functionality wise you may need to take the help of functional consultnat because of all the looping in the EDI. If you know that it should not be a big problem in writing the mapping specification.
You can find some techincal help here :
http://www.tsilogistics.com/edi.htm
Regards,
---Satish -
Urgent needed of work flow documents.
Hi Foks,
Can any one send me work flow documents to my mail ID : [email protected] I am in urgent need of the documents .
<b><REMOVED BY MODERATOR></b>
Regards,
veera
Message was edited by:
Alvaro Tejada GalindoHi
Regarding Work Flow
work flow scenarios.
1. applying for a leave.
2. approval process.
3. material creation process.
4. mainly work flow is for notification purpose.
chk this links
http://help.sap.com/saphelp_erp2005/helpdata/en/fb/135962457311d189440000e829fbbd/frameset.htm
http://help.sap.com/saphelp_erp2005/helpdata/en/c5/e4a930453d11d189430000e829fbbd/frameset.htm
Workflow
http://www.sap-img.com/workflow/sap-workflow.htm
http://help.sap.com/saphelp_47x200/helpdata/en/a5/172437130e0d09e10000009b38f839/frameset.htm
For examples on WorkFlow...check the below link..
http://help.sap.com/saphelp_47x200/helpdata/en/3d/6a9b3c874da309e10000000a114027/frameset.htm
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/PSWFL/PSWFL.pdf
http://help.sap.com/saphelp_47x200/helpdata/en/4a/dac507002f11d295340000e82dec10/frameset.htm
http://www.workflowing.com/id18.htm
http://www.e-workflow.org/
http://web.mit.edu/sapr3/dev/newdevstand.html
http://www.erpgenie.com/workflow/index.htm
http://www.sap-basis-abap.com/wf/sap-business-workflow.htm
http://www.insightcp.com/res_23.htm
A good tutorial
http://www.thespot4sap.com/articles/Invoice_Verification_Automation_Using_SAP_Workflow.asp
http://www.sap-basis-abap.com/wf/sap-business-workflow.htm
/people/alan.rickayzen/blog
/people/jocelyn.dart/blog/2006/06/19/why-use-abap-oo-with-workflow
a good book
http://www.sap-press.com/product.cfm?account=&product=H950
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/PSWFL/PSWFL.pdf
http://help.sap.com/saphelp_47x200/helpdata/en/4a/dac507002f11d295340000e82dec10/frameset.htm
http://www.sap-press.com/downloads/h950_preview.pdf
Check the following PDF
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCBMTWFMSTART/BCBMTWFMSTART.pdf
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCBMTWFMDEMO/BCBMTWFMDEMO.pdf
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCBMTWFMPM/BCBMTWFMPM.pdf
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/PSWFL/PSWFL.pdf
also seach the workflow forum: SAP Business Workflow
Workflow automates the steps and activities in a business process according to predefined procedures and rules.
Workflow presents information and documents to the appropriate knowledge worker or agent (another entity such as a program) to make a decision or perform an activity.
Workflow tracks each and every step in the process flow and maintains an ongoing status.
Workflow also collects and reports all of the metrics associated with the execution and completion of the process.
Check the below links u will get lot of info..
http://www.sap-press.com/product.cfm?account=&product=H950
Workflow
http://www.sap-img.com/workflow/sap-workflow.htm
http://help.sap.com/saphelp_47x200/helpdata/en/a5/172437130e0d09e10000009b38f839/frameset.htm
For examples on WorkFlow...check the below link..
http://help.sap.com/saphelp_47x200/helpdata/en/3d/6a9b3c874da309e10000000a114027/frameset.htm
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/PSWFL/PSWFL.pdf
http://help.sap.com/saphelp_47x200/helpdata/en/4a/dac507002f11d295340000e82dec10/frameset.htm
http://www.workflowing.com/id18.htm
http://www.e-workflow.org/
http://web.mit.edu/sapr3/dev/newdevstand.html
Go through the following links on FORK :
http://help.sap.com/saphelp_nw04/helpdata/en/24/e2283f2bbad036e10000000a114084/frameset.htm
http://help.sap.com/saphelp_nw04/helpdata/en/8d/25f1e7454311d189430000e829fbbd/frameset.htm
http://help.sap.com/saphelp_46c/helpdata/en/c5/e4a930453d11d189430000e829fbbd/content.htm
http://www.insightcp.com/res_23.htm
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCBMTWFMSTART/BCBMTWFMSTART.pdf
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCBMTWFMDEMO/BCBMTWFMDEMO.pdf
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCBMTWFMPM/BCBMTWFMPM.pdf
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/PSWFL/PSWFL.pdf
For more reference on workflow: http://****************/Tutorials/Workflow/Workflow.htm
http://help.sap.com/saphelp_erp2005vp/helpdata/en/04/9277a346f311d189470000e829fbbd/frameset.htm
Check these links.
http://www.sapgenie.com/workflow/index.htm
/people/ginger.gatling/blog/2005/12/01/link-workflow-business-objects-to-your-collaboration-tasks
http://help.sap.com/saphelp_nw04/helpdata/en/92/bc26a6ec2b11d2b4b5006094b9ea0d/content.htm
http://help.sap.com/saphelp_bw33/helpdata/en/92/bc26a6ec2b11d2b4b5006094b9ea0d/content.htm
http://help.sap.com/saphelp_bw31/helpdata/en/8d/25f94b454311d189430000e829fbbd/content.htm
http://www.sap-press.com/product.cfm?account=&product=H950
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/PSWFL/PSWFL.pdf
http://www.workflowing.com/id18.htm
http://www.e-workflow.org/
Workflow
http://www.sap-img.com/workflow/sap-workflow.htm
http://help.sap.com/saphelp_47x200/helpdata/en/a5/172437130e0d09e10000009b38f839/frameset.htm
For examples on WorkFlow...check the below link..
http://help.sap.com/saphelp_47x200/helpdata/en/3d/6a9b3c874da309e10000000a114027/frameset.htm
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/PSWFL/PSWFL.pdf
http://help.sap.com/saphelp_47x200/helpdata/en/4a/dac507002f11d295340000e82dec10/frameset.htm
http://www.workflowing.com/id18.htm
http://www.e-workflow.org/
http://web.mit.edu/sapr3/dev/newdevstand.html
http://www.sap-img.com/workflow/sap-workflow.htm
http://help.sap.com/saphelp_47x200/helpdata/en/a5/172437130e0d09e10000009b38f839/frameset.htm
For examples on WorkFlow...check the below link..
http://help.sap.com/saphelp_47x200/helpdata/en/3d/6a9b3c874da309e10000000a114027/frameset.htm
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/PSWFL/PSWFL.pdf
http://help.sap.com/saphelp_47x200/helpdata/en/4a/dac507002f11d295340000e82dec10/frameset.htm
http://www.workflowing.com/id18.htm
http://www.e-workflow.org/
http://web.mit.edu/sapr3/dev/newdevstand.html
Workflow tutorials with step-by-step and with screenshots are available at http://www.****************/Tutorials/Workflow/Workflow.htm
http://help.sap.com/saphelp_erp2005vp/helpdata/en/42/c14a9b55103116e10000000a1553f7/frameset.htm
http://help.sap.com/saphelp_erp2005vp/helpdata/en/c5/e4a930453d11d189430000e829fbbd/frameset.htm
http://www.sapgenie.com/workflow/
http://www.sap-img.com/workflow/sap-workflow.htm
http://help.sap.com/saphelp_47x200/helpdata/en/3d/6a9b3c874da309e10000000a114027/frameset.htm
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/PSWFL/PSWFL.pdf
http://help.sap.com/saphelp_47x200/helpdata/en/4a/dac507002f11d295340000e82dec10/frameset.htm
http://www.sap-basis-abap.com/wf/sap-business-workflow.htm
https://forums.sdn.sap.com/click.jspa?searchID=791580&messageID=2857887
https://forums.sdn.sap.com/click.jspa?searchID=791580&messageID=2855919
https://forums.sdn.sap.com/click.jspa?searchID=791580&messageID=2735228
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCBMTWFMSTART/BCBMTWFMSTART.pdf
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCBMTWFMDEMO/BCBMTWFMDEMO.pdf
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCBMTWFMPM/BCBMTWFMPM.pdf
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/PSWFL/PSWFL.pdf
Debug a workflow.
This has a step by step procedure :
http://fuller.mit.edu/workflow/debugging.pdf
www.erpgenie.com/sap/workflow/debugging.htm
http://www.erpgenie.com/workflow/debugging.htm?2b5de440
Workflow tutorials with step-by-step and with screenshots are available at
http://www.****************/Tutorials/Workflow/Workflow.htm
http://www.sapgenie.com/workflow/
http://www.sap-img.com/workflow/sap-workflow.htm
http://help.sap.com/saphelp_47x200/helpdata/en/3d/6a9b3c874da309e10000000a114027/frameset.htm
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/PSWFL/PSWFL.pdf
http://help.sap.com/saphelp_47x200/helpdata/en/4a/dac507002f11d295340000e82dec10/frameset.htm
http://www.workflowing.com/id18.htm
http://www.e-workflow.org/
http://web.mit.edu/sapr3/dev/newdevstand.html
http://www.sap-basis-abap.com/wf/sap-business-workflow.htm
https://forums.sdn.sap.com/click.jspa?searchID=791580&messageID=2857887
https://forums.sdn.sap.com/click.jspa?searchID=791580&messageID=2855919
https://forums.sdn.sap.com/click.jspa?searchID=791580&messageID=2735228
http://www.sapbrain.com/TUTORIALS/TECHNICAL/WORKFLOW_tutorial.html
Regards
Anji -
Implementing an EDI scenario with XI
Hi,
I need to implement an EDI scenario with a non SAP system. I would like to know what are the "components" that I should have in order to acomplish the task ?
(how is it different from an ALE scenario)
I'm new to EDI ! (so take is slow...)
Thanks, Nir.Hi,
I need to implement an EDI scenario with a non SAP system. I would like to know what are the "components" that I should have in order to acomplish the task ?
(how is it different from an ALE scenario)
I'm new to EDI ! (so take is slow...)
Thanks, Nir. -
Error messages help need asap!!!!
hi this is my code and I need help with what i need to do and how to do it to get rid of the error messages
CREATE OR REPLACE FUNCTION
no_of_task_types (x NUMBER)
RETURN NUMBER IS
my_val NUMBER;
BEGIN
SELECT COUNT(distinct t.task_type_no)
INTO my_val
FROM employee e, assignment a, task t
WHERE e.employee_id = x
AND e.employee_no = a.employee_no
AND t.task_id = a.task_id
RETURN tasktotal;
END;
SHOW ERRORS
these are the error messages:
Warning: Function created with compilation errors.
Errors for FUNCTION NO_OF_TASK_TYPES:
8/1 PL/SQL: SQL Statement ignored
13/27 PL/SQL: ORA-00933: SQL command not properly endedHi,
Welcome to the forum!
Don't say things like "urgent" or "asap" (as in your title, "error messages help need asap!!!!"). It's rude.
971848 wrote:
hi this is my code and I need help with what i need to do and how to do it to get rid of the error messages
CREATE OR REPLACE FUNCTION
no_of_task_types (x NUMBER)
RETURN NUMBER IS
my_val NUMBER;
BEGIN
SELECT COUNT(distinct t.task_type_no)
INTO my_val
FROM employee e, assignment a, task t
WHERE e.employee_id = x
AND e.employee_no = a.employee_no
AND t.task_id = a.task_id
RETURN tasktotal;
END;
SHOW ERRORS
these are the error messages:
Warning: Function created with compilation errors.
Errors for FUNCTION NO_OF_TASK_TYPES:
8/1 PL/SQL: SQL Statement ignored
13/27 PL/SQL: ORA-00933: SQL command not properly endedIt looks like you're missing a semicolon at the end of line 13; that's why the statement beginning at line 8 can't be understood.
Also, you store a number in my_val, but never use that number, and you have a variable called tasktotal that's never defined. Should my_val and tasktotal be the same variable?
Perhaps this is what you want:
CREATE OR REPLACE FUNCTION
no_of_task_types (x NUMBER)
RETURN NUMBER IS
tasktotal NUMBER;
BEGIN
SELECT COUNT(distinct t.task_type_no)
INTO tasktotal
FROM employee e, assignment a, task t
WHERE e.employee_id = x
AND e.employee_no = a.employee_no
AND t.task_id = a.task_id; -- ; at end is important
RETURN tasktotal;
END;
/This question doesn't have anything to do with SQL*Plus, so maybe the SQL*Plus forum isn't the best place for it. This is strictly a PL/SQL problem; in the future, post questions like this in the PL/SQL. The FAQ page for that forum, {message:id=9360002} , can really help you. -
IDM SUN Engineer / Architect NEEDED asap 1st Sept start !
IDM SUN Engineer / Architect needed asap for 3 - 6 month contract possibly longer. You MUST be UK SC Security Cleared and available for a September 1st start.
Please contact me urgently on [email protected] or 0115 852 4301 - Thankyou.are any links to access these Seminars??
-
Help needed asap! I want to buy an IPAD 3G + Wifi before I return to my country from the US. The problem is that I have GSM service providers in my country that provide 3G services but I am wondering if their SIM card would work in the IPAD? In other words, can I get an unlocked IPAD 3G wifi? Thanks for helping out
The AT&T 3G iPads (which are GSM/sim based) in the US are not locked (the Verizon models are CDMA based so they effectively are). So as long as you can get a sim in your own country you shouldn't have a problem
-
I have been running Rushcliff Private Practice Software (PPS) in a Windows environment using Parallels on a macbook pro for months. Everything has been working well. PPS needs an internet connection to allow synchronisation with colleagues using the same software.
Over the last 2 weeks, I keep losing the IE connection but am still able to connect to Wifi using Safari and other PCs.
Please can someone help? Urgently need to resolve the problem.
Many thanks.Your issues are with notebook, not a workstation tower, and with Parallels and Windows. Maybe with Lion thrown in.
Hopefully you know where Parallels forums are and also that you installed Windows natively first on its own partition so you can test and run it direction rather than as a VM only as well as that sometimes takes the VM out of the equation.
MacBook Pro
https://discussions.apple.com/community/notebooks/macbook_pro
https://discussions.apple.com/community/mac_os?view=discussions
http://www.apple.com/support/macbookpro -
Hi guys!
I really need help. I tried to back up the data on my iphone 4 on the iTunes version 11.01 but failed.
The error message read : the backup was corrupt or not compatible with iPhone. can anyone advise me on this,
as I urgently need to back up my phone in anticipation for my iPhone 5.
Greatly appreciated!this usally happens when the backup you tool was from an old ios version. Two options that you can try is
1. Delete the back up by going to edit> preferences> devices & delete back up on itunes & try backing up again
2. Update the ios software of the iphone4 & then take a back up. then try restoring
Taz -
i cant use the highlight, underline, or strikethrough function in a specific pdf file. The file isnt locked. I used to highlight texts from that file before the latest update. The problem occurs only with that file. Urgent need. Please help. Thanks!
Chester31,
Thank you very much for sharing your file with us! Now that we are able to reproduce the problem at our end, you may stop sharing the file on Acrobat.com.
Do you know when this problem (for not being able to add new highlight/strikeout/underline) has started? Did you update your iOS from 7.x to 8.0 recently?
We will continue investigating the problem and let you know what we find.
Thank you again for your help.
Maybe you are looking for
-
I want to use my Time Capsule just as backup, not as a router. How?
I just want to use my Time Capsule as a wireless back-up and not as a router of any kind. My mac is already connected to my wireless network and it seems the the Time Capsule wants to run a wireless connection of its own? Here's what I've done: -Plu
-
External Hard Drives Disappear
I have 2-1TB WD External Hard Drives connected via Firewire 800 to my iMac. They periodically disappear and the only way to make them reappear is to unplug them and plug them back in. I have unchecked the "Put Hard Drives to Sleep" option in the Powe
-
PDF documents are not opening What Can I do Please send a solution
Dear Sir/Mam, I am student from India. Most of the Educational Website posting their material PDF format. While using your browser I could not able to read it. The Error message was showing as follows; Could not launch Adobe reader What can I do. But
-
With ios 7, going to safari I am asked to authenticate with name and password
In trying to open safari I am asked to authenticate with ID and passsword. Which ID and passeord? Why was this not asked in ios 6?
-
Windows file association for RDF file type to open in Reports Builder 11g
Does anyone know how to create a Windows file assocaition to open a reports RDF binary file in Reports Builder 11g? We're running FMW 11.1.2 64bit on Windows 7 64 bit. Thanks