How to create Draft Document in CR

Hi all,
I try to create draft document in CR using store procedure script.
So i can preview the document if it's in draft mode and non draft mode.
When i preview it in draft mode , every thing is ok
But when i preview it in non draft mode, the draft and non draft data combine together.
Here is my code
Create Procedure PO
@Dockey numeric(19,6)
@ObjectId numeric(19,6)
as
begin
select PO.* from
  select 'DR' as tipedoc,ODRF.DocNum ,ODRF.DocEntry ,ODRF.CardCode,ODRF.CardName,ODRF.ObjType ,
      ODRF.DocDate,TaxDate, DRF1.ItemCode as itemcode, DRF1.Quantity ,DRF1.unitMsr ,
     OITM.ItemName ,OITM.CodeBars
          from          ODRF
          inner join  DRF1 on ODRF.DocEntry = DRF1.DocEntry
          inner join     OITM on DRF1.ItemCode = OITM.ItemCode
     where ODRF.ObjType = 22
union all
   select 'ND' as tipedoc,OPOR.DocNum ,OPOR.DocEntry ,OPOR.CardCode,OPOR.CardName,OPOR.ObjType ,
      OPOR.DocDate,TaxDate, POR1.ItemCode as Itemcode, POR1.Quantity ,POR1.unitMsr ,
     OITM.ItemName ,OITM.CodeBars
          from          OPOR
          inner join  POR1 on OPOR.DocEntry = POR1.DocEntry
          inner join     OITM on POR1.ItemCode = OITM.ItemCode
)PO
where PO.docentry = @Dockey
and PO.Objtype = @ObjectId
end
Do i miss some thing in my code
Thanks in advance
Regards
Kahkian

Hello, I think something more efficent could be like this: (ignore the RFQ calculation as it is for integration with an external database other than SAP Business ONE)
create
procedure SP_PO_FORMAT
@DOCKEY
INTEGER,
@OBJECTID
INTEGER
AS
if
@OBJECTID = 112 begin
select
t0.docentry,T0.docnum,T0.lictradnum,T0.address,T0.address2, T0.CardCode, T0.CardName, T0.DocDate, T0.DocDueDate, T0.comments,T2.slpname,T3.officetel,T3.email,T4.pymntgroup,T5.firstname, T5.lastname, T5.E_MailL, T5.tel1,
case
when T0.doccur = 'USD' THEN T0.DocTotalFC ELSE T0.DocTotal END AS DOCTOTAL, case when T0.doccur = 'USD' THEN T0.vatsumfc ELSE T0.vatsum END AS vatsum,T0.DocCur,
case
when T0.Comments like 'Basada en Cotizacion a Proveedores%' then
case when ISNUMERIC(SUBSTRING(T0.comments,36,CHARINDEX('.',T0.comments,1)-36)) = 1
then convert(int,SUBSTRING(T0.comments,36,CHARINDEX('.',T0.comments,1)-36))
else
case when T0.Comments like 'Basada en solucitud de eProcurement%'
then
case when ISNUMERIC(SUBSTRING(T0.comments,37,CHARINDEX('.',T0.comments,1)-37)) = 1
then convert(int,SUBSTRING(T0.comments,37,CHARINDEX('.',T0.comments,1)-37))
else 0
end
else 0
end
end
else
case
when T0.Comments like 'Basada en solucitud de eProcurement%'
then
case when ISNUMERIC(SUBSTRING(T0.comments,37,CHARINDEX('.',T0.comments,1)-37)) = 1
then convert(int,SUBSTRING(T0.comments,37,CHARINDEX('.',T0.comments,1)-37))
else 0
end
else 0
end
end
as rfq,
T1
.LineNum,
T1
.ItemCode, T1.Dscription, T1.freetxt,T1.unitmsr,T1.Quantity,T1.packqty, T1.Price, T1.vatprcnt,case when T0.doccur = 'USD' THEN T1.totalfrgn else T1.linetotal end as linetotal from sbo_mno.dbo.ODRF T0
inner
join sbo_mno.dbo.DRF1 T1 on T0.DocEntry = T1.DocEntry
left
join OSLP T2 on T0.slpcode = T2.slpcode
left
join OHEM T3 on T2.slpcode = T3.salesprson
left
join OCTG T4 on T0.groupnum= T4.groupnum
left
join OCPR T5 on T0.cntctcode = T5.cntctcode
where
T0.Docentry = @DOCKEY
END
ELSE
select
t0.docentry,T0.docnum,T0.lictradnum,T0.address,T0.address2, T0.CardCode, T0.CardName, T0.DocDate, T0.DocDueDate, T0.comments,T2.slpname,T3.officetel,T3.email,T4.pymntgroup,T5.firstname, T5.lastname, T5.E_MailL, T5.tel1,
case
when T0.doccur = 'USD' THEN T0.DocTotalFC ELSE T0.DocTotal END AS DOCTOTAL, case when T0.doccur = 'USD' THEN T0.vatsumfc ELSE T0.vatsum END AS vatsum,T0.DocCur,
case
when T0.Comments like 'Basada en Cotizacion a Proveedores%' then
case when ISNUMERIC(SUBSTRING(T0.comments,36,CHARINDEX('.',T0.comments,1)-36)) = 1
then convert(int,SUBSTRING(T0.comments,36,CHARINDEX('.',T0.comments,1)-36))
else
case when T0.Comments like 'Basada en solucitud de eProcurement%'
then
case when ISNUMERIC(SUBSTRING(T0.comments,37,CHARINDEX('.',T0.comments,1)-37)) = 1
then convert(int,SUBSTRING(T0.comments,37,CHARINDEX('.',T0.comments,1)-37))
else 0
end
else 0
end
end
else
case
when T0.Comments like 'Basada en solucitud de eProcurement%'
then
case when ISNUMERIC(SUBSTRING(T0.comments,37,CHARINDEX('.',T0.comments,1)-37)) = 1
then convert(int,SUBSTRING(T0.comments,37,CHARINDEX('.',T0.comments,1)-37))
else 0
end
else 0
end
end
as rfq,
T1
.LineNum,
T1
.ItemCode, T1.Dscription, T1.freetxt,T1.unitmsr,T1.Quantity,T1.packqty, T1.Price, T1.vatprcnt,case when T0.doccur = 'USD' THEN T1.totalfrgn else T1.linetotal end as linetotal from sbo_mno.dbo.OPOR T0
inner
join sbo_mno.dbo.POR1 T1 on T0.DocEntry = T1.DocEntry
left
join OSLP T2 on T0.slpcode = T2.slpcode
left
join OHEM T3 on T2.slpcode = T3.salesprson
left
join OCTG T4 on T0.groupnum= T4.groupnum
left
join OCPR T5 on T0.cntctcode = T5.cntctcode
where
T0.Docentry = @DOCKEY

