One to one mapping issue - urgent

Dear all SAP Experts,
Client is requiring when we do Gate entry pass  one to one mapping ie, 1 gr = 1 GRn.
Can you explain
regards,
ramanar

I think, you want to sent a material outside & get back after some time.
In SAP there is no option for creating Gate Pass in standard.
But, try the below suggested procedure as a work around process;
Repair Process (Reconditioning) via Returnable Gate Pass: -
1. MM01 - Create Material Master for every Spare Part / Machinery to be sent to Vendor for Repair (Reconditioning) as Non-Valuated (Material Type "UNBW") (Do not extend Accounting and Costing views since you don't require postings of Stock value and consumption values, you only want to track the Service/Repair Charges)
It's not necessary to have materials as Non-Valuated always, it depends on your requirement.
2. MIGO - Goods Receipt > Others (Receive the quantities of these materials using Movement Type 501 / 511) - Only if Stock of Material is not available.
3. ME21N - Create Subcontracting PO (Here Main Material and Component will be same material)
4. MB1B - Transfer Posting w.r.t. Subcon PO (Mvmt Type - 541, Spare Part stock will get posted to Vendor Stock)
5. MB90 - Take Print out of this Material Doc as Returnable Gate Pass (U need to configure Message Determination of Inventory Mgmt)
6. MIGO - GR against Subcon PO (101 - Receive Spare Part, 543 O - Consumption of Spare Part form Vendor Stock)
7. MIRO - LIV for Service Charges w.r.t. Subcon PO
8. MIGO - Goods Issue > Others (Do GI of Subcontracted Material using Movement Type 502 or 512)

Similar Messages

  • Inheritance and One-To-Many Mapping Issue

    Are there any known issues with TopLink 4.6 mapping a one-to-many relationship where the classes in the list span more than 2 levels deep in the inheritance chain? We seem to notice that TopLink creates the class that is 2 levels deep before the owning class.

    Sorry for the delayed response to your post. I'm not sure I follow what you mean by "owning class". You have a 1-M mapping where the M has inheritance. Are you mapping to the root of the inhertance hierarchy, or to a leaf class? I.e., do you have a 1-M "Company - Employee" or a 1-M "Company - SalariedEmployee". In this example, what would you call the "owning class"?
    - Don

  • Mapping Issue - Urgent

    Source
    <source>
    <Record>
    <Date>5/15/2008</Date>
    <DocType>ZL</DocType>
    <CompCode>1010</CompCode>
    <GL_Account>21300119</GL_Account>
    <Amount>14,357.83</Amount>
    </Record>
    <Date>5/5/2008</Date>
    <DocType>ZL</DocType>
    <CompCode>1020</CompCode>
    <GL_Account>21300119</GL_Account>
    <Amount>60.00</Amount>
    </Record>
    </source>
    Expected Target:
    <Target>
    <Record>
    <Date>5/15/2008</Date>
    <DocType>ZL</DocType>
    <CompCode>1010</CompCode>
    <GL_Account>21300119</GL_Account>
    <Amount>14,357.83</Amount>
    </Record>
    </Target>
    <Target>
    <Record>
    <Date>5/5/2008</Date>
    <DocType>ZL</DocType>
    <CompCode>1020</CompCode>
    <GL_Account>21300119</GL_Account>
    <Amount>60.00</Amount>
    </Record>
    </Target>
    I tried and I was able to produce, multiple targets nodes but not the record element in target elements.
    When the "dateCompcode" changes a target node should be generated and all records having same "dateCompcode" should be in one target.
    reg

    I think the date comes in the asending order
    Just have a look at this pay load:
    <MT_Source>
    <Record>
    <Date>5/15/2008</Date>
    <DocType>ZL</DocType>
    <CompCode>1010</CompCode>
    <GL_Account>21300119</GL_Account>
    <Amount>14,357.83</Amount>
    </Record>
    <Record>
    <Date>5/15/2008</Date>
    <DocType>ZL</DocType>
    <CompCode>1010</CompCode>
    <GL_Account>21300119</GL_Account>
    <Amount>242.85</Amount>
    </Record>
    <Record>
    <Date>05/12/2008</Date>
    <DocType>ZL</DocType>
    <CompCode>1020</CompCode>
    <GL_Account>21300119</GL_Account>
    <Amount>14,357.83</Amount>
    </Record>
    <Record>
    <Date>05/12/2008</Date>
    <DocType>ZL</DocType>
    <CompCode>1010</CompCode>
    <GL_Account>21300119</GL_Account>
    <Amount>14,357.83</Amount>
    </Record>
    </MT_Source>
    What I am looking at is that, whenever the datecompCode changes, New Node of MT_Target is created and all the records with same datecompCode will come under one MT_Target Node
    Like:
    <MT_Target>
    <Record>
    *<Date>5/15/2008</Date>*
    <DocType>ZL</DocType>
    *<CompCode>1010</CompCode>*
    <GL_Account>21300119</GL_Account>
    <Amount>14,357.83</Amount>
    </Record>
    <Record>
    *<Date>5/15/2008</Date>*
    <DocType>ZL</DocType>
    *<CompCode>1010</CompCode>*
    <GL_Account>21300119</GL_Account>
    <Amount>242.85</Amount>
    </Record>
    </MT_Target>
    <MT_Target>
    <Record>
    *<Date>05/12/2008</Date>*
    <DocType>ZL</DocType>
    *<CompCode>1020</CompCode>*
    <GL_Account>21300119</GL_Account>
    <Amount>14,357.83</Amount>
    </Record>
    </MT_Target>
    <MT_Target>
    <Record>
    *<Date>05/12/2008</Date>*
    <DocType>ZL</DocType>
    *<CompCode>1010</CompCode>*
    <GL_Account>21300119</GL_Account>
    <Amount>14,357.83</Amount>
    </Record>
    </MT_Target>

  • ESB Data Mapping Issue: Urgent

    Hello,
    We have a ESB Process.
    In ESB Routing rule we are mapping source Xsd to Target Xsd. Both XSD's have 100 field.
    When We Invoke the ESB Process, It's completed with error. We know the error reason (That is: Target field size is shorter than what we are getting in the source field.)
    We wanted to know which field is causing a error in ESB.
    Can we capture the error (i.e. Which target field size is shorter), If yes then what are the different ways to track this error.
    Any help on this appriciated
    Thanks,
    AB

    Hello Adam,
    Thanks for your reply. Can you tell me the location of log file.
    is ther any another way to track this error.
    Thank youm
    AB

  • ASA5525X - 8.6(1)2 and One-To-One Static Mapping Issue

    Just started working with the post 8.3 CLI.
    Traffic from outside to inside is translated correctly, but inside to outside is using the outside Interface IP instead of the mapped IP, 50.50.50.50.
    I know I'm missing something small here.
    This is the config that was build using ASDM.
    Outside IP: 50.50.50.50
    Inside IP: 10.10.10.10
    object network TEST
    host 50.50.50.50
    description One-To-One NAT 50.50.50.50/10.10.10.10
    object network TEST-priv
    host 10.10.10.10
    description One-To-One NAT 50.50.50.50/10.10.10.10
    object network TEST-priv
    nat (inside,outside) static TEST
    nat (inside,outside) source dynamic IN2OUT interface description PAT Overload Using Interface Public IP
    object network IN2OUT
    subnet 0.0.0.0 0.0.0.0
    description Inside To Outside NAT
    Note: ASDM created object TEST-priv twice. One on top and one below the NAT configs.

    Hello Robert,
    The problem here is the nat order.
    Twice nat are review first so in order to make this work do the following on the CLI.
    no nat (inside,outside) source dynamic IN2OUT interface description PAT Overload Using Interface Public IP
    nat (inside,outside) after-auto source dynamic IN2OUT interface description PAT Overload Using Interface Public IP
    Remember to rate all of the answers, for the community that is more important that a thank
    Regards,
    Julio

  • Please help: Two-Sided One-to-One Mapping issues warning when owned instance does not exist

    Hello,
    Is it expected behavior? I have two classes A and B, B references A and its
    foreign key column is its PK
    A owns B (marked as inverse-owner in JDO metadata) when I access A.getB() if
    B does not exist I get a warning.
    Is it to be expected? Does two sided relation always require presence of
    both sides of the relation and does nto fit my need?
    Is there any way to have bi-directional association in my case with owned
    record being optional?
    Should I use two simple one sided one-to-one or may be simple one sided from
    child to owner and One-to-One with Inverse Columns from owner to child
    What are disadvantages of using two one sided (simple and inverse) vs.
    two-sided?
    Thank you
    Alex

    Here is what I had to do to solve this issue:
    Basically I had to add the MSSQL TCP/IP port as an end-point in Azure. After I did that, then I was able to create the data-source. However, I was only able to authenticate with a SQL account, as any domain account would return me an error saying that the
    domain isn't trusted.
    What puzzles me here is how come the Data Source Manager would inform me that an account username/password was invalid, but it would fail/timeout if I provided valid credentials (!?!?!!?)

  • One to many mapping

    Having trouble with the following poblem.. specially how to code getChildren??????? Help urgent
    Create a class called Families which creates a one-to-many mapping of parent name (String) to Child objects. Create any needed member variables and write the two specified methods. (You do not need to write the Child class.)
    class Families {
    public void addToFamily( String parent, Child child) {
    public List getChildren( String parent) {
    I have done the following..
    import java.util.ArrayList;
    import java.util.List;
    class Families {
    private String parentName;
    List <child> children = new ArrayList();
    public Families(String name){
    this.parentName = name;
    public void addToFamily( String parent, child kid) {
    Families f = new Families(parent);
         f.children.add(kid);      
    public List<child> getChildren( String parent) {
         return this.children;
    }

    Having trouble with the following poblem.. specially
    how to code getChildren??????? Help urgent
    Create a class called Families which creates a
    one-to-many mapping of parent name (String) to Child
    objects. Create any needed member variables and write
    the two specified methods. This key:
    (You do not need to write the Child class.)How can the following line possibly work?
    List <child> children = new ArrayList();It's not syntactically correct, AND you're not writing the Child class.
    %

  • Variable One-to-one mapping

    i am working on variable one-to-one mapping. i am unable to figure out how to work on it. can anybody provide an example on how to implement it from java and toplink perspectives.

    Thank you. I have gone through the links. i used class indicator field method. I am still getting error saying
    "Exception Description: Missing descriptor for [class java.lang.String]. Verify that the descriptor has been properly registered with the Session."
    My code and table structure is as below.
    Interface - VariableOneToOne
    Implementation classes: Phone and Email
    Table Structure:
    Employee Table:
    ID (PK)
    Name
    TYPE (mapped as variable one-to-one)
    C_ID(FK to eid and pid)
    Phone Table:
    pid (PK)
    phnumber
    Email Table:
    eid (PK)
    emailaddress
    "TYPE" is of string type. "Phone" or "Email" is sent from this attribute. Toplink instantiates the respective class from the configurations specified in the variable one-to-one mapping of "TYPE" attribute in workbench.
    The classes and interface code is as below:
    Inteface:
    package com.cts;
    public interface VariableOneToOne {
         public int getId();
         public void setId(int id);
    Employee Class:
    package com.cts;
    public class Employee2{
         protected int id;
         protected String name;
         protected String type;
         protected VariableOneToOne phone;
         protected VariableOneToOne email;
         public Employee2()
              this.id = 0;
              this.name = null;
              this.type = null;
              this.phone = null;
              this.email = null;
         public int getId() {
              return id;
         public void setId(int id) {
              this.id = id;
         public String getName() {
              return name;
         public void setName(String name) {
              this.name = name;
         public String getType() {
              return type;
         public VariableOneToOne getEmail() {
              return email;
         public void setEmail(VariableOneToOne email) {
              this.email = email;
         public VariableOneToOne getPhone() {
              return phone;
         public void setPhone(VariableOneToOne phone) {
              this.phone = phone;
         public void setType(String type) {
              this.type = type;
    Email Class:
    package com.cts;
    public class Email2 implements VariableOneToOne {
         protected int id;
         protected String email;
         public Email2() {
              this.id = 0;
              this.email = null;
         public String getEmail() {
              return email;
         public void setEmail(String email) {
              this.email = email;
         public int getId() {
              return id;
         public void setId(int id) {
              this.id = id;
    Phone Class:
    package com.cts;
    public class Phone2 implements VariableOneToOne {
         protected int id;
         protected String phone;
         public Phone2()
              this.id = 0;
              this.phone = null;
         public int getId() {
              return id;
         public void setId(int id) {
              this.id = id;
         public String getPhone() {
              return phone;
         public void setPhone(String phone) {
              this.phone = phone;
    Please advice on resolving the issue.
    Thanks in advance.

  • No cache hit on one-to-one mapping

    I am experimenting with toplink and have found that toplink does not use cache when I read a object having one-to-one mapping with other object that have been already in memory.
    e.g. I have an employee class that have a field with one-to-one mapping (with no indirection) to a department class
    I have two objects of the employee class, that share the same object of department class (they work in the same department)
    When I read (using readObject ) first object of the employee class, I expect an referenced object of the department class is read and placed in the session cache.
    However when I read second object of the employee class, I recognized that toplink again issue SQL command to read the department class's object

    Hello,
    Is employee-> department mapping using the full department pk in the reference? TopLink by default uses the check cache by primary key on all queries. This means that when the Employee object is built, it will query for the department object. This will cause it to search the cache for the department object only if it can create the full pk from the foreign key fields in the employee table, otherwise it will go to the database. Even though it may go to the database, it will still return the object from the cache to maintain object identity - it will only build the department object if one does not already exist with that pk in the cache.
    Another circumstance this behaviour could occur is if the department object is removed from the identity map through garbage collection, or if no identitymap is being used.
    Please check http://download-west.oracle.com/docs/cd/B10464_01/web.904/b10313/queries.htm#1134704
    for info on TopLink queries with respect to the cache. If this is what is happening in your case and you want to have this specific department query go to the cache first, you can change it using an ammendment method on the employee descriptor. in the ammendment method, you will need to get the department mapping and use the getSelectionQuery() api to modify the associated query.
    Best Regards,
    Chris Delahunt

  • How to create a one to one bidirectional mapping

    Hi,
    I'm trying to create a one to one bidirectional mapping. To simplify, I tried to modify the TwoTierEmployee sample in order to turn the one to one mapping between Employee and Address into a bidirectional one.
    First I have added a new attribute ("employee") to the Address descriptor and I mapped it in a one to one relationship with the "address" attribute of the Employee descriptor, by using the same EMPLOYEE_ADDRESS foreign key as a target one (checked "Target Foreign Key"). Afterwards, in the Employee descriptor I checked the address attribute "Maintain Bidirectional Relanship" check box and I selected "employee" in the "Relationship Partner" combo box. At that moment I got the following TopLink error message (sorry, that's in french):
    "Le mapping de partenaires indiqué ne désigne pas ce mapping comme étant son propre partnenaire"
    meaning something like:
    "The partner's mapping doesn't indicate this mapping as being its own partner"
    Since I didn't find any sample of bidirectional one to one relationship neither in the documentation nore in tutorials, any help would be highly apreciated.
    Many thanks in advance,
    Nicolas

    Hi Nicolas,
    The intent behind this particular error message is that for a bidirectional mapping, there need to be two equal partner mappings. It looks like in this case that you intend the Address.employee mapping to be paired with the Employee.address mapping. It could be simply that you haven't selected the Address.employee mapping's relationship partner (Employee.address). But if you have chosen the partner mapping on both mappings, and it still gives you the error message, then it looks to be incorrect behavior. If that is the case, if you could provide us with your version information, we can make sure that that issue is recorded.

  • One-Sided One-to-Many Mapping

    Hi,
    the manual says: "You can, however, have one-sided one-to-many mappings in
    which the back-reference only exists in the database, and is not
    represented by any Java field. The mapping tool never creates a one-sided
    one-to-many relation like this; you can only create it by writing the
    mapping data yourself, and then only on an existing schema that supports
    it."
    I don't understand the meaning of the phrase "only on an existing schema
    that supports it". Does that mean it's not supported for all databases
    (which are supported)? And what does it mean "on an existing schema"?
    thanks
    Reto

    Whoops. Got it backwards.
    Should be
    q.declareParameters ("Article article");
    q.setFilter ("articles.contains (article)");
    Collection results = (Collection) q.execute (article);
    Stephen Kim wrote:
    If this is a one to many, Article can just return its owning magazine
    field.
    Otherwise you can issue a query usch as:
    Query q = pm.newQuery (Magazine.class);
    q.declareParameters ("magazine");
    q.setFilter ("articles.contains (magazine)");
    Collection results = (Collection) q.execute (magazine);
    bamboo wrote:
    Following is the example, the question is how can I get the magazine
    instance if I have an Article instance? Thanks.
    Java class:
    public class Magazine
    private Set articles;
    ... class content ...
    Schema:
    <table name="MAGAZINE">
    <column name="JDOID" type="bigint"/>
    <pk column="JDOID"/>
    ... columns for magazine fields ...
    </table>
    <table name="ARTICLE">
    ... primary key columns ...
    <column name="MAG_ID" type="bigint"/>
    <fk to-table="MAGAZINE">
    <join column="MAG_ID" to-column="JDOID"/>
    </fk>
    ... columns for article fields ...
    </table>
    JDO metadata:
    <class name="Magazine">
    <field name="articles">
    <collection element-type="Article"/>
    </field>
    ... rest of field metadata ...
    </class>
    Mapping information using the mapping XML format:
    <class name="Magazine">
    ... class mapping ...
    ... indicator mappings ...
    <field name="articles">
    <jdbc-field-map type="one-many" table="ARTICLE"
    ref-column.JDOID="MAG_ID"/>
    </field>
    ... rest of field mappings ...
    </class>
    Steve Kim
    [email protected]
    SolarMetric Inc.
    http://www.solarmetric.com

  • How to use XSLT for mapping feild names one by one to array element

    I have a XSLT case to map all the attributes feild name(not value) which has no child to the target, which is array loop.
    I give an sample below.
    source:
    <Items xmlns="http://www.example.org/sample">
    <SourceSystem>SourceSystem2573</SourceSystem>
    <TimeStamp>2010-01-17T20:54:08.234</TimeStamp>
    <Item>
    <ID>2574</ID>
    <Type>2575</Type>
    <Name>2576</Name>
    </Item>
    </Items>
    source XSD like:
         <element name="Items" type="tns:ItemsType"></element>
         <complexType name="ItemsType">
              <sequence>
                   <element name="SourceSystem" type="string" maxOccurs="1"
                        minOccurs="1">
                   </element>
                   <element name="TimeStamp" type="dateTime" maxOccurs="1"
                        minOccurs="1">
                   </element>
                   <element name="Item" type="tns:ItemType"
                        maxOccurs="unbounded" minOccurs="1">
                   </element>
    </sequence>
         </complexType>
    <complexType name="ItemType">
              <sequence>
                   <element name="ID" type="string" maxOccurs="1"
                        minOccurs="1">
                   </element>
                   <element name="Type" type="string" maxOccurs="1"
                        minOccurs="1">
                   </element>
    <element name="Name" type="string" maxOccurs="1"
                        minOccurs="1">
                   </element>
    </sequence>
         </complexType>
    target need to be like:
    <ns1:AttributesCollection>
    <ns1:Attributes>
    <ns1:fieldname>SourceSystem</ns1:fieldname>
    </ns1:Attributes>
    <ns1:Attributes>
    <ns1:fieldname>TimeStamp</ns1:fieldname>
    </ns1:Attributes>
    <ns1:Attributes>
    <ns1:fieldname>ID</ns1:fieldname>
    </ns1:Attributes>
    <ns1:Attributes>
    <ns1:fieldname>Type</ns1:fieldname>
    </ns1:Attributes>
    <ns1:Attributes>
    <ns1:fieldname>Name</ns1:fieldname>
    </ns1:Attributes>
    </ns1:AttributesCollection>
    target XSD:
    <xs:element name="AttributesCollection" type="AttributesCollection"/>
    <xs:complexType name="AttributesCollection">
    <xs:sequence>
    <xs:element name="Attributes" type="Attributes" minOccurs="0" maxOccurs="unbounded"/>
    </xs:sequence>
    </xs:complexType>
    <xs:complexType name="Attributes">
    <xs:sequence>
    <xs:element name="fieldname" minOccurs="0">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:maxLength value="100"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    </xs:sequence>
    </xs:complexType>
    I know we can use local-name() to get the tag/field name,
    but I have not idea how to get these leaf field names one by one and then mapping to every array elements.
    I tried whole day but no successful
    Does anyone have some idea?
    Thanks very much!
    Keith
    Edited by: user1065212 on 17-Jan-2010 22:50
    Edited by: user1065212 on 17-Jan-2010 22:53
    Edited by: user1065212 on 17-Jan-2010 22:59

    can you paste source xsd and the correct xml output, the current one isn't really valid
    <ID>2574</TotalNumOfItems>

  • Safari 5.1 now is garbled with many of the sites having lines on top of each other. Is any one else having that issue? If so, how did you resolve it? Thanks in advance for any help.

    Safari 5.1 now is garbled with many of the sites having lines on top of each other. Is any one else having that issue? If so, how did you resolve it? Thanks in advance for any help.

    "Did you make the .psd file with a transparent background (checkerboard) in Photoshop? And when you placed it in AI did you choose the top option Convert Photoshop Layers to Objects?"
    Yep, and it still didn't work.
    But I figured what I did wrong: I was selecting both the text and the heart, and then I was doing the whole Object>Wrap Text>Make thing, as opposed to just selecting the heart and doing it. Once I did it, I moved the heart around on top of the text, and it "made room" for the pic, wrapping itself around the heart.
    Thanks so much, and thanks A MILLION for being so patient.
    Jeez, when can I get some textbook to learn all the intricacies of Illustrator?

  • Have just down loaded Yosemite over Mountain Lion, Indesign CS5 does not work ( Am dependant on it) although Bridge , Light Room and Elements operate OK How do I solve this rapidly. Can any one help on this issue. Thanks

    Have just down loaded Yosemite over Mountain Lion, Indesign CS5 does not work ( Am dependant on it) although Bridge , Light Room and Elements operate OK How do I solve this rapidly. Can any one help on this issue. Thanks

    Sorry to say it, but I think you can see from Bob's response that there's no way to solve this rapidly.
    Did you take an image of your Mountain Lion install before upgrading to Yosemite? Roll back to that. If you're not in the habit of taking a snapshot of your system before performing operating system upgrades - get in that habit. If you are dependent on anything at all on hour computer, having a reliable backup method in place is essential. If you don't have a Time Capsule, or some other way to run Time Machine onto a disk that's not in your computer, go set that up yesterday.
    If you can't just remove Yosemite and roll back to Mountain Lion for whatever reason, you can partition your drive so that you can install both Yosemite and Mountain Lion on the same drive, and then boot into Mountain Lion when you need to work in CS5. Or you can take your Mountain Lion disc (I assume you have one, no?) and then use it to create a virtual machine in something like VirtualBox to run Mountain Lion from inside Yosemite.

  • Need Help with One to One Mapping in SQL

    Can aynone please design me tables in Oracle .
    I want to have a two tables with one to one mapping .
    Following is the scenario.
    I have an Employee object and a Parking Space Object. The have a one to one relation i.e., an employee will always be associated to only one parking space, that parking space should not be associated to any other employee.
    It would be a great help .

    sb92075 wrote:
    We don't do homework assignments.I used to do my own... seems like a novel concept now-a-days :)

Maybe you are looking for

  • TS1424 itunes wont download film star trek. shows error 8008

    Trying to download Star Trek from itunes stores. It fails to download posted error message 8008

  • Warning message during the settlement of WBSE

    Hi, We have PS structure. During the settlement cost booked in WBSE moves to AUC & from AUC to final asset. While settling the cost from AUC to Final asset, I am getting the warning message " Asset Value date earlier that Asset Capitalization date".

  • XML forms: attachment size

    Hello, we are working with XML forms to create news. Also we have the possibility to attach km document to this news. The attachments are displayed as a link on the end of the news. No my question. Is it possible to show the size of this attachment?

  • Aperture 3 brushes

    Just upgraded to Aperture 3 and am struggling with brushes to add color. Regardless of what I do, the fill color is a weird peachy orange. The manual and videos seem to gloss over how to correct the color. Sliders don't do anything. Any advice? Thank

  • Time machine ethernet backup to time capsule works, wifi does not

    Hi all. I recently updated my old time capsule to one of the new tall ones ME182X/A with a 3GB drive.  I transferred over the backup file of my Macbook Pro according to the Apple instructions (Time Machine: How to transfer backups from the current ba