Update Inbound Idoc field.

Hello All,
I am trying to send a idoc thru FIDCC1 thru ALE. I want Local currency and Group currency value to be recalculated in Target system before it gets posted in the target system based on a custom table(Source system is sending only document currency value in the idoc). Is it possible to do so in target system. Please let me know if there is any possible solution. Your help will be highly appreciated.
Thanks,
Frank.

If you are using a custom function module to process the IDOC you can simply put your validation in there. If you are using a standard one (eg, IDOC_INPUT_FIDCC1) you could either copy that to a custom module and then make the changes or you may be able to put the code in an enhancement point of the standard FM.

Similar Messages

  • How TO Update Inbound IDOC....

    Hi experts,
    I have a requirement to update inbound ORDERS IDOC.
    On receive of IDOC we need to check value for E1EDP01-PSTYV and change it .
    Can we change values back to the IDOC?
    Regards,
    Akshay Jamgaonkar.

    Hi Akshay !
    Do you need an IDOC-XI-IDOC scenario? Yes it is possible. You can change any value.
    You need to import the IDOC type from R/3 in Integration Repository. Then create a message mapping object and interface mapping object to map the idoc type as source to the same idoc type as target. Inside the mapping you can map automatically all fields with same name (not just one by one) and then for the mapping of the PSTYV field, just do the conversion you need right there.
    Regards,
    Matias.

  • Inbound IDoc: Field BVTYP is missing

    Hi, 
    I am new to IDoc I need help with a scenario. We have an interface wherein AP documents are transported to SAP. When we are viewing these IDocs in SAP field BVTYP  (Partner Bank Type) is missing
    Thanks in advance

    Hi,
    Are you dealing with inbound or outbound IDoc for sales order?
    I am a bit confused ... you mentioned the IDoc successfully posted (inbound IDoc?) however outsource EDI team reported that field ZEILE is missing (outbound IDoc?)
    Regards,
    Ferry Lianto

  • Function Module to Update Inbound Idoc

    Please let me know is there any Function Module is there to update invound idoc to data base
    Thanks
    Umesh

    Hi ,
    Please take a look at this link which will show step by step on how to setup inbound proscessing.
    http://help.sap.com/saphelp_erp2004/helpdata/en/dc/6b835943d711d1893e0000e8323c4f/content.htm
    http://www.sapgenie.com/sapgenie/docs/ale_scenario_development_procedure.doc
    Also check this links for sample codes.
    http://edocs.bea.com/elink/adapter/r3/userhtm/ale.htm#1008419
    http://www.netweaverguru.com/EDI/HTML/IDocBook.htm
    http://www.sapgenie.com/sapedi/index.htm
    Hope this will help.
    Regards,
    Mohammed

  • INBOUND IDOC not updating the basic data field which is created newly

    Hi,
    i am creating an inbound IDOC for material master creation in that in basic data1 i have created 2 custom field in general data 1 is updating and another  is not updating with the value in iDOC.
    User exits codes are fine. but data is not updating.
    can some one help hw to resolve this..
    regards,
    thanigai

    Hi,
    Are you Debug the function module in  Process code of IDOC and use COMMIT WORK in that Function module.

  • Update EKKO Z field using Inbound Idoc

    I have an requirement where  I have to update Z field in EKKO while creating PO using inbound Idoc.
    Basic Idoc Type: PORDC103
    Function module: BAPI_PO_CREATE1
    Extended POHEADER and EKKO with z field.
    I am using exit EXIT_SAPL2012_001 to populate Z field while creating PO as below.
    poheader-zfield = '123'.
    extensionin-structure =  'Z_HEADER'.
    extensionin-valuepart1 =  '123'.
    APPEND extensionin.
    PO is getting created but z fields is not populated. Do i need to add any thing else apart from the above steps?.
    Any help appreciated.

    Rajitha,
    Add your Z field in structure BAPI_TE_MEPOHEADER and a corresponding flag in BAPI_TE_MEPOHEADERX.
    extensionin-structure = 'TE_MEPOHEADER'.
    extensionin-valuepart1 = '__________123'                      "'10 spaces than value for the field'.  
    APPEND extensionin.
    extensionin-structure = 'TE_MEPOHEADERX'.
    extensionin-valuepart1 = '__________X'                      "'10 spaces than X.  
    APPEND extensionin.
    You don't need to implement/use any exit for filling the custom fields.
    Regards,
    Diwakar

  • Inbound IDoc used for updating Sales order status

    I have a requirements to set use standard IDoc to send out the Sales order to a non-SAP software as well as receiving Inbound IDoc to update the status of sales order in SAP. Could someone comment on my questions below:
    1. What are the difference between all the ORDERSxx Idoc types?
    2. What IDoc should be used for Inbound IDoc to update the sales order stataus in SAP?
    3. Can the same IDoc type be used for both Inbound and Outbound with only the difference in the segment of Direction?
    Thank you. Points will be awarded appropriately for helpful comments.

    Hi,
      1.Intially  standard IDOC types "ORDERS01"  is having limited
          segments. After few months the requirement got increased to
          add more fields to "ORDERS01".So,once you release the IDOC
          type you can not add any more fields .So SAP come up
          with "ORDERS02" with new fields.Like that all IDocs types have
          some more new seg ments.
    2.You  can use ORDER05
    3. Yes you can use same IDOC type

  • Updating transaction MD61 using information from inbound IDOC

    Is there any standard IDOC type for Planned Independent Requirement(having fields of table PBED and PBIM in its segment)?If such an IDOC type doesnt exist then i have to go for custom idoc type creation
    I have an inbound IDOC having 4 fields in its segment
    1.SAP Material number
    2.Plant
    3.Plant Quantity
    4.Requirement date
    Now i have to use this information in IDOC to update transaction MD61(create a planned order).
    constraints:
    in MD61 screen1
    SCREEN 1
    Material radio button is defaulted to on. This must also be set in the interface. Material number will be valued from the input file.
    Plant will be valued from the input file.
    Version number defaults to 00, so that value should also be used for the interface.
    Planning Horizon From and To dates will be the same date and valued from the input file.
    Planning Period should be set to D for Day
    SCREEN 2
    Material number should default from SCREEN 1 input. The interface should also do this.
    MRP Area will default from the Plant on SCREEN 1 input. The interface should also do this.
    Version will default from the 00 on SCREEN1. If needed on interface, also default to 00.
    Version Active checkbox will be checked by default.
    Base Unit of Measure will default from material master.
    Only a single date column will appear which should be the date input on SCREEN 1. Value this column with the quantity from the input file.
    Input fields are highlighted in screenshots below.
    After input is complete, use the SAVE icon to store the data.
    Kindly tell me the approach to prepare this interface?

    Done,used BAPI_REQUIREMENTS_CREATE TO DO SO

  • Update of Z field in marc in ALE/IDOC

    Hi,
    I have an inbound IDOC in which I get the data for all the Z field which is appended in MARC table. When I am calling the FM 'IDOC_INPUT_MATMAS01' it is not updaiting the Z field and the IDOC is successfully created. Do I have to write the updaet code in some user exit of FM 'IDOC_INPUT_MATMAS01' or is there any other method to update the Z field??
    Thanks.......

    Hi J,
    If your custom fields are there on the screen (MM01/02/03) and they are appended in some structure in MARC table, the values should flow from screen-to-table and vice-versa.
    If you want these fields to be populated automatically, you may have to write some code in user-exit or BAPI extension while creating the materials.
    In the user-exit, you may have to write a code like this ..so that these fields remain uneditable while calling MM03 (display only)
    IF T180-TRTYP EQ 'A'.
    LOOP AT SCREEN.
    SCREEN-INPUT = '0'.
    MODIFY SCREEN.
    ENDLOOP.
    EXIT.
    ENDIF.
    Edited by: Rudresh Chand on Jan 26, 2011 9:03 PM
    Edited by: Rudresh Chand on Jan 26, 2011 9:25 PM

  • How to change field values AFTER Inbound IDOC Posted successfully

    Hi SAP Experts,
    In my project I receive the inbound IDOC PORDCR05 from PI and posted as an Purchase Order in ECC.
    I create the Z process code and Z function module (which is a copy version of IDOC_INPUT_PORDCR) and complete all the necessary configuration steps. It works perfectly.
    My problem is: I have to  collect some inbound idocs (that satisfied some criteria) and change the value of field EKPO-TXJCD and EKKN-KOSTL of the PO AFTER  it posted successfully (means the purchase order is created and save in database).
    How can I do this? I've try to put the logic code in Z function module, but it does not work, since at that time, the Inbound IDOC is not updated to the database yet.
    Aprreciate your advise.
    Regards,
    Elaine.

    Hi Elaine ,
    as per your cretiria pick the idocs and take created PO# from status 53 & use the BAPI (BAPI_PO_CHANGE) to change the neccessary values in the PO. We can't reprocess those idocs again.
    Reddy

  • LFA1 Table fields are not updated via IDOC for particular vendors

    Hello,
    We have a scenario where some of the additional vendor fields in transaction xk02 should be updated via inbound IDOC.
    The IDOC segments have the corresponding vendor field values in it.
    For particular vendors, the updation is not taking place for those fields.
    What could be the possible reason. Kindly help me with this.

    Hello,
    that may be due to customizing.
    You should check with functional consultant.
    Regards

  • Urgent !!!!! Updating Inbound deliveries via Idoc type DELVRY05

    Hi,
      Is there a way to update an existing inbound delivery through the Idoc type DELVRY05. I'm able to create an Inbound delivery using this Idoc type. But im not able to update the same. There is a field VBELN, in segment E1EDL20. But whenever i pass the Inbound delivery in this field, it takes this field as a reference and creates a new Inbound delivery. And then the referenced Delivery is updated in the field LIFEX in table LIKP.
    Thanks for your help. This is a little urgent.
    Thanks
    Albina

    Hi Ganesh,
    Sorry, I was referring to BAdI /SAPSLL/ECC_INBOUND, but got the name slightly wrong.  As you say, the BAdI Method doesn't have a suitable parameter for making the updates - you would have to make the updates yourself in some asynchronous way (and I don't recommend it).
    Yes, I understood your technical requirement, but you have not explained WHY you want to do it.  I wonder which Customs Authority you are dealing with?  I don't know of any that return additional document codes.  Normally the inbound iDoc is used to convey error messages or status changes from the authority to the GTS Declaration.  Here, it sounds like you are intending to use it for quite a different purpose.
    Probably you should create your own Message Type, Process Code and Function Module to handle the updates.  You could copy much of the code from the standard /SAPSLL/IDOC_INPUT_CCECUS, but it would be a substantial development.
    Regards,
    Dave

  • Inbound idoc for updating delivery date of purchase order

    Hi All,
    Our vendor sends a delivery file consisting of delivery date and quantity(could be partial) for line items of a purchase order.
    I need to update the Purchase order line item with the delivery date and quantity sent from the Vendor. It should add a new confirmation line with custom confirmation category in the confirmation tab of the line item in the Purchase order.
    Each time we get a delivery file we need to add a new confirmation line in the confirmation tab of the purchase order line item.
    How can I get this working using inbound idoc processing? Which Idoc type should I use to solve my issue. Will ORDERSP work for my scenario?
    Thank you,
    Sonali.

    >
    sonali ashi wrote:
    > We have all EDI set up done for ORDERSP idoc in our system. Problem when I use this idoc type by default system is always adding confirmation catgeory 'AB' but we want our custom  category to be added instead of 'AB'.
    > Edited by: sonali ashi on Dec 23, 2010 9:47 PM
    Confirmation category used for order acknowledgement is define in configuation. You can change that from AB to your custom condition and EDI should pickup that.
    SPRO->Material Management->Purchasing->Confirmation->Define Internal Confirmation Category
    >
    sonali ashi wrote:
    > I have also noticed that 'AB' confirmation accepts only full quantity order acknowledgement through Idoc processing.
    > Manually I can add a "AB" confirmation for partial quantity but in the idoc processing it fails.
    > Edited by: sonali ashi on Dec 23, 2010 9:47 PM
    Check tolerance limit defined for confirmation category in 'Conformation Control' Node in SPRO at same level as above.
    Regards,
    Pawan.

  • Inbound Idoc - Date fields not getting saved

    Hello,
    I have created inbound idoc scenario in SAP. I receive Idoc from non SAP system to SAP system.
    then data from IDoc is saved into different tables, for that I have written one function module (attached to process code)
    One of the segments in IDoc type has date as a field. It is of type sy-datum.
    When I receive Idoc in SAP only date fields are not getting saved in tables.
    Is anything specific need to be done for date fields? please advice.

    check which format you are getting into sap and make sure you are coverting in into required format.

  • Payment Terms wrongly getting updated using Inbound Idoc

    Hi All,
    I have a inbound IDOC which creates new invoice evrery time it gets triggered. In the function module attached with that IDOC there is a logic written to fetch the payment terms from the vendor master LFB1. System should display that Payment terms in tcode MIR4 (Display Invoice) as per the logic written in the IDOC FM. But, It is displaying wrong payment terms.
    Select single ZTERM
    into v_zterm
    from lfb1
    where lifnr = p_lifnr.
    I have checked while debugging my logic fetches the correct payment terms (20NM) but the same is not getting updated in MIR4 . wrong value (42 Net days ) geting updated. Please suggest what needs to be done to correct this.
    Thanks,
    VB

    Vikas,
    Your quesion can be bit more clear. What is that 42 days..?? To my guess based on your payment terms due date might be calculated and kept as 42 days. If you can tell us about 42 days then someone can help you.
    Regards
    Venkat

