Need to reduce idoc for PO
Hi all,
we have a requirement to send PO details when new po is crated in SAP,
but we need to send only 13 fields from PO , so how to reduce the fields and how map the fields,
the below are the fields needs to send to legacy system.
EBELN
WERKS
LGORT
AEDAT
BSART
EBELP
MATNR
MENGE
MEINS
BANFN
EINDT
MENGE
REVNO
ERDAT
which idoc needs to use , there are 3 idocs are available in SAP( PORDCR04, IMPINV01, ORDERS05)
we are using ECC 6.0
Regards,
Suresh
HI,
there are a lot of ways.
IF you are using ORDERS05 (ORDERS).
Implement Exit "EXIT_SAPLEINM_002" and remove all unanted value in the Segments.
Note: Each Segment is used by that exit.
another way.
Wait if the ORDERS is complete.
Implement BADI "IDOC_DATA_MAPPER" and use Method "PROCESS" to get rid of all unwanted data.
Note: this badi is called after IDOC_OUTPUT_ORDERS.
Note: take care of using this Badi cause every created IDoc is running through that function ? You have to restrict for each IDoc Type and maybe Partner.
example.
Case CONTROL-IDOCTP or RCVPRN or ....
when 'ORDERS05' ...
endcase.
Regards,
Gordon
Similar Messages
-
Help needed in inbound IDoc for ORDERS....
Hello all,
I need help in IDoc for ORDERS.. Here is the situation. I have an ORDERS IDoc coming to my SAP system from my customer. When I see the SO it creates.. it says that it has incomplete data.. Information like pricing, inco terms, payment terms. load data, load date etc. is not filled in. How do get those filled automatically.. my customer can not, obviously, give me all the information needed for the SO.. Where do I configure and how?
Thanks,
CharlesHi,
You can use user exits available in FM IDOC_INPUT_ORDERS to populate additional information.
Also you can use form CUSTOMER_FUNCTION_DYNPRO to populate additional information for BDC screens of VA01. This form is available in FM IDOC_INPUT_ORDERS as well.
Regards,
Ferry Lianto
Please reward points if helpful. -
Need list of Idocs for a particular Order Number
Hello all,
I am processing Outbound Purchase order Idocs.
I need to know all the IDOC Numbers that got triggered for a particular Purchase Order.
Example : for Purchase Order number 4500000001 there were 10 IDOCS that got created over the last 5 days.
How do i get a list of all those IDOC numbers for that particular PO Number.
Regards,
ArunHi,
you have to check the objects relationship tables IDOCREL and SRRELROLES.
Hereafter a simple abap, just an example on how the relationship works.
REPORT ZSDN_IDOCREL.
data: lsrrelroles type srrelroles,
lroleid type srrelroles-roleid,
lrole_b type idocrel-role_b.
parameters: pebeln TYPE ekko-ebeln OBLIGATORY default '4500015519'.
* 1 SRRELROLES: From the Business Object Key (Purchase Order) gets the corresponding link
SELECT roleid FROM srrelroles into lroleid up TO 1 rows
WHERE objkey = pebeln
AND objtype = 'BUS2012'
AND roletype = 'OUTBELEG'.
ENDSELECT.
check sy-subrc = 0.
* 2 IDOCREL; From the Purchase Order link get the Idoc Link
SELECT role_b FROM idocrel into lrole_b UP TO 1 ROWS
WHERE role_a = lroleid.
ENDSELECT.
check sy-subrc = 0.
* 3 SRRELROLES: From the Idoc Link gets the corresponding object key (Idoc Number)
SELECT * FROM srrelroles into lsrrelroles UP TO 1 ROWS
WHERE roleid = lrole_b.
ENDSELECT.
check sy-subrc = 0.
write:/ 'Purchase Order:', pebeln.
write:/ 'Outbound Idoc :', lsrrelroles-objkey.
Regards,
Andrea -
Need to reduce details for using a browser game
can I somehow adjust the flash player, so that the details of the browser game are reduced on my screen? All I found is a check box where I can choose the hardware acceleration (what was not useful)
I am using flash player 10, firefox 3.5 and XP
thank you for any hint!HI,
there are a lot of ways.
IF you are using ORDERS05 (ORDERS).
Implement Exit "EXIT_SAPLEINM_002" and remove all unanted value in the Segments.
Note: Each Segment is used by that exit.
another way.
Wait if the ORDERS is complete.
Implement BADI "IDOC_DATA_MAPPER" and use Method "PROCESS" to get rid of all unwanted data.
Note: this badi is called after IDOC_OUTPUT_ORDERS.
Note: take care of using this Badi cause every created IDoc is running through that function ? You have to restrict for each IDoc Type and maybe Partner.
example.
Case CONTROL-IDOCTP or RCVPRN or ....
when 'ORDERS05' ...
endcase.
Regards,
Gordon -
Need help on IDoc for Picking, Packing and PGI against the Sale order
Hi All,
I am new to this IDoc stuffs. Below is the scenario for which I would like to know the details of the IDoc...
Business Case:
1. Storage location is a HU Managed but not WM managed.
2. This storage locations is managed by a third party
3. Outbound delivery document against the SO will be created by our personnels in SAP for this storage location.
4. Picking, Packing and PGI needs to happen/post via Idoc. (By packing here, i refer to assign the HUs that are already created for the materials and is available in the storage location and not repacking)
Is there any standard IDoc that can be used here to Pick, Pack and post PGI. We would like to have picking and packing in a first idoc and PGI on the second idoc.
Thanks,
PrashantHi Typewriter,
Thanks for your reply on this post..
The business process is as below (it was changed recently to have the creation of OBD, pick HUS and then post GI via single IDOC)
1. We have a storage loc in our enterprise structure that is HU managed but not WM managed.
2. This storage loc is being maintained by a third party.
3. SO will be created to be shipped out of this plant/sloc.
3. The stocks at this storage loc will be Special stock "E" against the sales order. And the stocks will be Packed in HUs.
4. The third party is informed to deliver the stocks (HUs - that do have the special stock number which internally refers to the the SO number and the line item number) directly to ship to party address in SO.
5. The 3rd party will physically ship the HUs to customer and send in the details that they have shipped goods against the sales order.
6. The details sent by the 3rd party will be received in SAP to create OBD for the sales order, Pick, Pack and post GI. This can happen via a single IDOC..
I am now planning to create a custom IDOC type referring to the standard IDOC type DELVRY03 and message type DESADV and to use a custom BAPI/FM.
Do you think I am using the right ones?
Thanks,
Prashant Kumar -
Sending reduced IDOC from XI to R/3 with nodata markers
Hi !
I need to update a VERY FEW Vendor fields data in R/3 from XI (FILE-XI-IDOC). I'm using the standard IDOC type CREMAS04 (I need to update fields of the E1LFBWM segment...withholding tax fields).
The problem is, that if I disable the not needed IDOC fields in the XI message mapping, when the IDOC reaches R/3, it blanks all the fields that were empty as result of the mapping...I verified it using XI and using the IDOC test tool (we19). For example, if the vendor had data in fields such as "salutation", "phone number", etc. after the IDOC processing, those fields change to BLANK.
One solution is to send the NODATA marker ("/") in those not needed fields, and that works!!!!...<b>BUT</b>, there are hundreds of IDOC fields.
I made a reduced IDOC type, based on CREMAS, enabling only the segments and fields needed, but tnx-WE19 and XI keep sending blank data in the not needed fields instead of the NODATA marker.
How could I send by default, the NODATA marker ("/") to all the fields NOT mapped or disabled, without having to map each field manually ?!?!?
Should XI send those fields as "/", or the R/3 should detect that the incoming IDOC is a reduced IDOC type, and complete all the not existing fields with NODATA ??
The goal is to update some data, and not overwrite with blanks, those fields that should remain untouched.
Thanks !!
Matias.Matias
Is ur intention /equirement to send the NODATA for the rest of the IDOC elements or just send the reduced IDOC for the required sender elements..
if it is only for sender file elements, as sravya said Note 709400 describes
The integration repository provides a new function: "export reduced XSD" to reduce the XML schema of an IDoc.
To use this function in the mapping tool, proceed as follows:
1) Open the relevant IDoc in the object editor of the XI Repository.
2) In the menu "Tools", select the menu option "Export reduced XSD".
3) Assign a file name in the subsequent dialog box and save the data on the hard disk of your local PC.
4) Use this exported file in the message mapping instead of the IDoc by using the function "Import XML or XSD" in the mapping tool to select the source or target message. So you must use this function to import the reduced XML schema stored under
3) of the IDoc in question, and use this XML schema instead of the complete IDoc.
Note: The XML schema generated using the function "export reduced XSD" does not contain the full information in the repository on the IDoc and should only be used for the mapping.
option2: if you want to send the NO DATA, you got to develop UDF in Java or XSLT..
Here is a sample Java code:
obj = inputModuleData.getPrincipalData();
msg = (Message)obj;
XMLPayload xmlpayload = msg.getDocument();
DocumentBuilderFactory factory;
factory =DocumentBuilderFactory.newInstance();
DocumentBuilder builder = factory.newDocumentBuilder();
// parse the XML Payload
Document document = builder.parse((InputStream)
xmlpayload.getInputStream());
var x=document.getElementsByTagName("<rootnode>");
for(i=0;i<x.length;i++)
//the attlist variable will hold a NamedNodeMap
var attlist=x.item(i).attributes;
if (attllist.getvalue.equals("") { //pseudo
attlist.setvalue("/"); //pseudo
document.write(att.value + "<br />");
Good luck
Thanks-Gopal
Message was edited by:
gopal srinivasan -
HI Helpful Hearts,
I need to create IDOC for some file its also with me, Please help me how to create IDOC, and also i need that IDOC number.
Tobe frank this is the first time i am going to create IDOC.
Please do needful.
Thanks in advance.Hi,
Beginners guide for IDoc to File scenario:
http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/e07dcaa0-a92b-2a10-3a96-b3d942bd1539
The above link will provide you the step by step details.
Idoc number is contained in the DOCNUM field under EDI_DC segment in the IDoc.
Hope it helps buddy
Thanks
Biswajit -
Hi,
WBS Master Data is stored on an external system (called PRISM).
I need an Inbound IDoc for update in SAP of WBS data sent by external system.
Thank you in advance.
Kieron KellyHi,
Please check the IDOC type : if that doesnt suffice, go with a custom IDOC.
/ISDFPS/PS01
BUS2054001 is a business object that has many BAPI's for processing the WBS data. Check the method and click on ABAP tab for the BAPI/FM names.
Regards
Shiva -
I have 4 systems, i.e.: PLM and R3-1, R3-2, R3-3
I want to send a reduced IDOC for material master (MATMAS) from the R3 instances to PLM
I created a reduced IDOC type for MATMAS and created a transport request of ALE tables of reduced message type in PLM.
However, I am unable to import the transport request from PLM to the R3 instance, because PLM is unicode and R3 is non-unicode.
As a workaround until I resolve the unicode issue, I re-create the reduced IDOC in the R3 instance and I am able to send the material master data correctly.
Is there a simpler workaround than re-creating the reduced idoc in each R3 instance?
Also, when I send material master data from R3 using BD10, it does not send associated material class even though, I specify 'send material in full'. Where does that association take place?
Any thoughts?The table is maintained with BD69 - Assignment of message type to IDOC type.
In my case I added one line with values:
Message type: {my reduced message type}
Basic type: HRMD_A06
Extension: {my HRMD_A06 extension}
Also it looks like there is another (better?) way of making the assignment. It is done with WE82, described in sap help here http://help.sap.com/saphelp_erp2005vp/helpdata/en/dc/6b7db043d711d1893e0000e8323c4f/frameset.htm and also discussed in this topic.
SAP ERP Human Capital Management (SAP ERP HCM) -
Outbound Idoc for Goods Recept
Hi All,
I need to setup Idoc for transfer posting from storage location to storage location,So currently there is no outbound process code for trigerring outbound idoc from SAP system to external system.
I hope we have to create a new output type and segments to do this.
B'coz , WMMMBXY and its segments are used for inbound idoc creation during GR. and theFM for this process is L_IDOC_INPUT_WMMBXY
Can somebody help me in writing an outbound idoc program for goods receipt done in MIGO.
Thanks in advance.Hi Shazia,
Speaking in terms of EDI Idocs, system is not prepared for send Goods Receipts because normally is an incoming message not the opposite. All the output messages you can find are for printing purposes.
So you need to configure everything for Output Determination and create a new function module to capture NAST message determination, retreive GR data, populate the Idoc and distribute it. Finally you have to create output process code, partner profile, port, rfc, distribution model, etc. etc.
Your starting point is next IMG activities to configure new output type for EDI medium for application ME: Material Management>Invetory management and Physical inventory>Output Determination.
Reward points if useful
Roger -
Have CS5 and CS6. Need to reduce size of file from 6Mb to 2 Mb for contest purposes without losing original
Just save the document to a new jpeg file name using a lower quality setting or re-size the image down in size the save a high quality smaller new jpeg image.
-
Hi experts,
I have an requirement , when I change any infotype record from pa30 or pa40, i.e
suppose I am changing the infotype 0002 in pa30 , the idoc only generated for that changed infotype only,
but I need it to generate the idoc for some other infotypes also I.e(0000,0002,t528t, 0016).
So please give me some help to generate idoc when I run a rbdmidoc(bd21).
Thanks in advance.
Venkatyes, visible bounds is reading the non-visible masked objects too.
you're going to have to do it the hard way, loop through all your objects to get your bounds manually, and while you're at it, test for clipping masks and use the masking path instead. -
I need to reduce the image size (text is too large to allow for binding).
What is the output device - it is best to set scaling there, or scale while printing from Acrobat. The only means to accomplish
I need to reduce the image size (text is too large to allow for binding).
Print to Adobe PDF printer.
Define a page size in the Properties of the PDF Printer
Print from Acrobat to PDF Printer with scaling in effect. -
Which IDOC segments need to be filled for message type CRMXIF_ORDER_SAVE_M
Hi ,
I am working on data migration to CRM7.0 system.I am using LSMW for creating ISU Contracts using CRMXIF_ORDER_SAVE_M message type and CRMXIF_ORDER_SAVE_M01 IDOC kindly help me in what all segments needs to be filled for creating ISU contract in CRM system.
Kindly share if there are any documents related to data migration into CRM system for IS - Utilities.I need to migrate u201CBusiness Partnersu201D, u201DISU Contract Accountsu201D, u201DConnection Objectsu201D, u201DPODu201D & u201CContractsu201D to CRM 7.0 .
Also I need to migrate Customer Interaction Records, Business Activities, Service requests and other information such as u201CProspectsu201D, u201CMarketing Attributesu201D to CRM 7.0.
Kindly help me in this as I am not able to find any thing from web.
Regards,
Suresh.Hello,
I'm not sure you're taking the best approch.
Usually when you need to migrate ISU contracts into an ISU-CRM integrated system, you first migrate everything you need in ISU through the VERY powerful migration workbench available (transaction code EMIGALL), and then you replicate your data to CRM via INITIAL download.
That's definitely the strategy that will give you the best performance, and less work.
Kind regards,
Nicolas Busson. -
Why sender agreement need not to create for IDOC
Hi Experts,
why sender agreement need not to create for idocPlease check these related discussions:
Re: Question on sender agreement
Re: IDOC and HTTP Adapters - sender agreement ??
Re: ** Sender Agreement is required for RFC but not IDoc, XI, & HTTP.. Why ?
Many threads with the same Q are answered on SDN....so if you search you can find the correct answer that you need!
Regards,
Abhishek.
Maybe you are looking for
-
Pedido de compra com - Plano de Faturamento
Boa tarde senhores, Energia elétrica, Gás, Água, etc.... Qual é a melhor forma de tratar este tipo de aquisição? Um pedido de compra com plano de faturamento? Contratos? Como fica o fluxo de caixa? Consigo utilizar folha de serviço para plano de fatu
-
Hello I have the following issue with a Cisco 2811 router. I have two WAN connection ( fiber and ADSL ) and I want to make WAN load balancing so I add two route : 0.0.0.0 0.0.0.0 dialer1 and 0.0.0.0 0.0.0.0 fa1 the problem is with fiber connection (
-
Adobe AIR Windows app instance control
Hello! I´have an old Adobe AIR Windows app. How can I prevent multiple instances of the app. For example one user account launches the app on login, then on a user switch a new instance is started. I want only one instance of the app running. I come
-
<WebPartPages:XsltListViewWebPart ID="XsltListViewWebPart_AppWeb" runat="server" ListUrl="Lists/MyList" IsIncluded="True" NoDefaultStyle="TRUE" Title="XsltListView web part" PageType="PAGE_NORMALVIEW" Default="False" ViewContentTypeId="0x"> </WebPart
-
How to disable account in place of delete for trustedDeleteRecon
Hi All, I have a requirement where is have to setup a trusted reconciliation from particular container in AD. Reconciliation is working finr. Now the extended requirement is that once the user will be deleted from that container then on next recon th