Mapping issue on Copy head to line

In the TBIT41  05_Example.pdf in the second example--"Copy Head to line" i tried it in that way, but it didn't work.
the example is like this(the following linked image)
http://picasaweb.google.com/rensheng33/XI02/photo#4992312551117357074
and what i do is as followed
http://picasaweb.google.com/rensheng33/XI02/photo#4992310011038400530
the copyPerValue function is
<b>
for(int i = 0; i<b.length; i++)
          result.addValue(a[0]);
}</b>

Hi ,
Can you please explain what is the issue exactly ?
If you can eloborate the issue it can be answered.
Nanda

Similar Messages

  • How 2 Copy Header & Line Item Text from Purchase Order 2 Out Bound Delivery

    Hi SD Gurus,
    I want to copy header and line item text from Purchase Order to Out Bound Delivery (This is required in Stock Transfer Process).
    I have been able to do successful config. for copying header and line item text from Sales Order to Outbound Delivery but config. doesn't seems to be same for copying text from PO to OBD.
    Is there any way to achieve the same? Can some expert show the way to achieve this.
    Thanks in advance.
    Warm regards,
    Rahul Mishra

    Hi Ravikumar thanks for u quick reply.
    This is wht is currently coded.
    concatenate values to get item text for read text function
       invar3+0(10) = invar1. "PO number
       invar3+10(5) = invar2. "PO line number
       SELECT SINGLE * FROM stxh WHERE tdobject = 'EKPO'
                                   AND tdname   = invar3
                                   AND tdid     = 'F01'
                                   AND tdspras  = sy-langu.
       IF sy-subrc = 0.
         invar4 = invar3.
    reading the text for the document items.
         CALL FUNCTION 'READ_TEXT'
           EXPORTING
             id       = 'F01'
             language = sy-langu
             name     = invar4
             object   = 'EKPO'
           TABLES
             lines    = it_itab.
    I have seen some PO's which have info rec texts in that, which gets pulled by the above code...first thing is its id is F02 which exist in STXH table also there is other text with F01 id, and hence the table it_itab gets both these text hence no pbm.
    but i came across a PO which has only one text which is info rec text with id F05 and is not store in stxh and hence doesnot get pulled by read_text fm. How do i change my cod to get this text which should not hamper other PO's as well.
    As mentioned in above msgs, this F05 could be retrieved by providing object name as EINE.
    anyhelp will be appreciated and rewarded.
    thanks

  • Header line item mapping issue in LSMW

    Hello experts,
    I am trying to map my data in LSMW with header and line items.My structure looks like this.
    1header col1 col2 col3 (2item) col1 col2
    1header col1 col2 col3 (2item) col1 col2
    In the line item col1 changes its posting key.
    Header is reapeating for every line items how to map the above in LSMW .
    How to upload the data only when the Reference document number is changing??
    Thanks and regards,
    Vijay Simha CR

    Hi ,
    at Step 3-->maintain source fields -->Double Click on the Key Field -->Tick the check of Selection Field....
    here you need to decide which one is the key field...if you dont have key field in  Item level then create one.
    regards
    Prabhu

  • Issue with Copy of events from Outlook Calendar to SharePoint 2010 calendar(mapped in outlook)

    There is a issue while copying events in Outlook mapped SharePoint 2010 Calendar.
    This issue only seems to happen when user copies an event from his Outlook calendar to the SharePoint 2010 calendar. 
    He is able to create a new event in the SharePoint calendar from Outlook. 
    He tried below steps, but still no success
    1.
    Open your Outlook calendar.
    2. Open the event you want to copy.
    3. From the File menu, select Info.
    4. Click the Move to Folder button.
    5. In the Copy Items To dialog box, scroll down to the SharePoint Lists item and select the SharePoint calendar to which you want to copy the event.
    6. Click the OK button.
    7. Click the Yes button when prompted to continue. 
    Please let me know if there is any possible solution for it.

    Hi,
    I have done a test as your steps. I am able to copy an event from my Outlook calendar to the SharePoint 2010 calendar.
    1. I suggest you test in another compute, perhaps your Outlook results to that issue.
    2. Please create a new site collection, then test again, compare the result.
    3. Maybe it will take some time before the copied event displays in the SharePoint 2010 calendar. So, wait a minute, compare the result. 
    Best Regards,
    Wendy Li
    TechNet Community Support

  • Map default values in Header based on multiple values in the line item

    Hi
    I have a scenario in which the Header field of an IDOC should be populated with some default values based on some mixed mvt types in the line items.
    eg:
    Header -
    > Delivery type -
    > needs to be mapped to A (for X of line item 1)or B (for Y of line item 2) or C (for Z of line item 3 )
    based on line items field
    line item1---> mvt type---> X
    line item 2-->mvt type----->Y
    line item 3 -
    > mvt type -
    > Z
    mvt types doesnt necessarily have to come in that order and even the same mvt type can repeat in multiple line items.
    Can we achieve this logic in XI ?

    I think if you include removeContext, Sort, SplitByValue (on Value Change), CollapseContext to mvt type in all line items and then use ifelse condition to achieve your result.
    I will give an example of line Item1
    mvt type --->RemoveContext ->Sort>SplitByValue(on value change) --> CollapseContext
    Use the above mapping to IF function and check if it is having X, Y or Z then map the appropriate value to target field.
    Do the same for rest of the line items.

  • Line item text field from MIGO are not copied into FI line item text field

    Hi all on SCN, please, I need a help.
    It was created as required by the user a field status group with the text field required.
    This field status group was assigned to some accounts, in order to make my unit tests.
    u2003
    In development envirionment was made some tests directly in FI area, and it works properly.
    u2003
    But the user made a test using MIGO transaction, choosing in this transaction an account that he changed its field status variant to the one created in development environment, that make the text fiels required. So, to start, he donu2019t fill the text item of MIGO, and a message error appear stating that he needs to enter values in this field.
    After fill in the text fiels, he can save his work.
    u2003
    But the FI document generated donu2019t receive the line item text typed in MIGO, but receives the values on Reference document and Document Header text entered in the header of MIGO, what is missing, donu2019t is automatically copied MIGO text line items to FI documents line Items, does there is some additional configuration missing?
    Hope someone help me with this issues.
    Thanks in advanced!

    Hi,
    Material document will get updated in reference field in FI by default.  If for any reason, want to get this updated in text field, you need to define a subsititution in GGB1.
    Best Regards,
    Madhu

  • Credit memo and MAP issue

    Hello Guru's
    I have 2 issues, and i am unable to understand the system logic for the same
    Issue 1:-
    We have an Intercomapny scenario
    sequence of transaction is as follows
    1. Create Return purchase order (document type NB) - Intercompany purchase
    2. Post return goods receipts - movement type 161
    3. Post credit memo with respect to return purchase order
    4. Cancel the movement type 161 - using 161 movement type
    System allows me to cancel the document created using 161 movement type
    Step 4 should not be allowed but system is allowing me to do so, please advise how to stop this
    Issue 2:-
    I have a strange MAP issues which is flactuating very drastically
    the scenario is as follows
    Store stock is 10 ea, stock value is 1000, MAP is 100
    DC map is 25
    When we make return STO from store to DC, ths stocks are issued at DC MAP (condition type P101)
    Assume we issue 9 quantity from Store then
    Store stock is 9 ea, stock value is (1000-(25*9)) =  775, MAP is 775/1 = 775
    This transaction is causing major flactuation in store MAP (100 changed to 775)
    Please advise if there is any way we can control this behaviour
    I understand that there is a setting which will in case of major MAP changes will put the amount into PRD account.
    Appreciate if you can guide me to help
    Regards
    Amit

    Hi,
    For your first scenario,
    for a retun po of IC NB type, after creating the PO you  need to deliver the same at VL10G. For the delivery system will allow to create the PGR . Prior to these steps you need to return the goods using 161 at MIGO.Please check this 161 stock posted to stock in transit.After PGR system will clear the stock in transit.
    Now after claring the stock from transit try cancelling the MIGO 161 document.
    For the second query,
    Please review your question' When we make return STO from store to DC, ths stocks are issued at DC MAP (condition type P101)
    Assume we issue 9 quantity from Store then
    Store stock is 9 ea, stock value is (1000-(25*9)) = 775, MAP is 775/1 = 775
    This transaction is causing major flactuation in store MAP (100 changed to 775),
    Please review the third line.
    Regards,

  • HP LaserJet Pro M1536 just copy and scan lines

    HP LaserJet Pro M1536 just copy and scan lines
    Hi, I have a problem with the multifunction suddenly.
    When I make a photocopy or when I scan to PC, both the ADF glass, leaving only the lines without any image of the sheet that I'm scanning. If mold from windows instead working normally.
    What might be?
    Greetings.
    Raffaele
    HP LaserJet Pro M1536 copia e scansiona solo righe
    Salve, ho un problema all'improvviso con la multifunzione.
    Quando faccio una fotocopia oppure quando scansiono verso il pc, sia dal vetro che dall'adf, escono solo delle righe senza alcuna immagine del foglio che sto scansionando. Se stampo da windows invece funziona normalmente.
    Da cosa può dipendere ?
    Saluti.
    Raffaele

    Hi Opp1,
    Welcome to the HP Forums, I hope you enjoy your experience!
    I understand you are unable to reinstall the printer software.
    I will be happy to help you.
    The print spooler is part of the Windows operating system and if it doesn't stay running the printer software won't install or print.
    You could try the following steps to see if this will resolve the issue.
    Normally with spooler problems the first thing to do is to clear the print queue.
    Open a Run window (Windows Logo key+R), type cmd and press Enter.
    Now type these commands, which are in capitals for clarity:
    NET STOP SPOOLER and press Enter
    DEL %SYSTEMROOT%\SYSTEM32\SPOOL\PRINTERS\*.* and press Enter
    NET START SPOOLER and press Enter
    EXIT and press Enter
    If you are still having issues with the print spooler stopped then right click on the start button, left click on explore, open the windows folder, open system32 folder, open the spool folder, open the printer's folder, then delete everything on the right window.
    Then go back and try and start the print spooler again.
    Run a full uninstall of the printer software. Disconnect the USB cable.
    To uninstall from CD:
    Go start and select computer.
    Right click on the CD for the printer and left click open in a new window.
    Double click on uninstall.
    Uninstall printer from the C Drive.
    Go to start, computer, c:, windows, program files or program files x86, HP, printer name. Double click uninstall. Restart the computer.
    Check to make sure the print spooler is running.
    Ran the installation again. Don't connect the USB cable until prompted.
    If the print spooler stops again you will need to contact the computer manufacturer to resolve this issue.
    Hope this helps.
    Thank you for posting on the HP Forums.
    Have a great weekend!
    Please click “Accept as Solution ” if you feel my post solved your issue, it will help others find the solution.
    Click the “Kudos Thumbs Up" on the right to say “Thanks” for helping!
    Gemini02
    I work on behalf of HP

  • Issue with copy control of Delivery document to Billing document

    Hi All,
    I am having some issue with copy control of Delivery document to Billing document.
    I am having two line items in Delivery documetn, one is for item to be delivered to customer and other which is created due to batch determination.
    Now , when I create billing document (VF01) with reference to this delivery document , I want only one line item (for the one which needs to be delivered to customer).
    I have used following things in  copy contro from ZLF to ZF2:
    Copying requirements: 004 ( Deliv-related item)
    Data VBRK/VBRP: 007 "(Inv.Split (Rec/Div))
    Is it correct or shall I use something else, so I have only one line item in Billing document.
    Regards
    Nidhi

    Pls. search the forum.
    Pls. refer the below link -
    Line with 0 quantity for main item with batch split
    Thanks

  • Mapping issue with context again

    I again need help with a mapping issue. I don’t know how to handle the contexts to get this working in the xi graphical mapping tool.  I have previously logged a question regarding this structure but the requirements have now changed. 
    I have a source document that has multiple delivery line items and for each delivery line item, there are multiple handling units. Each handling unit contains the line number of the delivery line item it belongs to. This structure has been simplified below.
    <b><u>Source Sample</u></b>
    <DOCUMENT>
    <DELIVERY_LINEITEM>
    <LINENUMBER>10</LINENUMBER>
    <MATERIAL>mat 1</MATERIAL>
    </DELIVERY_LINEITEM >
    <DELIVERY_LINEITEM >
    <LINENUMBER>20</LINENUMBER>
    <MATERIAL>mat 2</MATERIAL>
    </DELIVERY_LINEITEM >
    <HANDLING_UNITS>
    <HU_LABEL>123</HU_LABEL>
    <HU_ITEM>
    <LINENUMBER>10</LINENUMBER>
    </HU_ITEM>
    </HANDLING_UNITS>
    <HANDLING_UNITS>
    <HU_LABEL>456</HU_LABEL>
    <HU_ITEM>
    <LINENUMBER>10</LINENUMBER>
    </HU_ITEM>
    </HANDLING_UNITS>
    <HANDLING_UNITS>
    <HU_LABEL>789</HU_LABEL>
    <HU_ITEM>
    <LINENUMBER>20</LINENUMBER>
    </HU_ITEM>
    </HANDLING_UNITS>
    </DOCUMENT>
    <u><b>Source Structure</b></u>
    DOCUMENT 1..1
    DELIVERY_LINEITEM 1..unbounded
    LINENUMBER 1..1
    MATERIAL 1..1
    HANDLING_UNITS 1..unbounded
    HU_LABEL 1..1
    HU_ITEM 1..1
    LINENUMBER 1..1
    In the target structure, I need to output each handling unit along with the corresponding DELIVERY_LINEITEM material.  Target structure has been simplified below:
    <u><b>Target Sample</b></u>
    <DOCUMENT>
    <ROW>
    <PACKAGING>
    <HU_LABEL>123</HU_LABEL>
    </PACKAGING>
    <PACKAGING_ITEM>
    <LINENUMBER>10</LINENUMBER>
    <MATERIAL>mat 1</MATERIAL>
    </PACKAGING_ITEM>
    </ROW>
    <ROW>
    <PACKAGING>
    <HU_LABEL>456</HU_LABEL>
    </PACKAGING>
    <PACKAGING_ITEM>
    <LINENUMBER>10</LINENUMBER>
    <MATERIAL>mat 1</MATERIAL>
    </PACKAGING_ITEM>
    </ROW>
    <ROW>
    <PACKAGING>
    <HU_LABEL>789</HU_LABEL>
    </PACKAGING>
    <PACKAGING_ITEM>
    <LINENUMBER>20</LINENUMBER>
    <MATERIAL>mat 2</MATERIAL>
    </PACKAGING_ITEM>
    </ROW>
    </DOCUMENT>
    <u><b>Target Structure</b></u>
    DOCUMENT 1..1
    ROW 1..unbounded    
    PACKAGING 1...1
    HU_LABEL 1..1
    PACKAGING_ITEM 1..1
    LINENUMBER 1..1
    MATERIAL 1..1
    Note, 1 ROW in the target structure = 1 HANDLING_UNITS from the source structure.
    Can anyone help me to achieve this? I do not know how to map the relevant DELIVERY_LINEITEM\MATERIAL from the source structure to the target structure.

    JM,
    Please find the solution. Reply back if it helps or not
    http://www.flickr.com/photo_zoom.gne?id=1045178998&size=o
    http://www.flickr.com/photo_zoom.gne?id=1045179010&size=o
    http://www.flickr.com/photo_zoom.gne?id=1045179022&size=o
    Results :http://www.flickr.com/photo_zoom.gne?id=1045179134&size=o
    <b>Code used:</b>
    for(int j=0;j<Handling_Linenum.length;j++)
    for(int k=0;k<Delivery_Linenum.length;k++)
    if(Handling_Linenum[j].equals(Delivery_Linenum[k]))
    result.addValue(""Material[k]"");
    result.addContextChange();
    Best regards,
    raj.

  • Issue in COPY function in IP

    HI,
    We are facing an issue in COPY function in IP. Few Time characteristics are not copying from Actual to plan cube. We have Three Actual cubes and one plan cube. We are using COPY function and changing Info provider , currency and version Characteristics.
    We have tried with FOX code also but Time characteristics 0CALMONTH2, 0CALQUART1 are not getting copied, They are displaying as # but we have data in all the actual cubes. These chars in Multiprovider are mapped with all the infoprovider.
    Kindly Provide your valuable inputs.
    Thanks & Regards

    Hi Pratyush and Cornelia,
    We are not using derivations.
    Following is the sample data as it is stored in actual cube
    0CAlMONTH      =   1
    0CALQUART1   =   1
    0FISCPER          =    2006001
    0FISCPER3        =    1
    0FISCVARNT    =     K4
    0FISCYEAR      =     2006
    We have some planning sequences which get excuted through a portal based on a planning template. The planning sequences are failing as they are not getting the input parameters when we run them on portal. We ran the sequences individually through the modeller with the necessary input parameters. The actual cube data is read succesfully but the 2 time characteristic are showing # values.On trying to save the data in the plan cube we get this error "Access via Null object reference not possible.error key: RFC_ERROR_SYSTEM_FAILURE". Please suggest.
    Thanks & Regards,
    Saurav
    Edited by: Saurav Chetry on Jun 6, 2011 4:10 PM

  • FDM 11.1.2.1 Mapping Issue Conditional Mapping Error

    I am configuring the newly installed FDM 11.1.2.1 and have and issue with the conditional account mapping where I have "varValues(9)" and it comes with this error. I have taken the script from our current FDM 9.3 versionm where it did worked, but in FDM 11.1.2.1 it will no go through.
    Is the script not correct ? Or is this new version different somewhere ?
    Thanks,
    Henri
    Error message
    ** Begin FDM Runtime Error Log Entry [2011-10-05 16:25:41] **
    ERROR:
    Code............................................. 13
    Description...................................... Conditional Map Script Error: Type mismatch at line(1)
    Script:
    If varValues(9) = 0 Then Result = "5821.11.060" Else Result = "5821.11.060" End If
    Rule=w98x
    Procedure........................................ clsImpProcessMgr.fLoadAndProcessFile
    Component........................................ upsWObjectsDM
    Version.......................................... 1112
    Thread........................................... 5000
    IDENTIFICATION:
    User............................................. <withheld>
    Computer Name.................................... <withheld>
    App Name......................................... <withheld>
    Client App....................................... WebClient
    CONNECTION:
    Provider......................................... SQLOLEDB
    Data Server...................................... <withheld>
    Database Name.................................... <withheld>
    Trusted Connect.................................. False
    Connect Status.. Connection Open
    GLOBALS:
    Location......................................... <withheld>
    Location ID...................................... 750
    Location Seg..................................... 4
    Category......................................... Actuals - PP
    Category ID...................................... 13
    Period........................................... Sep - 2011
    Period ID........................................ 9/30/2011
    POV Local........................................ False
    Language......................................... 1033
    User Level....................................... 1
    All Partitions................................... True
    Is Auditor....................................... False

    Cast the value of varValues(9) as a Double and do the same for the 0 i.e. CDbl(varValues(9)) = CDbl(0). Also verify that the value passed in varValues(9) is actually a number and does not contain non-numeric characters or is blank

  • Context with counter mapping issue

    I need help with a mapping issue.
    I have a source document that has multiple line items which in turn contains multiple item texts.  This structure has been simplified below.
    Source Sample
    <DOCUMENT>
    ---<LINEITEM>
    <ITEMFIELD>itemfield</ITEMFIELD>
    <ITEMTEXTS>
    <TEXT>text 1</TEXT>
    </ITEMTEXTS>
    <ITEMTEXTS>
    <TEXT>text 2</TEXT>
    </ITEMTEXTS>
    ---</LINEITEM>
    </DOCUMENT>
    Source Structure
    DOCUMENT 1..1
    LINEITEM 0..unbounded
    ITEMFIELD  0..1
    ITEMTEXTS 0..unbounded
    In the target structure, I need to output each line item with a counter to represent the line item number.  Also, I need to output each item text with the line item number it corresponds to:
    Target Sample
    <DOCUMENT>
    ---<LINEITEM>
    <ITEMNUMBER>1</ITEMNUMBER>
    <ITEMFIELD>itemfield</ITEMFIELD>
    ---</LINEITEM>
    ---<ITEMTEXTS>
    <ITEMNUMBER>1</ITEMNUMBER>
    <TEXT>text 1</TEXT>
    ---</ITEMTEXTS>
    ---<ITEMTEXTS>
    <ITEMNUMBER>1</ITEMNUMBER>
    <TEXT>text 2</TEXT>
    ---</ITEMTEXTS>
    </DOCUMENT>
    Target Structure
    DOCUMENT 1..1
    LINEITEM 0..unbounded
    ITEMNUMBER 1...1
    ITEMFIELD 0..1
    ITEMTEXTS 0..unbounded
    ITEMNUMBER 1..1
    TEXT 1..1
    I do not know how to match the ITEMNUMBER in the ITEMTEXTS target structure with the corresponding LINEITEM target structure.  Can anyone help me with this?
    Regards,
    JM

    James,
    I've tried both 1.2 release and 2.0 (v20091121-r5847) but received the same result - empty Map.
    Moreover, for both versions the following string was absent in deployed XML file:
    +<direct-key-field table="PARAM_SESS" name="PARAM_NAME" xsi:type="column"/>+
    Therefore, on application initialization I have got an exception: org.eclipse.persistence.exceptions.DescriptorException with message This descriptor contains a mapping with a DirectMapMapping and no key field set.
    So I was forced to add the line manually.
    This seems buggy to me...
    Regards,
    Alexey

  • Copy Header texte into Item text, trasactions FB60-FB50-FB70

    Hi,
    using the transactions FB50, FB60 and FB70 I need to copy automatically the Header text into the Items text.
    Can someone tell me how to do that?
    Thank you and best regards,
    Giorgia

    In the enjoy transaction like FB60-FB50-FB70, header and line items fields are quite mixed up. When you are mentioning Header text, please confirm that you meant "Header text" field in the "Details" tab screen and not the "Text" field in the basic data tab screen.
    Normally when you want to copy the "text" field content in the Basic Data screen to all the G/L line items text fields, you do it through "editing option" in the FB60-FB50-FB70 transaction screen itself. Here in the General entry options you activate the check box "Copy text for GL account enter".
    But if you want to copy really the header text in the Details screen to Vendor and Gl items for example, then you have to create substitution rule
    Thanks
    Ranjit

  • How to cancel the sales order - header and line status are in Entered Stage

    Dears,
    I have some sales order to be cancelled in which the header and line status are in *"Entered"*. I am not able to cancel these sales order.
    Also note that these orders are for maintenance service.Once i book these orders the lines will change to closed status.
    So it is not possible to book and cancel the lines.
    Kindly me to resolve this.

    926530 wrote:
    Boss,
    If i do Action-->cancel on header, it just makes the qty to zero.But the header and line status still showing as entered.It will not cancel the order.
    The problem for me is that these lines are coming in my monthly reports. This is what your question says...be more specific as what is your issue..which in turn is your problem
    How to cancel the sales order - header and line status are in Entered Stage
    Coming to your Action-->cancel...as far as i know ...the header status will change to canceled..
    unless until you have some processing constraints in place...which is stopping you...
    HTH
    Mahendra