Maybe you are looking for

  • Itunes Icon bounces, will not open PLEASE HELP!?

    I have an Imac G4 running 10.4.11. I am/was using Itunes 7.6.4. About a month ago afer downloading and installing updates from the system updater, My Itunes stopped working. When I attempt to open the app either from the dock or from the applications

  • Problem adding a filter to Recordset

    Hi, I have added a record set to a page, and it works fine. Then I add a filter to the record set so I can work with the record stipulated by the URL parameter, and it stops working. Here is the code that is added without a filter: mysql_select_db($d

  • Barely any songs fit on my 30 GB

    i have a video 30 GB iPod. and i have 1,362 selected songs that i want to put on it. just those songs alone equal 35.33 GB so i cant fit them all. but wasnt this supposed to store WAY MORE songs than a little over a thousand? what am i doing wrong?

  • SA 540 Configuration w/CradlePoint MBR1200

    Currently, we have a business internet account (via AT&T) with a Netopia router bridged to a CradlePoint MBR1200 to provide for EVDO failover capability.  We are looking to open the CradlePoint up totally (i.e., no NAT, DHCP, Firewall) etc.., and hav

  • Clarification in T.C  MC35

    Hai gurus , i have one doubt in T.C MC35. while creating rough cut plg profile, we give Material/Plant/status = 4/usage = 1/lot size. Also we have to give time span,what is use of this time and why should we give the details in the resources table. w