Product upload to R/3. (field z mapping to field standar)

Hi experts,
I have a problem and i dont know how to solve it.
I am uploading products from CRM to R/3. First I do a job calling a report based in a standar function: COM_PRODUCT_API_UPLOAD. This works perfectly, all the products i am uploading I can see in the table: COMM_PR_MATERIAL all the product have been uploaded.
As the product in CRM system has some z fields, when the material is already in R/3 I do another job based in a batch-input to update some standar fields reading the data from CRM with a RFC function and everything is ok.
The problem occurs when i am going to modify a product is in both systems.  A delta process upload the data, but only the data standar to R/3. This delta runs once a product is upload by the function standar: COM_PRODUCT_API_UPLOAD, but when i am updating a z field the delta is not launched.
I know that there is a BADI: PRODUCT_CUSTOMER and this has an method: CRM_TO_R3_PRODUCT. I am trying using this badi for mapping this fields z to structures from R/3: MARA, MARC...but if i modify a field z i dont know how to read it from the screen to update the product when i save.
Any sugerence or idea how to do it?
Sorry because my english, is not so good. Regards and thanks in advance,
Mon

Hi Mon,
What you need to do is you need to use PRODUCT_CUSTOMER2 and use the method MAP_CRM_TO_R3_MATERIAL .
Now coming to your question of reading Z fields. I beleive they are the fields of the Set types that you need to read. now there are two options :
1. org dependend field
2. org independent
for Org-Independent fields  and Org-Dependent which are for Z set types ZOM_<settype name>_GET FM should be automatically generated when u saved the set type. so you can read their values from that FM.
Please let me know if you still have doubts.
Regards
Sidd

