Need help on Inbound Delivery - Mapping from IDoc to LIKP Table
Hi,
For the DESADV IDoc (Inbound Delivery) we are currently mapping data to the LIKP table for a subset of fields via function module INPUT_IDOC_DESADV. If I wanted to map the ABLAD - Unloading Point field from the IDoc to the LIKP - ABLAD - Unloading Point field is this possible and if yes, what work would be required?
And could you please let me know how to find out an user exit for the message type? (message type = desadv)
Hi Murphy,
Try this custom function '002'.
CALL CUSTOMER-FUNCTION '002'
EXPORTING
xekko = ekko
xlfa1 = lfa1
xlfb1 = lfb1
dobject = object
TABLES
int_edidd = int_edidd
xekpo = xekpo
xeket = xeket
dvbak = xvbak
dvbap = xvbap
dvbkd = xvbkd
EXCEPTIONS
error_message_received = 1
data_not_relevant_for_sending = 2.
Hope this will help.
Regards,
Ferry Lianto
Similar Messages
-
How to create Inbound Delivery using SHPMNT03 Idoc details...
Hi,
I need to create <b><b>Inbound delivery</b> using idoc SHPMNT03</b> details. I am getting all the data required to create Inbound delivery is from this idoc. for that I need to create a custom function module.
I tried with FM IDOC_INPUT_DESADV1. But it is for only if you use DELVRY03.
I haven't (yet) found a way to create automatically an inbound delivery when you post the goods issue from the outbound delivery.
Does anyone experienced the use of inbound deliveries with STO and what are your recommendation?
Thanks a lot,
Ranjith.Hi there,
Please have a look at the following link.
http://help.sap.com/erp2005_ehp_04/helpdata/EN/dc/6b828943d711d1893e0000e8323c4f/frameset.htm
Hope this helps,
Kind Regards,
Matthew -
Mapping from nested to one table (sales order) XML to IDOC
Hello,
I have to map a xml file to the IDOC SALESORDER_CREATEFROMDAT2.SALESORDER_CREATEFROMDAT202.
How I can map the the longtext from the XML file to the IDOC struktur.
Part of the XML file, there could be n times BPosition with n times longtext. The longtext must be map with a table. I some case its a mapping from nested to mornal table.
<BPosition>
<lpos>1</lpos>
<bbl_sap_nr/>
<milvonr/>
<kurztitel/>
<anzbest/>
<anzliefer/>
<kostenpflichtig/>
<longtext>
<line>pos1 zeile1</line>
<line>pos1 zeile 2</line>
</longtext>
</BPosition>
thanks for your help.Hi, I have to map this 1 XML to 1 IDOC
XML:
<?xml version="1.0" encoding="UTF-8"?>
<ns0:MT_Milver xmlns:ns0="http://ccssap.bfi.admin.ch/milver">
<bestellung>
<besteller>
<bestellnr/>
<auftragdefit/>
<wempfdebit/>
<bestelldat/>
<lieferdat/>
<anzpos/>
<language/>
<adrzeile1/>
<adrzeile2/>
<adrzeile3/>
<adrzeile4/>
</besteller>
<Kopf>
<Lkopf>Kopf1 zeile1</Lkopf>
<Lkopf>Kopf1 zeile2</Lkopf>
</Kopf>
<BPosition>
<lpos>1</lpos>
<matnr/>
<milvonr/>
<kurztitel/>
<anzbest/>
<anzliefer/>
<kostenpflichtig/>
<bemerkung>
<line>pos1 zeile1</line>
<line>pos1 zeile 2</line>
</bemerkung>
</BPosition>
<BPosition>
<lpos>2</lpos>
<matnr/>
<milvonr/>
<kurztitel/>
<anzbest/>
<anzliefer/>
<kostenpflichtig/>
<bemerkung>
<line>pos2 zeile1</line>
<line>pos2 zeile 2</line>
</bemerkung>
</BPosition>
</bestellung>
</ns0:MT_Milver>
IDOC:
The Idoc have a segment for the longtext (table).I have to map, lpos, line into E1BPSDTEXT from SALESORDER_CREATEFROMDAT2. Its now more clear? -
Advanced mapping from IDOC to SOAP with reversed 3 level context change
Hi everyone.
I am having a though time mapping the HRMD_A01 IDOC into a SOAP message. The reason is that the reciever expects an xml structure where the root node is cost center instead of employee which is the case in the IDOC.
Mapping from:
IDOC (1..1)
E1PLOGI (1..unb)
SEGMENT (String)
OBJID (String)
E1PITYP (1..unb)
E1P0001 (1..unb)
SEGMENT (String)
KOSTL (String)
To this structure:
List (1..1)
CostCenters (1..unb)
KOSTL (String) ----> Mapped against KOSTL above
Employees (1..unb)
OBJID (String) ----> Mapped against OBJID above
I expect several occurances of E1PLOGI which states multiple employees sent in the IDOC. I also expect several occurences of E1P0001 containing cost centers.
My conclusion is that I need an advanced mapping and I have created one which collects all KOSTL for the IDOC context, deletes duplicates, and creates the CostCenters segment. This is now working. But my problem is that I can't create the employees segment in the right place. They are only created once under the first CostCenters node.
Here's the java-code for mapping between KOSTL and CostCenters/KOSTL:
public void costCenters(String[] var1, ResultList result, Container container) throws StreamTransformationException{
Set set = new HashSet(Arrays.asList(var1));
String[] array2 = (String[])(set.toArray(new String[set.size()]));
Arrays.sort(array2);
for (int i = 0; i < array2.length; i++) {
result.addValue(array2<i>);
Any ideas on how to proceed?
Best RegardsHi,
Do the mapping like below.
UDF should be select as context.
List (1..1)
CostCenters (1..unb)
KOSTL (String) ----> Mapped against KOSTL above
Employees (1..unb)
OBJID (String) ----> Mapped against OBJID above
Mapping:
KOSTL(RightSelectChange the context to E1PITYP)--UDF--Removecontext--CostCenters
KOSTL(RightSelectChange the context to E1PITYP)--UDF--SplitbyValue(Each Value)--KOSTL
constant---Employees
OBJID----------------------------------------------Use One As Many---SplitByValue (EachValue)----------OBJID
KOSTL(RightSelectChange the context to E1PITYP)--UDF---
KOSTL(RightSelectChange the context to E1PITYP)--UDF---
Regards,
Prakasu.M
Edited by: prakasu on May 20, 2009 3:28 PM -
I want Inbound Delivery number from Material document
Hi,
I wish to know where is the Inbound Delivery number (which SAP table) stored when we do a MIGO_GR against an Inbound Delivery ? I want to fetch the Inbound Delivery number from the Material document number.
I observe, when we do a MIGO_GR against an Inbound Delivery; the original PO number (against which the Inbound Delivery was created) is stored in MSEG_EBELN. However, there is no trace of the Inbound Delivery number...neither in MKPF, nor in MSEG.
Since a PO number- line item can have multiple Inbound Deliveries associated with it, having a PO number in MSEG is of no use to me.
Please help.
Thanks,
PranavDear Pranav,
I think you should check again, in MSEG, there's also PO -item with field name : MSEG-EBELP. So from PO and PO item , you can get all the Inbound delivery number.
Regards,
w1n -
Hi I just got a new MacBook Pro I need help transferring Bootcamp (Windows XP) from my old Macbook Pro to my new Macbook Pro Mac OS X 10.7.4 2.6 Ghz Intel Core 17. How do I make bootable clone of Bootcamp?
you can't just move XP even if you took the hard drive and have Windows boot and function.
Apparently there are Windows tools to sanitize the OS and strip all the motherboard drivers and services.
Time to get a supported OS. Don't want to pay, then use 8 for the time until it goes on sale.
There are no drivers for even Vista on 2011 and later Macs. -
Need help in Activating office 365 from my BizSpark
I need help in Activating office 365 from my BizSpark. When I tried to activate it asks for office 365 ac id. i don't know how to sign up for that. Please provide step by step instructions for that.
thanks,
AlbinSorry, but that one doesn't sound like something for "users helping other users" -- unless someone smarter comes along here ... :-) ... I would advise going to Apple Support to have it taken care of ... or to your local Apple Store, over to the Genius Bar.
Apple Support
http://www.apple.com/support/
Apple Retail Store - Genius Bar
http://www.apple.com/retail/geniusbar/ -
Need help in fetching requested data from JSP
Hello,
I really need help in fecthing requested data from JSP to servlet. Can anyone assist me as soon
as possible because I must finish my program by today.....( 20/02/2002).
Thanks in advance.It is very likely that somebody can help you, if you say what your problem is. In fact somebody might already have helped you. What is your problem?
-
I need help moving my Photoshop 7 from my old laptop to my new laptop which is running Windows 7 Enterprise. I’ve tried two routes unsuccessfully. I install the CD, it does not autoplay. I execute Autoplay.exe at the root directory, I am welcomed, I choose English, I accept the EULA, I get the Install/Explore choices window, with the Install button already selected, I click the Photoshop button, the CD spins, and nothing happens. In the 2nd attempt I execute Setup.exe in the Photoshop directory, and nothing happens at all. I’m never even offered the opportunity to enter my product code. What should I do?
There could is likely a compatibility problem between the old software and the newer operating system.
-
I need help to transfer my movies from I tunes to an external hard drive please
I need help to transfer my movies from I tunes to an external hard drive please
Teach a man to fish, feed them for life.
https://discussions.apple.com/message/16276201#16276201 -
HT1386 I need help getting my contacts transferred from my old phone to my new one
I need help getting my contacts transferred from my old iphone to my new one
Either backup the contacts in iCloud or with a compatible programme on your computer (Outlook, Windows Contacts, Address Book etc).
Once done, sync the contacts to your new iPhone from that programme/iCloud.
Read "Contacts"
http://support.apple.com/kb/HT1296
http://support.apple.com/kb/HT4859 -
I Need Help Syncing All My Music From My Desktop To My IPhone 5 Helllllllllllp Please
Hi can someone help me please I have a IPhone5 64g I need help syncing all my music from my I tunes library. I have a total of 3600 songs on my I tunes library which is 26g on my desktop all the boxes are checked on each song when I hit sync im only getting 1400 songs wich is only 10g of music I want all 26g of musicon my IPhone 5 when i hit sync all my music are not syncing and I need helping syncing all my music can someone help me please?
Are you upgrading from an existing iPhone? Back up old phone, then restore new phone with the cable. I had to do this a number of time to get all my purchases across.
-
Hello need help I download a game from 4shared and it an iPhone game . It show up and my iTunes but I can't sync it to my phone I need help
Wowowowow I was told I can get any app from the net and it will work thank
-
Post Goods Receipt for Inbound Delivery using WHSCON IDoc
Dear All
Currently I am working on a big project dealing with EDI connections to our logistics partner for the Export business. The entire message flow between Lindt and our partner should be via EDI. Our SAP release is (still) 4.6c.
We will create two kinds of despatch advice messages, one for inbound deliveries and one for outbound deliveries for customers.
I would appreciate your support in the following problem that I am facing with the inbound delivery scenario:
We create stock transport orders (purchase orders, POs) for the goods intended to be delivered into the plant at our partner
We create a delivery (type NL = replenishment delivery) for this POs
As soon as we post the goods issue we send the despatch advice (as EANCOM D96A DESADV message) to our partner.
At this point the delivery is basically completed, i.e. packing status (PS) and goods movement status (GM / GS) are equal to 'C' (= completed).
Our logistics partner uses the same EDI message to send us the goods receipts data, e.g.:
We dispatched 50 units of a product => QTY:50:12
The partner received indeed 50 units => QVR:50:66
Please note that we do not use the QVR segment for the quantity difference (between despatched and received quantity) but it contains the received units. This way we avoid negative values in the QVR segment.
When the logistics partner sends back the DESADV message containing the received quantities (QVR segment) we want to make
the goods receipts for the products in the original stock transport order and
upate the message flow in the delivery
My idea was to transform the incoming DESADV message into a WHSCON.DELVRY03 IDoc based on the documentation in: [Delivery Interface|http://help.sap.com/saphelp_crm40/helpdata/en/e2/654b15a9f411d184ec0000e81ddea0/content.htm]
In the delivery header control E1EDL18 I used QUALF = 'PGI' (Post goods issue).
I prepared an inbound WHSCON IDoc according to the documentation mentioned below. I managed to get some feedback from the Idoc processing implying that the system tried to do the goods receipt in the PO but failed.
To make a long story short here are my questions:
Can an inbound WHSCON IDoc used for doing both the goods receipt in the PO and the update of the message flow in the delivery?
Does anybody have an example on how to fill the WHSCON IDoc?
Or is my approach a cul-de-sac ?
Kind Regards
Uwe
PS: A related question can be found here: Goods Receipt in PO AND Message Flow Update in Inb. Delivery using WMMBXYHi Uwe,
Can an inbound WHSCON IDoc used for doing both the goods receipt in the PO and the update of the message flow in the delivery?
The binary answer would be no. You should use WMMBXY or MBGMCR instead.
But if we are doing goods receipt against Inbound delivery then answer is YES with additionally E1EDL18-QUALF = 'PIC' populated. But please remember no partial receipt is possible against Inbound Delivery.
We should populate E1EDL20-VBELN with our Inbound delivery number and line item info should go to E1EDL24.
I have done a similar interface recently where we are doing receipt against Inbound delivery. But our case was a bit complex because we had to support against Inbound delivery. So we had to go for a custom solution on top of IDOC_INPUT_DELVRY.
Hope this helps. Let me know if you have more questions.
Regards,
Rudra -
While Mapping from Idoc to Oracle Structure
Hi Guys,
while we From IDOC to Oracle..
when we follow the store procedure method to update the data in oracle.
statement
tablename
action
table
access
Field1
Field2
Key
Field1
field2
Here where should we need to map the from soucre Structure to Target structure..
what i mean should i need to map in the fields under access or Key..
can some help me in these
Regard's
rajOK, you are using Stored Procedures right ? Then your action will be inside the stored procedure.. Not in the xml data/message type..
It is like calling a function from the program. When you call a function from a program, you just pass the values right ? and logic to insert/update/delete is written inside the function right ? similarly here you need to do the same. In this case, XI is calling stored Procedures with all the input values from the idoc ( i.e mapping) and the attribute value is "EXECUTE" not INSERT/UPDATE etc..
That's the reason , I told, ignore current structure and just go thru the blog once, without considering current structure.. Then you can find the exact answer..
Regards,
Moorthy
Maybe you are looking for
-
Nvidia Geforce 650m driver problem for windows 8.1 on macbook pro
Hey guys. I installed windows 8.1 on my macbook pro (mid2012, Intel core i7, retina, Geforce 650m) of course only for game, but I have a disappointing problem with the graphics driver. First I tried to instal graphics card driver by bootcamp (not the
-
Purchase Order - Delivery Schedule
Hi, I have 2 problems 1) when I try change Delivery Schedule Delivery Date, Quantity and statistical Date I have problem in 1st Delivery Line statistical Date i can't able to change that remaining delivery line 2,3 and so on I can able to do change.
-
Hi, I have return sales order (RE) and when I clicks the document flow, system shown the following: Return Order (Being Processed) RE Credit Return (Completed) Accounting Doc (Not Cleared) why is a Return order indicates "being p
-
Hi after download sdk1.3, sdkee1.3.1, eclipse2.0.2 and when run eclipse i got the following error JVM terminated. Exit code=2 c:\WINNT\syste,32\javaw.exe -cp E:\program Files\eclipse\startup.jar org.eclipse.core.launcher.main -os win32 -ws win32 -arc
-
How to add JCombobox to panels and Paness to frames
we added different items to combobox and that combobox to panels that panels is added to Jame, then we added listener to this combobox , then if we click on this combobox the list of items is appering in the back of the screen . How can i solve this