Relative Stacking order of Sub Layers and items

I want to get the items in a layer sorted in their stacking order (including any sub-layers).
For example:
Layer 1
   item A
   Layer 1a
   Group B
   item C
In the example above, I would get back an array like this:
[item A, layer 1a, Group B, item C]
Of course, you'd think this is a simple enough thing given that zOrderPosition is freely available:
function getChildrenInStackingOrder(layer){
    var sublayers=layer.layers;
    var pageItems=layer.pageItems;
    var result=new Array ();
    var size=sublayers.length+pageItems.length;
    for(var i=0;i<sublayers.length;i++){
       result[sublayers[i].zOrderPosition]=sublayers[i];  <<<----------- ERROR
    for(var i=0;i<pageItems.length;i++){
       result[pageItems[i].zOrderPosition]=pageItems[i];
    return result;
My problem is that AI CS4 throws up at the line marked above with a message "Internal Error 1200". I'm guessing that it's illegal to get the zOrderPosition of a sublayer.  Any thoughts?
Anurag.
PS. Do any Adobe engineers read this forum at all? Seems like there's a lot of internal documentation that could help in answering some of our questions.

This is a BUG.  Bugs exist in any software. But when a company allows its users to waste hours and hours trying to figure out what they're doing wrong, only to find it's a bug that Adobe didn't bother to document prominently in their user guides, it borders on cruel. And it will continue to happen to others.
Illustrator's scripting documentation clearly says that zOrderPosition is available (read-only, which is fine) for all PageItem and Layer objects. The fact that it is relative to the parent group or layer is totally OK; it's good, in fact. Or it would be, if it wasn't useless because it is broken. "Internal Error" ? ngngn..
Some of the replies here point to possible workarounds using Document.pageItems, it's unforgiveable that such a workaround is necessary, but here is another, similar trick. It relies on an interesting (undocumented) aspect of how selections behave: If you select a bunch of objects in any order and then iterate through Document.selection, it turns out that the objects in the selection array have been sorted into proper z-order for you.
var doc = app.activeDocument;
var layer = doc.activeLayer; // select your parent layer before running this
// Convert a collection to a regular JS Array, so we can use concat()
function toArray(coll) {
    var arr = [];
    for (var i = 0; i < coll.length; ++i) {
        arr.push(coll[i]);
    return arr;
// Get all the objects in a layer and its descendent layers
function getAllPageItems(layer) {
     var items = toArray(layer.pageItems);
     for each (var sublayer in toArray(layer.layers)) {
          items = items.concat(getAllPageItems(sublayer));
     return items;
var items = getAllPageItems(layer);
// Some items here will not be in z-order.
for each (var item in items) {
     $.writeln(item);
$.writeln("---------------------------");
// Select everything in the active layer:
doc.selection = items;
//Notice that the objects have been resorted into z-order in doc.selection:
for each (item in doc.selection) {
     $.writeln(item);
Of course if you want to preserve the original layers without flattening, you'll have to do some additional, ridiculous stuff. But, hope this helps someone.
Anyone out there who looks at this and thinks "What an idiot, doesn't this guy know you can just do 'x' .." PLEASE correct me, and be as disparaging as you want. I will still thank you.

Similar Messages

  • Order type, Invoice type and Item categories for Nota Fiscal Brazil

    Hi eveyone,
    we have a company in Brazil implemented in SAP using a different SD Order type, Invoice Type and Item categories
    as our mother company in Switzerland. Reason of that is because of the nota fiscal customization for Brazilian legal requirements.
    We startet with a Project worldwide to rollout a global template within sales and distribution and are facing now exactly
    the problem with those different order type, item categories and Invoice type.
    Our local SAP partner in Brazil told as based on best practise we should have different types.
    I checked the customization and it seems I can't use e.g.: the same Order type for Brazil and Switzerland because
    the activation flag for nota fiscal is linked to the order type and no sales organization can be setted to slplitt the different processes.
    Someone knows if there are some possibilities (maybe trough user exits or badi's) to use globally the same dovument types, item categoreis... globally?
    Thanks in advance
    Gaspare Guttadauro

    Hi Gaspare Guttadauro,
    I would strongly recommend to use the different document types and item categories as suggested by SAP. Since Brazil do have one of the complex taxation process in place hence to determine correct pricing the different document type will be required. Also functionalities  like CFOP determination and nota fiscal relevance can be maintained.
    Please feel free to revert the forum in case of any doubts.
    Cheers
    Atul

  • Stacking order vs. Layers?

    I'm coming from working with layers in Photoshop and understanding how they work in there. Illustrator also has layers, though you are able to also change the stacking order of items on a given layer  by using the object > send to back or forward.
    1. Why would you want to send items to the front or back and not just use layers?
    2. When do you want to put an item on a new layer vs. just changing its stacking order?
    Thanks.

    Stan,
    The point you are missing is a conceptual problem common among many users who have some experience with Photoshop (or other raster image program), but next to none with programs like Illustrator (drawing programs) or InDesign (page assembly programs).
    The key difference is this: Fundamentally, a Photoshop file is, ultimately, one single raster image. An Illustrator (InD, CorelDraw, FreeHand, Canvas, Flash, Firworks, etc., etc.) file is a collection of individual objects.
    In object-based programs, all the objects are located somewhere in one big Z-stacking order. Think of Layers in these kinds of programs as just one heirarchal "level" of "grouping" contiguous objects within the stack. There are several other such organizational "levels". For example:
    AnchorPoints exist in the one big Z stacking order. Sets of contiguous anchorPoints are "grouped" (connected) into paths.
    Sets of contiguous paths are sometimes "grouped" (combined) into compound paths.
    Sets of contiguous objects—including paths and/or text objects and/or raster images (each with its own color model, color depth, rotation, scale, DPI)—can be "grouped" into Groups.
    Sets of contiguous objects can be "grouped" into (reside on) Layers.
    Groups can be nested. You can have Groups inside other Groups.
    Layers can be nested. You can have SubLayers inside other Layers.
    In Illustrator and some other vector drawing programs, the Layers palette does not just list Layers. It lists every object on each Layer.
    All this organizational scheme is useful and important because of that one fundamental difference: These are object based programs. Now compare this to Photoshop. Yes, a Photoshop document can have Layers. But what is a Photoshop Layer really? It's just another raster image of the same color mode, same color depth, and same pixel count as the Layer(s) underneath or above it. The color values of corresponding pixels in any of the channels of each Layer can be mathematically combined to result in the color you see in that pixel location on your monitor and in the final result. But you don't have a stack of independent raster images. Think about it: In Photoshop, you don't have a 100 PPI CMYK image in Layer 1 while you have a 300 PPI RGB image in Layer 2.
    But in an object-based program, you can have a stack of any number of raster images, and each one can be scaled independently without loosing any of its pixels. In other words, the pixels in individual raster images on the page can be different sizes from the pixels in other raster images on the same page. Then you can throw live text objects and paths into the mix, as well.
    So more elaborate and flexible ways to organize objects is critically important in these kinds of programs. Example:
    You set up a Layer to contain the background raster images of a magazine ad. There are several images, and they are independently scaled and positioned, sometimes overlapping. They need to be sorted in Z-order within that Layer. The Layer enables that particular set of objects (raster images) to be treated as if they were one object.
    In the same ad, you set up a Layer to contain the body text.
    In the same ad, you set up a Layer to contain the photo captions.
    In the same ad, you set up a Layer to contain an elaborate vector illustration.
    Within that vector illustration are hundreds of individual objects. Those are organized into subLayers and/or Groups. But the parent Illustration Layer lets you turn off visiblilty or lock the whole Illustration.
    And so on. So there are counless reasons "why you would want to send items to front or back" or change the stacking order of objects within a specific Layer—because there are countless situations in which different organizational levels make sense in terms of working efficiency. There is no single one-size-fits-all answer to your question. But trust me, all the Z-stack organizational "levels" are important. And they are all standard fare in object-based vector illustration and page layout programs.
    JET

  • Import Illustrator File with multiple layers and sublayers as composition retaining all layers and sublayers

    I have drawn a country map with multiple layers and sublayers including streets, cities, rail lines, ...
    Now I want to create a template for my collegues in After Effects.
    For this I want to import the .ai file into After Effects retaining all sublayers and layers in compositions and subcompositions.
    When I do that, I get the first couple of layers correctly, the other ones comes in one merged composition.
    What can I do, to get all layers each as a layer in After Effects?
    Yours, Raphael

    Illustrator only imports the first level of layers. If you have groups or paths below you need to release the groups to layers. The layers will then be stacked in order as sub layers. Then you need to move them up.
    The steps are to select a layer in the Illustrator layer panel, then without selecting any specific element in the layer click on the menu in the top right corner and select release to layers. All a elements in that layer will be converted to layers. Now select them all and drag them up above the original layer. This will leave the original layer empty and put all elements in new layers.
    Here's a tutorial I did a zillion years ago which uses this technique to turn a blend into a morph.
    Morphing With Adobe Illustrator. I hope this helps.

  • Example on one order framework using Guid and ref_guid on table level

    Hi Forum,
    I am new to CRM can someone explain me the one order framework in header and item level tables with an example. I am unable to figure out what is the difference. crmd_orderadm_h and crmd_orderadm_i tables how do we connect them in which field and how is GUID and REF_GUID Related.
    Thanks in Advance
    Mathew Hayden.

    Hi Mathew,
    The guid in  crmd_orderadm_h  table is the guid of a transaction header,for example of a contract.
    the guid in  crmd_orderadm_i table is the guid of a item of a transaction , for example item of a contract .
    the link between these two tables is the guid of crmd_orderadm_h table is the header field of
    crmd_orderadm_i table.
    Thanks.
    with regards,
    Taity

  • Randomise Layer Stacking Order in AE CS3

    Hi,
    I am working on a file with over 100 layers and wondered if anyone knew how to randomise layer stacking order?
    I have seen a plugin that can do it but it costs over $100!
    I cant believe that Adobe would not include this as a standard function within After Effects, seems like it would be really useful to alot of people!
    Anyway, if anybody knows of either a way i can do this or a free plug in that can do this it would be much appreciated!
    Thanks!
    J

    As Jonas mentioned, the KindaSorta script from Jeff Almasol does what you're looking for. A link to this script appears in the
    "Change the stacking order for selected layers" section of After Effects CS3 Help on the Web.
    In fact, many dozens of scripts from Jeff are linked to from the pages of After Effects CS3 Help on the Web.
    Try this Google search:
    almasol site:livedocs.adobe.com
    You'll find a wealth of great material from our scripting master.

  • Move a folder, sub-folders, and documents under that folder from one document library to another within a Workflow

    Hello,
    I'm building a workflow in SharePoint Designer 2010 (Unfortunately we are not on 13 yet), and in that workflow I need to move a folder (with all it's sub-folders and items) from one document library to another document library.
    I tried a copy item but that kept failing, I checked content type, columns, and permission and it all looks good.
    the other option I started looking into is to Create the folder in the document list and them move all the items under that folder to the new folder. However I can't figure out how to loop through each items in that folder.
    Has this issue been addressed? or does someone has a solution.
    I looked and searched and all I found was tutorials on moving single items into a folder, but not entire folders.
    Thanks
    Hani

    Why to take pain in creating a workflow that copies folders, sub-folders and all of its contents from one document library to another.
    Simply open your source and destination document library in Windows Explorer mode and start copying your folder, sub-folders and contents that you want to copy out of the box.
    You will find "Open with Explorer" button under the Library tab on the ribbon of document library.
    Please remember to click 'Mark as Answer' on the reply if it helps you

  • Dont find purchasing document and item in RESB table

    Hi Guys,
       **I have a requirement to find production order for puchase document and item and get product cost, for this i am trying to find the link between purchase docuemnt and production order (other than material) and i found RESB table but some how i dont find Purchase document information in that table the feild is blank , could anybody pls let me know how can i ahcieve this??
    And i found one datasource for this 2lis_02_ACC but that is pulling only when purchase document account assignment happend and i dont find my required values from that source also.
    Thanks,
    chandra.

    This is a case where I would go to the MM or PP functional consultant on the project, or the end customer, to determine how they would manually connect the dots to get from the purchase order to the production order.
    There are ways on going about this, but it depends on the configuration of your R3/ECC source environment and at what point the data is required. For instance, you might be able to go from:
      EKKN-EBELN = BSIK-EBELN
      EKKN-EBELP = BSIK-EBELP
      BSIK-AUFNR = AFKO-AUFNR
    This would be after account assignment.

  • Any questions on Order Management Header and Item level?

    Hi,
    If you are interviewing somebody...And the position he wants is SD consultant.
    What kind of questions will you raise on OM header level and item level??
    Order management--Questions on Header level
                                  Questions on item level
    Thanks, would be better if you could also attach the answer.
    Thanks!!

    Dear Hoo,
    ORDER MANAGEMENT & SALES
    1.Briefly describe the types and structure of the sales document and give examples of data
    that you find on the different levels.
    Sales*related business transactions are recorded in the system as sales documents. There are, broadly
    speaking, four different groupings of sales documents:
    Sales queries, such as inquiries and quotations
    Sales orders
    Outline agreements, such as contracts and scheduling agreements
    Customer problems and complaints, such as free of charge deliveries and credit memo requests.
    Header Data
    The general data that is valid for the entire document is recorded in the document header. This data
    includes the:
    number of the sold*to party
    number of the ship*to party and the payer
    document currency and exchange rate
    pricing elements for the entire document
    delivery date and shipping point
    Item Data
    Whereas data in the document header applies to all items in the document, some data applies only to
    specific items. This data is stored at item level and includes the:
    material number
    target quantity for outline agreements
    number of the shipto party and the payer (an alternative shipto party or payer can be defined for a
    particular item)
    plant and storage location specifications
    pricing elements for the individual items
    Schedule Line Data
    An item consists of one or more schedule lines. The schedule line contains all the data that is needed
    for a delivery. For example, a customer orders 20 pieces of a material and you enter this as an item in
    the sales order. However, you can only deliver 10 pieces now and the remaining 10 pieces next month.
    In other words, you need to schedule two deliveries. The data for these deliveries (dates, confirmed
    quantities) are stored in two separate schedule lines. In sales documents where delivery data is not
    relevant *for example: contracts, credit and debit memo requests * the system does not create any
    schedule lines.
    Data recorded in the schedule lines includes the:
    schedule line quantity
    delivery date
    confirmed quantity
    2.What is the difference between an inquiry and quotation ?
    . Inquiry: Request made to a vendor for a quotation for required materials or services.
    No availability check is done for inquiry.
    . Quotation: Offer from a vendor to a purchasing organization regarding the supply of materials
    or performance of services subject to predefined terms and conditions.
    A quotation consists of a number of items, in which the total quantity and delivery date of an
    offered material or service are specified.
    The total quantity can be subdivided into several partial quantities with different delivery dates in the
    lines of a delivery schedule.
    3.Do you always have to have a material master record number when you enter an item on a
    sales document (inquiry and quote)? If not what would you have to use to be able to enter
    information at item level?
    No. Customer Material Information or Material Description.
    4.If a customer doesn't place an order with you after you have sent him a quotation, what happens to
    the quotation document?
    Remains active till the end of validity period.
    5.Can you have alternative items in a sales order?
    Yes.
    6.If you reference an inquiry when creating a quotation ,would the inquiry be updated?
    Yes.
    7.Can you copy one inquiry to many quotations ?
    No.
    8.Can you copy several previous documents into one sales order?
    Yes.
    9.Do you always have to copy the entire quantities at item level when you reference a
    previous document?
    No.
    10.Can you make sure that business data in a sales order is only possible to maintain at header
    level?
    Yes.
    11.From where is the delivering plant transferred into the sales order?
    Customer Master, Material Master.
    12.Which partner function is relevant for the delivering plant? The soldtoparty ,
    billtoparty, payer, carrier or the ship* to* party?
    Ship*to party.
    13.Can you manually change the delivering plant in the sales order once it was defaulted from
    the master data?
    Yes.
    14.For what or why do you use the incompletion log?
    To have a complete document so that it doesnu2019t affect subsequent processes.
    15.Can you have different incompletion logs for different item categories? Schedule line
    categories?
    Yes.
    16.If a document is incomplete can you still save the document?
    Yes.
    17.Which reference status can a document have at item level? Which statuses at header level?
    Item level: Partial, Full.
    Header level: Full.
    18.What's the advantage of using text as a reference instead of duplicating it?
    Can be modified if needed.
    19.What three sources provide data for the creation of a sales document?
    Material Master, Customer Master, Previous referenced documents.
    20.Can you change addresses of partners manually in the sales document?
    Yes.
    21.Name several input tools that make order entry faster and give a definition of them?
    Customer Material Information, Product Proposal , Referencing Documents.
    22.In which business environment would you use only the single*line entry screen to create
    and save the order?
    Telephone Sales, Simple Business.
    23.If you do not specify the delivering plant in the sales order, what could the system then not
    do?
    Delivery Scheduling.
    24.For what would you use the fast change function in sales entry?
    Alternate Plants, Delivery or Billing Blocks
    25.Name two ways to control that customers can receive only certain materials?
    Material Listing, Exclusion.
    26.What does the item category control?
    General Data
    . Should pricing be carried out for the item?
    . When should an item be regarded as completed? A quotation item, for example, can only be
    regarded as completed if the entire quantity has been copied into a sales order.
    . Is it an item that refers to a material or is it a text item?
    . Are schedule lines allowed for the item?
    . May general business data, for example, the terms of payment at the item level, deviate from
    those at the header level?
    . Should a system message appear if the item cannot be fully delivered?
    . Which fields are relevant for the incompletion log?
    . Which partner functions are allowed at the item level and which are mandatory?
    . Which output (for example, an order confirmation) is allowed for the business transaction and
    which output determination procedure is used?
    Shipping Data
    . Is an item relevant for delivery?
    . Should the weight and the volume of an item be determined?
    Billing Data
    . Is an item relevant for billing?
    . Should the cost of the item be determined?
    . Is it a statistical item? Pricing is carried out for statistical items. However, they are not added
    to the value of the order, that is, the customer is not charged for them.
    . Should a billing block be set automatically for an item? For example, this may be important for
    items whose prices have to be clarified before billing
    . Is it a returns item?
    . Name the influencing factors for determining the item category in the sales document?
    . Sales Document type, Item Category Group, Higher Level Item, Item Usage.
    . Name the influencing factors for determining the scehdule line category in the sales document?
    . Item Category, MRP Type.
    . What does the sales document type control?
    General Data
    . Can the document be entered only with reference to a preceding document?
    . Should the existing customer
    . material info record be taken into consideration?
    . Should the delivery date be proposed?
    . Must a customer number be entered when creating a document? For example, product
    proposals can be entered without reference to a particular customer.
    . Which order probability is defined?
    . Should the division be taken from the material master record for every item or should an
    alternative division specified in the header take precedence over the item specifications?
    . How should the system respond if the division entered in the header deviates from the division
    in the items?
    . Should a credit limit check be made?
    . From which number range should the document number for internal or external number
    assignment come?
    . Which fields are relevant for the incompletion log? The validity period, for example, is
    important for contracts and must therefore be specified in the document.
    . Can an incomplete document be saved or must all data be complete?
    . Which partner functions are allowed and which ones are mandatory?
    Shipping Data
    . Which delivery type should the delivery resulting from the order have?
    . Should delivery scheduling be carried out?
    . Should transportation scheduling be carried out?
    . Should a delivery block be set automatically for a specific reason? For example, a delivery
    block may be appropriate for a freeofcharge delivery.
    . You can define shipping conditions for a sales document type. These are copied into the
    document regardless of what is defined in the customer master record.
    Billing Data
    -->Which billing type should the invoice resulting from the order or the delivery have?
    Should a billing block be set automatically for a specific reason? For example, a billing block may be
    appropriate if a credit memo request should first be checked before it is used as the basis for a credit
    memo.
    -->Can the sales document type be determined by the system?
    No.
    -->In R/3, can you automatically substitute one product for another? How? What would you
    have to create?
    Yes. Product Selection / Material Determination.
    -->Give a definition of replenishment lead time?
    Total time for the inhouse production or for the external procurement of a product. In inhouse
    production the replenishment lead time is determined to cover all BOM levels.
    What's the difference between checking availability with or without replenishment lead time (RLT)?
    With RLT : Availability check is done only upto end of RLT. If material is not available the date on
    which RLT ends is displayed as Material Availability Date.
    Without RLT : Availability check is unrestricted. Displays Delivery Dates as on which partial deliveries
    can be made with available stock.
    -->Name at least three item categories?
    Standard Items : AFN, AGN, TAN.
    Free of charge Items: AFNN, AGNN, TANN.
    Non*stock Items : AFX, AGX, TAX.
    Text Items : AFTX, AGTX, TATX.
    -->Why would you use different item and schedule line categories?
    Item categories are defined to provide additional control functions for the sales documents and thus
    meet the demands resulting from the different business transactions.
    The items in a sales document are divided into one or more schedule lines. These schedule lines differ
    from each other with respect to date and quantity. For some schedule lines, material requirements
    planning is not carried out; for other schedule lines, it is carried out. Also goods receipt, not goods
    issue, is posted for a schedule line defined in a returns document.
    -->Can you change existing standard item categories?
    Yes.
    -->Can you create new sales order types?
    Yes.
    -->Different dates will be calculated in order entry scheduling . Can you name the lead time
    variables that will be taken into account?
    Transportation lead time, Pick/pack time, Loading time, Transit time .
    If you run out of stock in a specific plant can you check if there are quantities available in other plants?
    Yes.
    -->When you carry out availability check, which quantities or movements can the system take
    into consideration?
    The following elements can be included in the availability check:
    Stocks : safety stock, stock in transfer, stock in quality inspection, blocked stock.
    Inward and outward movements : purchase orders, purchase requisitions, planned orders, production
    orders, reservations, dependent reservations, dependent requirements, sales requirements, delivery
    requirements.
    -->Give some examples of sales document types (description, not necessary the short code)
    that already set up in the standard system?
    Indicator used to control the processing of the various sales documents which are defined in the
    system. E.g., OR, SO, BV, KR. Document types allow the system to process different kinds of business
    transactions, such as standard orders and credit memo requests, in different ways.
    -->Can you maintain texts for a specific customer and store them in the system? If yes, where?
    Yes. Customer Material Information.
    -->When the system checks availability which scheduling would it use first?
    Backward Scheduling.
    -->Name the influencing factors for the determination of the availability date?
    The following data is required for determining this date:
    Route from the shipping point to the ship*to party location
    Shipping point from which the goods are issued
    Loading group from the material master record
    Weight group determined from the order using the order quantity.
    -->Name the three delivery possibilities when there is not enough stock available?
    One Time Delivery, Complete Delivery, Partial Deliveries.
    -->Can you think of an example why you would have to create a text for a customer and copy it
    to the sales order?
    Customer specific instructions.
    -->What is the function of item category group?
    The item category group determines how a material is processed in the sales order. It defines, for
    example, that pricing does not take place for a free of charge item, such as a business gift; or that
    inventory management is not carried out for a service. When processing sales and distribution
    documents, the system uses the item category group to determine the item category. The system
    determines the item category based on the item category group of the material and the current
    business transaction, and proposes it in the respective document.
    When creating the material types non*stock material and services, DIEN is proposed in both cases for
    the item category group, because the order processing for both material types is identical: for
    example, pricing is carried out for both, but no availability check.
    -->On sales order, when the system confirms 20 pieces to be available at a certain date, would
    these 20 pieces still be available for other new sales order coming in later?
    No.
    -->What is a delivery group and why would you use it?
    The complete delivery and delivery group functions enable you to combine some or all of the items in a
    sales order so that they are delivered to the customer together. The system determines automatically
    the latest delivery date possible for the delivery group and adjusts the schedule lines accordingly.
    Corresponding requirements for material requirements planning (MRP) are changed or re*determined.
    -->What is backorder processing?
    The backorder processing functions enable you to list relevant sales documents for specific materials
    and process them from the point of view of availability. You can assign available to promise (ATP)
    stock to outstanding order quantities. In addition, you can withdraw already confirmed quantities and
    reassign them to different items.
    Backorder processing is only available for materials with individual requirements.
    -->Can you link items in a sales order? If yes, when would you do that?
    Yes. Promotional Items.
    -->For what would you use BOMu2019S in sales? What two methods of BOM processing do you have
    in sales order entry? How can you control if the system should/should not explode a BOM in
    the sales order.
    A bill of material (BOM) describes the different components that together create a product. A BOM for
    a bicycle, for example, consists of all the parts that make up the bicycle: the frame, the saddle,
    wheels, and so on. When you enter the material number of a bill of materials that is relevant for sales
    order processing, the system displays the material that describes the whole bill of materials as a main
    item. The components are displayed as sub*items.
    Processing by Main Item : ERLA & Processing by Sub*Item : LUMF
    BOM explosion can be prevented by specifying Item Category Group as NORM.
    Credit limit checks is an example of a very close link between which two SAP modules?
    SD & FI.
    -->What are the two techniques in delivery scheduling?
    Backward Scheduling & Forward Scheduling.
    -->How does a third party deal work? Do you use a special sales order type for that? How could
    the system know that you want to process a third party deal?
    By specifying item category as TAS using double*line entry in the sales order.
    No special order type is available.
    By the item category group and/or material type in Material Master .
    Name the several steps in consignment processing.
    Consignment fillup, Consignment issue, Consignment pickup, Consignment return.
    Whatu2019s the difference between consignment pick*up and consignment return?
    In consignment pick*up, customer returns consignment stock. When goods issue is posted, the
    relevant quantity is deducted from the customer's special stock and is added back to regular stock at
    the plant where the goods are returned. Total valuated stock remains the same since the returned
    stock was regarded as part of inventory even while it was at the customer's premises.This transaction
    is not relevant for billing.
    In consignment return, customer wishes to claim on consignment goods which have already been
    issued. When goods issue is posted, the relevant quantity is added to the customer's special stock at
    the plant where the goods are returned. Since the ownership of the goods is passed from the customer
    back to the company, the transaction is relevant for billing. In this case, the customer receives a credit
    memo for the returned goods.
    -->Can you control that an end user cannot copy a quote of customer A to a sales order for
    customer B? If yes, where?
    Yes. By customizing Copying Control for header data.
    Give some example for data that is copied from the customer (soldto, payer, shipto) to the sales
    order as well as for data that is copied from the material?
    General data, payment terms, shipping details, delivery agreements, delivering plant.
    -->What is returnable packaging processing?
    Returnable packaging consists of materials that are stored at the customer location but which remain
    the property of the company. The customer is only required to pay for the returnable packaging if he
    does not return it by a specified time.
    Name the two outline agreements in R/3 standard and explain the difference between them.
    Agreements are arrangements between business partners regarding the granting of conditions over a
    specified time period. The agreement contains conditions which apply over a particular time period and
    which are settled together at the same points in time. An agreement can be settled once or
    periodically. The two outline agreements include Contracts and Scheduling Agreements.
    Unlike a contract * which only contains an overall target quantity or value * a scheduling agreement
    also contains specific order quantities and delivery dates.
    -->How many documents do you create when you release, deliver and invoice the first order
    from a contract?
    Three : Sales order, Delivery note, Invoice.
    -->What types of output can you have in sales?
    Printer, Telex, Fax, Mail, EDI.
    -->Can you automate output processing ? Do you always have to specify it manually?
    yes. No.
    -->Where would you specify which data should be copied (at header, item and schedule line
    level)when you copy from one document to another one?
    Customizing Copy Control.
    I hope it will help you,
    Regards,
    Murali.

  • Swap between two different item categories in sales orders for sub-contracting

    Dear gurus,
    my requirement is to have the ability to swap between two different item categories for sales orders for sub-contracting.
    This should be controlled by a combination of the material and a value maintained the Usage field in the Customer Material Info Record (for example by entering a ‘V’).  A combination of Sales Doc Type, Item Cat Group and Usage should result in the creation of a purchase requisition.
    In the event that a process order is required instead of a purchase requisition (i.e. the product is to be manufactured in-house instead of sub-contracted) the user must have the ability to change the Item Category within the sales order to produce a process order.
    The user would just change the item category within the sales order, and the system would automatically remove the purchase requisition assigned to the SO, and create a process order and assign it to the SO.
    Can you suggest any possible solution?
    Thank you in advance.

    Hi Majlo,
    In my system, I checked.  First created sales order with third party line item and then changed item category to normal item category.
    Till Purchase order not created, I can change Item category of my sales order line item.
    In this case SAP inform by log and once save delete purchase requisition of that line item .
    For this you need to assign another item category as an manual item category in SPRO Item category assignment.
    After this user can manually change item category to other one manually, if PO do not exist.
    Please let me know if your query is different.
    Regards

  • Order type and Item category group

    Can anyone tell me which is the relation between order type and Item category group from material master ??
    In fact the problem is that I have created a material and when I want to create new sales order it gives me this errror:
    "No item category available (Table T184 ZORDER ZITGR)"
    Is there a tranzaction where I can assign Item category group ZITGR to sale order type ZORDER or something like that??
    What should i do?

    Hi Dan,
    Goto T-Code VOV4 and maintain the table
    Sales Doc type + Item Category Group + Usage + Higher level Item Category = Item Category
    TA + NORM + Nil + Nil = TAN
    If you have Customized your own Document Type and Item Category Group and Item Category then give your
    Sales Doc type (ZORDER)+ Item Category Group (ZITGR)+ Usage + Higher level Item Category = Item Category (ZTAN)
    Reward if helpful
    Regards PAVAN

  • Purchase Order Number in Vendor Line Item (FBl1N) and Clear Vendor (F-44)

    Hello,
    I am not getting the Purchase Order Number in Vendor Line Item.(FBl1N).
    Also during Clear of Vendor through F-44 i am not able to identify the Line item on the basis of Purchase Order Number.
    Could any one pleae help me out on this issue as i have to clear the vendor Line item in mass.
    Thanks
    Nitin Jindal
    Moderator: Please, respect the rules of the forum and search SDN before posting new thread. This question has been answered several times. Also, please choose proper forum to post your questions; this one is related to Financials and not to Controlling

    Based on my experience std feature from SD-FI . Depending on the SD Billing config which can be by delivery(VTFL) or sales order(VTFA). You can assign options of A: Cust PO No. B Sales order no. C Delivery no. D External delivery no.  E Actual invoice number to available header fields of Assignment No. or Reference No. Try it out

  • How to report Invoice details and also the related Purchase order details

    Hello,
    Any suggestions on How to Report both Invoice details and the related Purchase Order details.
    Ex:
    INvoice Line items Amounts /Qty
    PO Line Items Amounts /Qty
    Thanks in advance
    Jagadish

    Hello,
    Any suggestions on How to Report both Invoice details and the related Purchase Order details.
    Ex:
    INvoice Line items Amounts /Qty
    PO Line Items Amounts /Qty
    Thanks in advance
    Jagadish

  • Is there a way to color layers and sub layers in Fireworks?

    Hello all,
    I'm trying to find a way to colorize the layers and sub layers in the layer panel in Fireworks CS5.5, like you can in Photoshop. I work in a small web design company doing GUI design and when I pass the files on to the developers they are asking for easier ways to sort the content of various layers and sublayers at a glance. In Photoshop you can apply a color to a layer or group in the layrs panel and that works great for an internal labeling scheme. Is there anything like this built into Fireworks or are there any add-ons from a 3rd party etc. that would allow this? It wold save a lot of trouble and time for us. I can't find anything anywhere about it, but it may be that my search terminology is poor. I'm not sure how you would word a search for this kind of feature. I keep getting information about applying colors to shapes etc rather than colorzing the labeling of layers panel itself.
    Thanks in advance for any help or information!

    Thanks for the information,
    I was relatively certain there wasn't a native way to do this. I was hoping maybe someone had created a plug-in but as you say, I could see where it would be very difficult to modify the internal workings of the software like that.
    I went ahead and put in a feature request per the link you provided... maybe someday that will do some good haha! I use sublayers and pages currently and have on a few occasions used states. I have a few options that are open to me if it were just me doing the work but I work with a couple developers and they know how to get around in Fireworks enough to make a slice and select needed objetcs (as long as I group complex shapes and mult-tier effects) but that is about all they do and are willing to know about "design" software lol! They like the sublayers because I think it's similar in behavior to the database and coding software they use. I have convinced them of the beauty of pages for alternate colors and versions of the same site but that is about as far as they are willing to go right now.
    They want to mainly be able to quickly turn off specific text and certain effect layers as needed so they can sort slicing faster and see where the desired objects and layers are at a glance. We've been using sub layers to break things up between these components but they aren't as happy with that because it still means often having to read the names on the layers palette and when you have an extensive project with many items in the layers panel, it gets hard to read at times. It also addes even more folders to sort through becuase of the high level of specicifity. It's not a deal breaker, just a way to speed up the workflow and keep tension down haha! The onion method sounds interesting but I'll have to demo it first and see how easy it is to fool with hiding various combinations... you know how "coders" can be sometimes
    Thanks for the input! Here's to hoping Adobe thinks this feature is worth it in the future! Can't see where it would be terribly difficult to add!

  • Help needed with layers stacking order

    Hi all
    I have been using Photoshop for 5 years and feel confident in its use, however, and you may think this is a little strange, I have never understood stacking order.
    I some how just fell into the habit of applyng a layer and flattening. Now i really want to get over this hurdle so that i can save important images unflattened for further re-adjustment later.
    I have browsed the web for two days and found nothing that helps me. The crux of the issue is that i get to a point where i have applied maybe three adjustment layers and then aaply say a sharpening layer only to find i cannot see its effect on the image due to its order in the stack. This is what i reall need help with.
    Can anyone point me in the right direction?
    Thanks
    Peter

    The way I deal with issues like this is by toggling the "eye-cons" in the
    layer palette to hide and show the various layers. In general, sharpening
    should be done on the uppermost layer, but this can be problematic if you
    have several layers, each with pixel data.
    One technique that might interest you would be creating a sharpening layer.
    For the simplest case, duping the original image, applying the high pass
    filter, using the same radius you would for Unsharp Mask, and set the mode
    to Overlay. I have this assigned to an action, attached to a function key.
    Set the transparency to the amount (up to 100) that you would use for that
    filter as well. If you need more sharpening, you can approximate this by
    duping the sharpening layer. Use a layer mask and/or erase the sharpening
    layer to control which areas are sharpened. Adjustment layers and other
    changes can be applied either above or below the sharpening layer.
    For more complex images, for example a group portrait with several layers
    for the different people in the image, the sharpen layer needs to be
    created by duping the entire image, flattening it, running high pass,
    dragging the resulting layer onto your original image, and setting the mode
    to Overlay.
    If you clone or otherwise change the objects in the image, the sharpen
    layer needs to be recreated.

Maybe you are looking for