Similar Messages

  • How to create shipment document with out inbound delivery document

    Dear Friends
    How to create shipment document with out outbound/inbound delivery document.
    In my client scenario, there is no inbound delivery for normal purchases.
    Just there are raising the PO to vendor, then they are doing MIGO for goods receipt.
    Can we do shipment creation with reference to PO?
    If it is possible, how it will be?
    Please let it solve
    With regards
    Lakshmikanth

    Dear Sameer,
    Please go to transaction VT01N here you enter Transportation planning point and shipment type then press enter.
    Now system will take you to the shipment document creation screen here you click on Select deliveries or press F6 now system will take you to the select outbound deliveries screen in this screen you enter selection data then execute, now deliveries will get assigned to that shipment.
    After assigning the deliveries enter the remaining data then complete the shipment finally save the shipment document.
    For more information please go through this SAP help link
    Note:- Shipment process need to be carry out for the deliveries before PGI.
    http://help.sap.com/saphelp_47x200/helpdata/en/f5/04898047bd11d2bf750000e8a7386f/frameset.htm
    I hope this will help you,
    Regards,
    Murali.

  • How to create a document folder using ListData.svc

    Hi All,
    I've recently been put on a project where I need to use the REST services (ListData.svc) to retrieve and add documents to the document library. It all has been smooth sailing until I hit the point where I want to save a document in a path that doesn't exist.
    I get an error if I try to save a file where the folder structure doesn't exist. I then went about it a different way trying to create the folder structure first. This also didn't work and I get an error message saying that the entity type is marked with the
    MediaEntry attribute but no save stream was set for the entity. Not too sure what set for the save stream if I'm just adding a folder.
    So my question is can a file be added to a folder structure that doesn't exist where it automatically creates the folders. If not can the service create folders?
    Some sample code I've been using:
    var folder = new SampleDocumentLibraryItem();
    folder.Name = "Sample";
    folder.Title = "Sample";
    folder.ContentType = "Folder";
    folder.Path = "/sample/folder1/folder2";
    spContext.AddToSampleDocumentLibrary(folder);
    spContext.SaveChanges();
    Thanks in advance,
    Damo

    Hi All,
    Finally managed to figure this one out. For anyone who needs source on how to create a document folder. Some sample source is below...
    var folder = new DocumentLibraryItem();
    folder.Name = "Folder Name";
    folder.Title = "Folder Name";
    folder.ContentType = "Folder";
    folder.Path = path;
    spContext.AddtoDocumentLibrary(folder);
    spContext.SetSaveStream(folder, stream, false, folder.ContentType, folder.Path + folder.Name + "|0x0120009BCC19899CEBC6468FF4EEAC7B8CF4F5"
    spContext.SaveChanges();
    So the important differences in the code above. The content type of the object and stream MUST be set to "Folder". I'm not sure why but you still need to set the save stream to be a valid stream even though you're only adding a folder. So just keep the stream
    open and then pass "true" to close it when you actually save the file. The other important element as noted from the URL's in the previous comments is you need to add a "|" + Content Type ID of a folder. You'll be able to get this ID by visiting the rest service
    for an existing document library and view source to see the actual content type id for a folder.
    Thanks everyone for your help,
    Damo

  • How to create a Document Set in SharePoint 2013 using JavaScript Client Side Object Model (JSOM)?

    Hi,
    The requirement is to create ""Document Sets in Bulk" using JSOM. I am using the following posts:-
    http://blogs.msdn.com/b/mittals/archive/2013/04/03/how-to-create-a-document-set-in-sharepoint-2013-using-javascript-client-side-object-model-jsom.aspx
    http://social.msdn.microsoft.com/Forums/sharepoint/en-US/1904cddb-850c-4425-8205-998bfaad07d7/create-document-set-using-ecma-script
    But, when I am executing the code, I am getting error "Cannot read property 'DocumentSet' of undefined "..Please find
    below my code. I am using Content editor web part and attached my JS file with that :-
    <div>
    <label>Enter the DocumentSet Name <input type="text" id="txtGetDocumentSetName" name="DocumentSetname"/> </label> </br>
    <input type="button" id="btncreate" name="bcreateDocumentSet" value="Create Document Set" onclick="javascript:CreateDocumentSet()"/>
    </div>
    <script type="text/javascript" src="//ajax.aspnetcdn.com/ajax/jQuery/jquery-1.7.2.min.js"> </script>
    <script type="text/javascript">
       SP.SOD.executeFunc('sp.js','SP.ClientContext','SP.DocumentSet','SP.DocumentManagement.js',CreateDocumentSet);
    // This function is called on click of the “Create Document Set” button. 
    var ctx;
    var parentFolder;
    var newDocSetName;
    var docsetContentType;
    function CreateDocumentSet() {
        alert("In ClientContext");
        var ctx = SP.ClientContext.get_current(); 
        newDocSetName = $('#txtGetDocumentSetName').val(); 
        var docSetContentTypeID = "0x0120D520";
        alert("docSetContentTypeID:=" + docSetContentTypeID);
        var web = ctx.get_web(); 
        var list = web.get_lists().getByTitle('Current Documents'); 
        ctx.load(list);
        alert("List Loaded !!");
        parentFolder = list.get_rootFolder(); 
        ctx.load(parentFolder);
        docsetContentType = web.get_contentTypes().getById(docSetContentTypeID); 
        ctx.load(docsetContentType);
        alert("docsetContentType Loaded !!");
        ctx.executeQueryAsync(onRequestSuccess, onRequestFail);
    function onRequestSuccess() {       
        alert("In Success");
        SP.DocumentSet.DocumentSet.create(ctx, parentFolder, newDocSetName, docsetContentType.get_id());
        alert('Document Set creation successful');
    // This function runs if the executeQueryAsync call fails.
    function onRequestFail(sender, args) {
        alert("Document Set creation failed" + + args.get_message());
    Please help !!
    Vipul Jain

    Hello,
    I have already tried your solution, however in that case I get the error - "UncaughtSys.ArgumentNullException: Sys.ArgumentNullException:
    Value cannot be null.Parameter name: context"...
    Also, I tried removing SP.SOD.executeFunc
    from my code, but no success :(
    Kindly suggest !!!
    Vipul Jain

  • How to create matreial document for ten line items (10 documents) by BAPI

    Hi
    how to create matreial document for ten line items (10 documents) by BAPI_goodsmvt_create
    i created but it gives error as "no ites were transferre
    and i need code also.
    thanks in advance

    Prabhu Peram wrote:>
    > >
    Gareth @ Atos Origin UK wrote:
    > > Prabhu,
    > >
    > > You have been on SDN a long time and have a decent amount of points - why do you feel the need to simply cut and paste standard SAP documentation? _-----> I least bother abt the Points, and i never ask somebody to give points to me , if u have any doubt on it , u can check all my postings ? All it does is fill up the SDN servers with replicated data which the original poster could quite easily access themselves via SE37----> Sorry I have seen ur Posting/Reply,dont assume that i do copy & paste for sake of Points.Njoy SAP.>
    > > Gareth.
    >
    >
    >
    > regards
    > Prabhu
    Prabhu.
    I didn't question you about points at all - I was making the point that you have been on SDN a long time and have a lot of points.  Therefore you should know better than to simply cut and paste standard SAP help.  If you don't copy and paste for sake of points, what do you do it for?  It serves no purpose other than to fill up the servers here on SDN.  The original poster appears to have access to a SAP system and SE37 and wants to know how to call a BAPI - they can easily go to SE37 and read the documentation themselves.  Posting it here just adds noise and makes searching harder, as well as taking up more and more space on SDN servers.
    Gareth.

  • How to create FI Document in Idoc.....

    Hi Abapers,
    I hve small doubt that
    how to create FI Document in Idoc.....?????s
    I was new to the Idoc creation .......
    can u give me step by step process..............
    Thanks & Regard
    Ravi Sarma

    Hi Rahul,
    As per my understanding you are loking for creating the IDOC per FI document.
    So if in case the multiple rows have retrived from Oracle Join query then Multiple IDOCs to be created. Per row one IDOC.
    You can do this just by changing the Occurance of IDOC
    Export the XSD structure of imported IDOC from IR and modify the occurance of IDOC field as below example
    <xsd:element name="IDOC" type="ZTEST_IDOC.ZIDOC" maxOccurs="unbounded" />
    Then Import the xsd file as external defination and use it directly in mapping.
    It will create the multiple idocs  with mapping Row field of Oracle structure to IDOC field
    Thanks
    Swarup

  • I would like to ask how to create ASP documents

    Dreamweaver CC without the ASP option, I would like to ask how to create ASP documents
    Thanks

    Tao Yi wrote:
    Dreamweaver CC without the ASP option, I would like to ask how to create ASP documents
    Use desktop version.

  • How to create a document on a characteristic and key figure combination?

    Hello,
    I will need to create for my customer a document on a characteristic and key figure combination. I don't know yet which BW objects will be concerned, but I'm trying to understand how it works.
    1) I call the document screen in RSA1.
    2) I select InfoProvider data.
    3) I click on Create, enter a name and a description and go to the next register (Log.DOc.Properties).
    Question: What do I need to select here?
    According to SAP Help, the following has to be maintained:
    InfoProvider: How can I get my cube diplayed in the list?
    Query: Same question. But is it necessary to select a query?
    Key Figure: OK
    All characteristics for which the Characteristic is Document Property indicator is set: OK
    Hide Name: OK
    Thanks in advance for you help, Nathalie

    There's a link on the main support.mozilla.org page under "Customizing Firefox", to this article: [[How do I customize the toolbars?]] in case it helps you or anyone else finding this topic. It has a section on adding a new toolbar to Firefox.
    I can't help you on creating your own button, textfield and a combo box for the new toolbar but I see you (Dinesh) asked this question on Jan 5, here:
    http://groups.google.com/group/mozilla-labs-jetpack/browse_thread/thread/0d877e5afcbfe745# ''how to create a toolbar using add on sdk''

  • How to create a Document Template for "Scanned" PDFs? (Editing isn't necessary.)

    I have a Custom Content Type called "Vendor Invoices". It is based off the "Document" Content Type. I would like to create a "Document Template" that will support "PDFs", but the PDFs should always be added via an
    "upload" (since these are Invoices that we will be "receiving", there is no need to actually "Create" one). So, I don't need to support "New Document" or the "Drag and Drop" "New Document". I simply
    need the users to "Upload" the documents. Although, I have created several Columns for this Content Type (Invoice Number, Invoice Date, Vendor Name, etc) that the user will input when uploading the Invoice (PDF), so I WOULD like the "Document
    Information Panel" to appear. Is that only possible by using one of the Office document types?
    Any thoughts or ideas on how I might accomplish this?
    Thanks!
    Shayne

    Hi,
    According to your post, my understanding is that you want to create a pdf content type.
    We can use the PDF SharePoint Cumulative Update 1 to achieve this scenario, it allows you to create new PDF template and then deploy it as a Content Type.
    There is an article about this topic, you can refer to it.
    https://www.pdfshareforms.com/deployment-of-pdf-template-as-sandboxed-wsp-solution/
    Thanks & Regards,
    Jason
    Jason Guo
    TechNet Community Support

  • How to creat a document with a file

    i'm coding a texteditor-like programme.
    I did use a Jtable instead of a JtextComponent's subclass to display & edit text.
    however, i want to realize some function just like a texteditor such as undo & redo.
    Shoud i must creat a document to realize function i mentioned above?
    if yes, i searched in the google to find that always use method jtextComponent.setDocument () to automatically creat a document by files loaded in the jtextComponent.
    if i just creat a jtextarea for creating document & did not make it visible, whether it will waste too much resouces
    or i should make a subclass of AbstractDocument to transformer file to document?

    Hi Gilo,
       Check these docs...
    <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/0403a990-0201-0010-38b3-e1fc442848cb">How to… Download a Hierarchy to a Flat File</a>
    <a href="http://help.sap.com/saphelp_nw04/helpdata/en/fa/e92637c2cbf357e10000009b38f936/content.htm">Uploading Hierarchies from Flat Files</a>
    <a href="http://sapbwneelam.blogspot.com">More Docs...</a>
    Hope it Helps
    Srini

  • How to create a Document object from a string.

    If I use the following code, the input String cannot contain "\n", otherwise, it generates errors.
    in the following code, inputXMLString is a String object that has xml content.
    DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();
    DocumentBuilder builder = factory.newDocumentBuilder();
    Document document = builder.parse(new InputSource(new StringReader(inputXMLString)));          How can I create a Document object from a string with "\n" in the string?
    Thanks.

    If I use the following code, the input String cannot
    contain "\n", otherwise, it generates errors.That's going to be a huge surprise to thousands of people who process XML containing newline characters every day without errors.
    Perhaps your newline characters are in the middle of element names, or something else that causes your XML to be not well-formed. I'm just guessing here, though, because you didn't say what errors you were getting.

  • How to create switch documents in SAP CRM?

    Hi,
    I'm trying to create switch documents in SAP CRM. I'm using method CL_CRM_ISU_ORDER_DEREG=>CREATE_SWITCH_MESSAGE but one of the parameters is CONTEXT...
    Someone knows how this parameter should be filled?
    Thanks,
    André

    Hi Andre,
    the class CL_CRM_ISU_ORDER_DEREG is used by the classes of the utilities process framework to create a switch doc in the context of a process. The context parameter is a reference to the process context. The class CL_CRM_IU_PR_CNTR_START, for example, uses  CL_CRM_ISU_ORDER_DEREG in the ON_POD_CHANGED method to create a switch doc.
    While it is possible to set up a process context in a custom program the real question is what are you trying to achieve? Maybe it is easier to solve your requirement in the context of the process framework that to start from scratch.
    Are you aware of the concepts underlying the utilities process framework? If not have a look at the following documents:
    Process Framework in Contract Management - SAP CRM for Utlilities
    https://websmp210.sap-ag.de/~sapidb/011000358700001113322009E/Utilities_Prozess_FW_en.pdf (available at SAP Service Marketplace -> Solutions -> SAP for Utilities -> SAP for Utilities - Product Information -> SAP CRM for Utilities -> Cookbooks&Guidelines -> Utilities_Prozess_FW_en.pdf )
    Best, Christian

  • How to create billing document  in VF01 without Excise duties. ?

    Dear All ,
    Here is a scenario that we had done the Goods rcv of a  material without capturing   any excise entry as this material is non excisable , Now an ETO is created  for a  party , After this user   wants this material  to be given to Customer by creating an outbound delivry after this in VF01 hehad given this outbound delv  but here excise duty is reflecting , but user want to not to reflect the excise duty , he only wants to apply taxes only ,  Pl guide to how to create billing without having excise duties , only applicable tax should bi there in the
    billing document .
    Regards ,
    sap11
    Edited by: sap11 on Jul 18, 2008 1:52 PM

    Hi
    SAP 11
    Please maintain CHAPTER ID of the said material with zero basic excise duty ( If u r not selling this material as a duty paid ) and select non movatable mateial. Parellaly u please maintain customer excise indicator as 0 no excise ( If this cutomer code is not lifting duty paid material for you).
    This way u can create billing without excise.
    Please try.
    Thx

  • How to create accounting document in customer consignment process?

    Hi,
        We have one kind of business like customer consignment process. We want to use sales document KB + KE to achieve. But we need to create one accounting document like below when we transfer goods from our stock to customer consignment stock, i.e. movement type 631
    Dr: Consigned finished goods
        Cr: Goods sold in stock
    and when using movement type 633, we want to create accounting document like below,
    Dr: Operation costs
        Cr: Consigned finished goods
        How can i manage to configure it?
    Thanks,
    Wesley

    Hi Wesley
    Consignment having 4 steps which includes
    Consignment Fill up - Order , Delivery Only
    Consignment Issue - Order , Delivery , Billing & Accounting Document
    Consignment Pickup - Order , Delivery only
    Consignment Return - Return Order , Return Delivery & P.G.R., Credit Memo Request, Credit Note & A/C Doc.
    So in Consignment Issue & Consignment Returns Accounting document are generated.
    When you transfer the goods it comes in Consignment Issue so accounting documents are also been generated.
    I thik so it will be helpful for you.
    Thanks
    Shobhit Gautam

  • How to create shipment document

    hi,
    sap gurus,
    how to configure shipment document
    step by step
    configureation steps is needed
    regards,
    balaji.t
    09990019711

    Shipment is an essential element in the logistics chain. It affects both incoming and outgoing goods. Effective shipment planning and processing ensure that shipments are dispatched without delay and arrive on schedule. Transportation costs play an essential role in the calculation of the price of a product. It is important to keep these transportation costs to a minimum so that the price of a product remains competitive. Efficient transportation planning and processing helps to keep these costs down.
    Integration
    As illustrated in the following graphic, you can use the SAP transportation functions to plan and process:
    Incoming shipments in Materials Management based on purchase orders and shipping notifications
    Outbound shipments in Sales and Distribution based on sales orders and deliveries
    Transportation planning and processing is based on the shipment document. This document facilitates the flow of information from the shipper to the customer and to any service agents who are involved in the business transaction.
    Features
    The transportation component includes basic transportation processing functions:
    Transportation planning and shipment completion
    Shipment costs calculation
    Shipment costs settlement
    Shipment costs calculation for individual customers
    Billing of customer freight
    Service agent selection
    Management of means of transport and utilities
    Follow-up and supervision of shipments
    Management of shipment costs
    These transportation functions can handle planning and processing for both inbound and outbound shipments. You can control and monitor the entire transportation process from the planning stage to goods issue at your shipping point (for outbound shipments) or vendor location (for inbound shipments), through to goods receipt at the customer location or your plant.
    Other available functions include: shipment costs calculation and settlement with the service agent, transfer to accounting, credit memo creation and invoice verification.
    This documentation describes procedures in outbound shipment processing. Unless specifically stated otherwise, the information here also applies to inbound shipment processing. Differences between the two will be pointed out where necessary.
    For information on creating and processing inbound deliveries, see the Confirmations section of the R/3 Library documentation for Purchasing (MM-PUR).
    Here is the step by step to configure shipment or transportation planning
    Step: 1
    Maintain Purchase Organization
    Path: Spro—Enterprise Structure—Definition—Materials Management—Maintain Purchasing Organization.
    Step: 2
    Create Purchasing Group
    Path: Spro—Materials Management—Purchasing—Create Purchasing Group.
    Step: 3
    Maintain Transportation Planning Point to Company Code.
    Path: Spro—Enterprise Structure—Definition—Logistics Execution—Maintain Transportation Planning Point
    Step: 3A
    Assign Transportation planning point to company code.
    Step: 4
    Assign Purchasing Organization to Company Code.
    Path: Spro—Enterprise Structure—Assignment—Materials management—Assign Purchasing Organization to Company Code.
    Step: 5
    Assign Purchasing Organization to Plant.
    Path: Spro—Enterprise Structure—Assignment—Materials management-- Assign Purchasing Organization to Plant
    Step: 6
    Create Vendor Account Group
    Path: Img—Financial Accounting—Accounts Receivables and Accounts Payables—Customer Accounts—Vendor Accounts—Master Data—Preparations for Creating Vendor Master Data--Define Account Group
    Step: 8
    Create Vendor
    T-Code: XK01
    Step: 9
    Define Modes of Transport
    Path: Spro—Logistics Execution—Transportation—Basic Transportation Function---Routes—Define Routes—Define Modes of Transport.
    Step: 9A
    Define Shipping Types
    Path: Under the Same Menu path---Define Shipping Types
    Select New Entries and Assign the Shipping Type (e.g. Road or Train) and Assign Mode of Transport (Mdtr) and Assign Shipping type Procedure group.
    Step: 9B
    Define Transportation Connection Point
    Path: Under the Same Menu path--- Define Transportation Connection Point.
    Step: 9C
    Define Routes and Stages.
    Path: Under the Same Menu path--- Define Routes and Stages.
    Select the New Entries and Enter the Details
    Then Select the Routes stages and define
    Step: 9D
    Maintain Stages for all Routes.
    Path: Under the Same Menu path---Maintain Stages for all Routes.
    Step: 10
    ROUTE DETERMINATION
    Define Transportation Zone
    Path: Spro—Logistics Execution—Transportation—Basic Transportation Function---Routes—Route Determination—Define Transportation Zone.
    Step: 10A
    Maintain County and Transportation Zone for Shipping Point.
    Path: Under the Same Menu path--- Maintain County and Transportation Zone for Shipping Point.
    Select the Shipping point and enter the Country and Transportation Zone
    Step: 10B
    Define Transportation Groups.
    Path: Under the Same Menu path---Define Transportation Groups
    step: 10D
    Maintain Route Determination
    Path: Under the Same Menu path--Maintain Route Determination.
    Select New Entries and Define the Route Determination.
    SHIPMENTS
    Path: Spro—Logistics Execution—Transportation—Basic Transportation Function—Shipments
    Step: 11
    Define Shipment Types
    Path: Spro—Logistics Execution—Transportation—Basic Transportation Function—Shipments—Define Shipment Types.
    Select the New Entries and define Shipment Type
    Step: 12
    Go to Customer master data.
    In Address of General data. Enter the Transportation Zone id. and save
    U will get the route.
    Direct Shipping:
    Direct Delivery from Vendor to Recipient
    The merchandise is ordered from a vendor and delivered direct to the recipients. In this case, the merchandise does not go through the distribution center. The only follow-on documents generated are vendor purchase orders.
    Indirect Shipping:
    Delivery from Vendor to Distribution Center and then to Recipient
    Two movements of merchandise are involved:
    Delivery from vendor to distribution center
    The merchandise is ordered from a vendor and delivered to one or more distribution centers. Vendor purchase orders are generated as follow-on documents for this.
    Delivery from vendor directly to recipient
    Once the vendor has delivered the goods to the distribution center, they are then sent to the recipients. Warehouse orders, sales orders or deliveries are generated as follow-on documents for this.
    rewards if it helps
    siva

Maybe you are looking for

  • Function Modules on Appointment Calendar

    Hi friends,                I have to create a rfc which has to create entries into the appointment calendar (scc1-tcode). I want to know whether there are any BAPIs or function modules which insert this data into the respective table. And more over t

  • How to edit excise invoice ?

    In stock Transfer process. We create  pro-forma invoice ...Based on pro-forma invoice , we create Excise Invoice. We are using a discount condition type ZABT. By mistake someone has deleted the Condition record for  ZABT. There are 1000 Pro-Forma inv

  • Batch email removing attachments

    Hey everyone, We use a software called SalesPad to send invoices out to our customers/vendors. Recently the emails started "loosing" their attachments. So the recipient will still receive the email, but without the attached invoice. Previously, this

  • MobileMe iDisk App: Icon Bug

    The MobileMe iDisk application appears to work as advertised but the icon on my iPhone is the one for an app called ShoppingList. I have reset my iPhone twice and deleted and re-installed the app twice, as well as deleting it from my iMac and downloa

  • Message d'erreur iPhoto

    Bonjour, j'ai rencontré un message d'erreur en voulant lancer iPhoto "Vous ne pouvez pas ouvrir l'application iPhoto car celle-ci est endommagée ou incomplète", je n'arrive pas à solutionner ce problème. Qqun serait-il capable de m'aider, merci, Emil