Similar Messages

  • Service product upload to CRM

    Hi All,
    I am trying to upload service product data to CRM system. What is the recommended method of doing that?
    I could get my hands on idoc type
    CRMXIF_PRODUCT_SERVICE_SAVE. Is this something we can use for service product uploading to CRM?
    Your inputs are appreciated.
    Regards
    Navdeep

    hi,  it looks you need to add some field in your LSMW product inbound project.
    As it is go through the IDOC way, you need to make clear how to fill the description and sale area info in IDOC, then you can adjust the data mapping logic in LSMW.
    Normally, you can check the IDOC related segament to try the fields and the inbound effects.
    And an another easy way is you can configure a outbound IDOC, and create a product you want in CRM GUI with all the field you require, then check how SAP fill the outbound IDOC content.

  • Cmd+v doesn't paste in the file upload dialogue's search field in Safari

    In Safari 4.0.4 on OS X 10.6.2, cmd+v doesn't paste in the file upload dialogue's search field in Safari. It just makes an audio beep to indicate an error.
    Using a sample file uploader:
    1.) Visit http://upload.youtube.com/myvideosupload
    2.) Click the "Upload Video" button.
    3.) Select file(s) to upload to s.ytimg.com
    4.) Click on the search text field
    *5.) Cmd+V to paste text. Nothing happens.*
    However, if you right-click, "Paste" is not grayed out, and you can paste normally.
    This is for version 4.0.4, but this behavior has been present for as long as I can remember using Safari.
    Can anyone confirm this bug?

    HI,
    I can't confirm a bug but you can report it.
    From the Safari Menu Bar click Safari/Report Bugs to Apple.
    Carolyn

  • How can I default Product name in a custom field in SR

    While creating a Service Request, I am trying to save the Product name in a custom field using defaulting options. For some reason it is not working, when i tried product id, it works!! I am trying to pass [<Product>] to that custom field. Any suggestions how I get the product name?

    Arvindh, this is indeed a join field problem. Product is joined to SR through Product Id. Unless the product id exists, the SR has no knowledge of any other fields of that product record. We are aware of this issue and we are investigating a solution.

  • Multiple uploads - Setting up the fields.

    I would like to make a page where the members can upload up
    to 4 images for
    their clients design proofs. Searching through examples and
    posts, I came up
    with this code to upload and insert the information into the
    database:
    <cfif IsDefined ('Submit')>
    <cfloop index = "i" from =1 to =4>
    <cfif IsDefined("form.file#i#")>
    <cfif evaluate("form.file#i#") NEQ "">
    <cffile accept="image/gif, image/jpeg, image/jpg,
    image/png, image/psd"
    action="upload"
    destination="E:\webs\softproofs.com\wwwroot\projects\prooffiles"
    filefield="ImageName#i#" nameconflict="makeunique">
    <cfquery name="uploadproofs"
    datasource="#Request.MainDSN#">
    INSERT INTO proof (file, size, project_id, owner, dirname
    <cfif FORM.border
    GT "">,border</cfif>)
    VALUES ('#File.ServerFile#', '#File.FileSize#',
    '#Form.project_id#',
    '#Session.MM_Username#', '#Session.MM_Username#' <cfif
    FORM.border#i# GT
    "">, #FORM.border#i##</cfif>)
    </cfquery>
    </cfif>
    </cfif>
    </cfloop>
    </cfif>
    What I would like to know is:
    1.) Did I write the code above correctly to loop through the
    fields and
    upload each
    2.) Is it better to set each of the file fields manually
    (file1, file2,
    file3, file4) or to set 1 field and have it loop 4 times
    using the i to name
    the fields?
    3.) Do I have to also set the 'border' form element to #i# to
    make them
    unique during the loop. I have them set as border1, border2,
    border3,
    border4 currently. They are radio buttons and have one
    selected
    automatically so there is no need to evaluate them.
    Wally Kolcz
    Developer / Support

    Hi Mike, You will need to use product grouping here. You will need to make a new product for each and set up the weights etc for that.

  • CSV upload and update table fields

    Hi,
    Is there any way to update any field of the underlying table from HTMLDB while importing the CSV file?For e.g, if there are XYZ table have 200 ermployee where empno is primary key.
    Once we upload the data from CSV its fine.Now after 2 weeks i need to update the sal and ename corresponding to the previous 100 employees only.So now when i trying to update the data a unique constraints violation occurs since the empno have already present so my concern is that -- how to get out of this problem specially when updation of huge no. of records needed and also no updation required for some records already present?Do the CSV update be helpful on that circumstances?
    One thing we can do that we can track down the list of 100 employee whose information going to be updated.Put those info in excel and add rest 100 emplyee to that excel and again doing the CSV upload ?
    This is a huge issue and not only the tedious task but also errorprone and that task will be increased with the amount of data increasing in the table.
    Please anyone can suggest ?
    Regards,
    ROSY.

    The best way to solve your problem is next way.
    1º) Save the file with the data to import like a BLOV ITEM.
    Ok it can be done. CSV placed on BLOB data field.2º) Make a procedure to manage this BLOV item that can be fired by user pushing a buttom. (you can do it easy from HTMLDB).
    how to manage ? What need to be fire to push the CSV to the target table with the actual field population ?3º) Into this procedure insert the records freely and dont worry for anything more. (maybe you can be worry about duplicate records is so, only, into this same procedure make any pl/sql lines to be sure record is not duplicate before insert)
    ? ? ? If the data already exist it should be needed to truncate before insert that is not my reqr rather the existing data should be updated based on PK if any chages occurs in the CSV fo that data.4º) after you are sure the insert work properly and if you need any other treatment to record, with a trigger in the table or calling any other procedure from the same trigger make the traeataments that you need.
    that can be done highly .......before insert trigger.Remember. Dont put any commit.
    sure.......5º) Go down from horse. Dont take coffe or Tea in exceed. And remember all we are the same, people that only want go to eat with childs in week-end.
    i m in land no way to go down........nothing i take ya eat & eat much ....but this is not the right place for making comments about Weekend....Regards and good luck.
    anyway embargo starts...........enjoy Cheers...........Wish u All Hp XMas...

  • Production order, put cursor on field in Assignment Tab

    Hi,
    I work on an enhancement for production order...
    When a user created a production order, if the "Profit Center" (in "Assignment" tab) is empty at saving, a popup is displayed to inform the user that he could filled this field. If he doesn't want to do this, he clicks on "Continue" button, elseif he wants to fill "Profit Center" field, he clicks on "Modify".
    My problem is when the user clicks on "Modify" button, I would like that the "Assignment" screen appears and the cursor is located on the "Profit Center" field. I take a look on technical information and the only info that I can use is the screen 0115. But I can't indicate the position to the cursor !
    Can anyone help me?
    Thanks in advance.
    Best Regards.

    Hello,
    You can try with 'Implicit Enhancement' in PBO of that screen 0115 and use 'SET CURSOR FIELD..statement' by checking user command..
    Thanks

  • UDF in Work order of Production in the user defined field management

    Hi all
    I wanted to know which is the Screen for which this path indicates
    Tools >Customisation Tools->User defined Field Management-->Production--> Work Order Row
    when i create a UDF here i dont know where it is created or attached to which screen.
    Pls Guide me
    Praveen B K

    Hi Marcia
    Thank you for replying
    I have SAP Business One 2007 B installed in my system and was installed just few days ago.
    help me.
    Praveen B K

  • Individual file upload against each list field

    Hi, We are currently developing a form internally for our projects, in this regard there are multiple attachments that needs to be uploaded for each specific form.
    Hence would like to know how to create an attachment next to an individual list itself rather than showing the attachments at the bottom.
    For E.g.
    List Field 1 -- Attachment 1, 2
    List Field 2 -- Attachment 3
    List Field 3 -- Attachment, 4

    Hello,
    If i understood you correctly, you want to show list item attachment in column. Please have a look at here:
    http://amitphule.blogspot.in/2012/04/display-item-attachments-in-sharepoint.html
    Hope it could help
    Hemendra:Yesterday is just a memory,Tomorrow we may never see
    Please remember to mark the replies as answers if they help and unmark them if they provide no help

  • Open Production Orders List with a Field from Sales Order

    Hi All,
    I have the following query:
    SELECT distinct T0.[DocNum] As ProdOrder, T0.[ItemCode], (select itemname from OITM where T0.[ItemCode] = OITM.itemcode) As ProdName, T0.[PostDate], T0.[PlannedQty] As Planned FROM OWOR T0, OITM  T1 where T0.[Status] <>'C'
    Now I want to add ORDR.NumAtCard field in this query, pls advise me what change should i make to my existing query.
    Need the solution urgently, pls help asap.
    Best Regards,
    JAQ

    Hi,
    Try this:
    SELECT distinct T0.DocNum As ProdOrder, T0.ItemCode, T1.itemname As ProdName,
    T0.PostDate, T0.PlannedQty As Planned,T2.NumAtCard
    FROM dbo.OWOR T0
    INNER JOIN dbo.OITM T1 ON T0.ItemCode = T1.itemcode
    LEFT JOIN dbo.ORDR T2 ON T2.DocEntry = T0.OriginAbs AND T0.OriginType = 'S'
    where T0.Status != 'C'
    Thanks,
    Gordon

  • New to the product - question about validating multiple fields as a group

    I have a static form that I'm building from a word document.  Part of that form requires a person to fill any 3 out 5 text fields.
    Since it looks like scripts are applied on a field by field basis, is it possible to have a script that encompasses multiple fields? 
    Would any script need to be applied to each field in turn?
    Assuming the answer to question 1 is a yes, how would you script it to require x number of fields out of a total of y to have some sort of content in order to validate?
    I'm pretty familiar with JavaScript and am looking at the Scripting reference guides but was hoping for a helping hand to get me there quicker as I'm in a bit of a time crunch - doing 18 forms with validation and database connectivity by January 15 certainly qualifies in my book.
    I would assume you'd do something like this but am unsure of the syntax...
    Get values of each field
    Set a valid counter variable for the number of fields with content
    If field 1 is not empty, increment the valid counter
    (rinse and repeat)
    if the valid counter is less than 3 throw an error message
    Many thanks in advance for any help offiered

    1). Yes, scripting within Livecycle can be for a single field or even static text, images and other artifacts within the PDF. Really anything, within Adobe's reason, when it comes to scripting.
    2). It depends on what you want to do. Things like field validations, calculations and other instances where fields are tied togther really dictate how the script runs.
    3). Fields that have calculations or validations with them work in the same, I believe. So for example I have a PDF that I made that is an Excel-type sheet that contains a few hundred cells and every single one has some type of validation or calculation associated with it. I generally run the calculations/validations from the user inputting the data and then after that the script runs, but again, it really dpeneds on what you are doing and with what, so answering some of your questions are a bit difficult.
    Javascrip/Formcalc are wonderful tools within PDF, but don't forget the Action Builder (Tools -Action Builder). It is a set of preloaded actions that are turn-key. Just select the cells that will have the action and select the result you want from the preloaded list of actions, using those actions can get you very far, and most of all; they are quick to implement without researching code. So for example, you could use the Action Builder to create an action that checks certain fields and if they are null to return a 1 value to a specific numericField (these could be hidden). Then have a "total" numericField (this would be your counter) that adds all of those fields with the 1 in it. Then create another Action Builder for that "total" numericField and if it is less than 3, display a message box that is a warning.

  • Open Production Upload process

    Hi,
    We are now in implementation project and cutover activities are going on.
    I need your gracious help to solve our open production order issues.
    we have a Legacy Production Order and that contains 2 operations.
    Upto march 31, 2010 they have issued all raw materials and rest of the process should be happend in SAP system.
    In legacy all books are closed and audited also.
    how to take care the rest of the process in SAP system with the creation of Open Production Order in SAP.
    Guide me
    Thanks
    Shaik Ali

    HI,
    f-03  you need to give one Dr and one CR (Means two doucments)
    or one Dr more CR or more Dr and one CR.
    FBRA is resetting. Means link between Invoice and payment removal.
    F.13 is mass clearing based ob74.
    Reg
    Madhu M

  • Fields to be Mapped while Migration

    Hi Friends,
                   I need to work for a upgrade project, please help me how we map 4.6C CS solutions to ECC6.0 Mill products because in Mill products there are no extra fields when compared to CS.
    Please guide me.
    Thanks
    Satya

    I am closing this Thread
    Thanks

  • Field merge via Excel upload?

    I decided to create a new string for this question, though I had found a related article where I initially made a posting (I can't now edit or delete my original posting - "actions" menu doesn't open for me, PC and Mac, Chrome and FF):
    Using Field Merge to Dynamically Display an Image
    The post above outlines pretty much exactly what I want to do, but I'm missing something -
    Here is what I'd like to do: I have some customer information that I want to merge to an email; the information is not something I want to necessarily retain with my contacts.
    We're using Excel to upload lists, as these are contacts not currently in our database. I created a new field merge, and inserted the merge into my email. Creating the field merge requires linking the merge to either Contacts, Accounts, Events/Event Sessions, or CDOs. My original assumption was that I'd need to create a CDO, which I did. So I created the field merge, tied it to my CDO, and inserted the field into the email.
    When I then go to test the email, I upload my test segment. In matching fields, I can't match the additional customer data fields from Excel to fields in Eloqua - I had thought maybe the CDO fields would appear as options for matching.
    So, my question is, how do I get the Excel data to match up to my merge field in Eloqua?
    Thanks for any help you can give!
    Colin

    Here was the outcome:
    You can't perform a merge via Excel upload (ie - trying to create a new segment via upload that contains data to be merged) - I was on the right track, that this needs to be done via CDO.
    1. Create your CDO, upload your Excel file, and map contacts to the data card
         - Create a new CDO, adding the extra fields you want to capture
         - Specify "Email Address" in the Display name, Unique ID and Email Address fields. I also set the Group By field to Email Address, and the Entity type as Contacts with field again set to Email Address.
         - When uploading your Excel file with the records you want to merge, make sure to map the uploaded contacts to the data card (Custom Object > Upload Custom Object Records). In the resulting wizard, in step 4 - Upload Actions, be sure that the Map data card checkbox is checked. Not real sure why you'd ever not want this - it seems to me you can't do much without it.
    2. Create your field merges Email Field Merges
         - map these to your CDO fields
    3. Insert the field merges into your email
    That's about it - if anyone has additional info or corrections on the above, let me know. Hope this helps -
    Colin

  • Opportunity Product Weighted Field?

    Is there a opportunity product revenue weighted field? I saw that the forecast area has weighted values. I did not see a field, but just want to make sure I am not missing anything.. I would like to have the weighted value displayed in a report.

    You may be confusing Opportunity fields with Product fields.
    On the Opportunity, you have the following fields:
    (Opportunity) Revenue
    (Opportunity) Probability
    (Opportunity) Expected Revenue (Opportunity Revenue * Opportunity Probability)
    On the Opportunity-Product, you also have these fields:
    (Product) Revenue
    (Product) Probability
    (Product) Expected Revenue (Product Revenue * Product Probability)
    When you are using Opportunity Forecasting, the Forecast uses the Opportunity fields. When you are using Product Revenue Forecasting, the Forecast uses the Opportunity-Product fields. You can only forecast one or the other.
    Mike L

Maybe you are looking for

  • Emac Fire Wire to RCA DV Converter

    Is there a Converter out there like the "Apple Mini-DVI to Video Adapter" for the Emac?

  • Original iphone still in recovery mode.. I want to use it as an Ipod.

    I recently decided to get the new Iphone 4s and so far I'm very pleased with the upgrade. I upgraded from the original Iphone with the edge network. Since the upgrade I can no longer use the original. The phone is stuck in recovery mode. I want to be

  • ****** off, why cant I update my profile to account owner if i'm the only one on the account

    Complete ********.  I go to upgrade my account to account owner and it won't allow me to.  Ironically, you can't do a ******* thing to your account unless you are the account owner....go figure.  Need answers and needed them yesterday!!!!!!!!!!!

  • Running iLife08 and FCE4 on PBG4?

    Hi guys, I would like to upgrade to iLife08 and install FCE4 on my PowerBook G4 1,5GHz 1,25Go. But before investing I would like your advice on if my config will be confortable enough for running them. I know that Apple minimum config says yes but???

  • Problem with embedded tomcat...I think

    Hi, To be honest, I am not sure where the best place to post this question is, so I will try here, and then go from there. :) I have a website setup on the embedded tomcat webserver that comes with JSE8. I have then written a small app (very small) t