Maybe you are looking for

  • TH_RES_FREE Internal error in ITS

    Hi! We have setup SRM and an Internal ITS that we are reaching from the Portal. Last week there were no problem but in the end of last week we struggled a bit with SSO and https. Now it works fairly okay but suddenly one of the transactions gives the

  • How to update my ipod to ios 5

    i have an ipod 3rd generation and i was to update the software from a 4.3.5 to 5.0 how would i go about doing so?

  • PasswordPolicyControl support in Directory Server 5.2

    Hi, Does the SunOne Directory Server 5.2 support Password Policy Control (OID 1.3.6.1.4.1.42.2.27.8.5.1)? Thanks, ~AA Message was edited by: ambhaikar123

  • NI 9234 : sampling rate : cRIO, FPGA

    For NI 9234 module, front panel and block diagram of my FPGA code of my cRIO is like below. The sampling rate (data rate) is selectable between some values as shown below.  Do you have any idea how I can do the sampling with a lower rate that is smal

  • How to Change view qualities when effects panel open?

    Open Effects>Stylise>Rounded Corners, Turn on Preview (BTW how do I make PREVIEW ON! as the default for all effects panels/windows?) Now I want to Hide the Bounding Box and the Edges... but those shortcuts are now inoperable. Photoshop allows me to h