Problem with IDoc for an outbound delivery
Dear All,
I am facing a problem with the IDoc defined for an outbound delivery.
Scenario:
Implementation of a small enhancement for an IDoc (DESADV, DELVRY01) created for an outbound delivery (in VL02N).
What I did:
I implemented the EXIT_SAPLV56K_002 exit in the V56K0001 enhancement, activated in SMOD, assigned V56K0001 component in CMOD and acivated it. Then I put a breakpoint on the ZXTRKU02 include. For me everything in SMOD and CMOD looks OK.
I have also created a partner profile, port, outbound message config. (message DESADV, basic type DELVRY01, application V2, output message type LAVA, process code DELV. function module used for this process code is IDOC_OUTPUT_DELVRY).
What I can do:
I can issue an IDoc message, it looks ok and contains the standard data.
Problem:
It seems that the enhancement does not work. Finally I put there only one line of code to avoid a program bug and just to check . The system does not stop at the breakpoint (set on the ZXTRKU02 include in the EXIT_SAPLV56K_002 exit).
Am I using the proper exit? I appreciate any suggestions.
Thanks,
Grzegorz Skorus
Hello Grzegorz
Not an expert on this, but noone is responding so I thought let me try and help you. You seem to be doing the right things as mentioned in OSS note 1498409.
Firstly since this can be called form Shipment Idoc also, you may need to make a differentiation by the interface parameter 'MESSAGE_TYPE' or segment name. See the attached OSS note, though it belongs to older releases, it may help you.
Also help says 'The callup of this function module is programmed for each enhancement of the internal table for the IDoc (in other words, when you add an extra segment'. So may be you need to add an extra segment/field to make it work.
Futher the user exits are replaced by BADIs. May be you should use exit_badi_v56k.
Hope this helps and others will pitch in.
1498409 - Valuation Type unavailable when creating deliveries using IDOC
631913 - Exit after formatting delivery IDoc type DELVRY
Similar Messages
-
Cancelling a Confirmed TO with HU for an Outbound Delivery
We are using Handling Unit Mangement and Warehouse Management . Each Piece has a HU Number and we created an outbound delivery with 5 items. 5 Transfer orders are created and 4 transfer orders are confirmed for 4 items and we had only one unit of stock for the other item and we found that the item is damaged and cannot be shipped, so I need to cancel the Transfer orders created for other items so that i can remove the delivery off the shipment. we do not ship partial. so we will ship the delivery in the next load,
The Transfer orders are created with movement type 601 & When i tried to unconfim the confirmed transfer orders using
1) LT0G with movement type 602 I got an error message : "Delivery 80001495: Function not yet supported for TOs for HUs"
2 ) I tried to create another Transfer order through LT01/LT10 using movement type 602 so that i can bring the stock from 916/001/0080001495 to some other storage type and some other bin, but i got an error message stating that "Enter Requiremetn Number and type"
Can any one of you suggest how to canel the confirmed Handling untis for an OBD.
I searched the forum but could not find the right answer for this situation.
Thanks,
SriniHello,
Solution is described in OSS Note [436644 - Return to stock from delivery (LT0G) is not supported w/ HUs|https://service.sap.com/sap/support/notes/436644]
Andrzej -
FM for create outbound delivery with order reference
Hi,
Can u pls tell me the function module name for create outbound delivery with order reference.
regards,
Mahi.Hi,
You can use the BAPI BAPI_DELIVERYPROCESSING_EXEC
Check this sample code..
PARAMETERS: p_vbeln LIKE vbak-vbeln.
DATA: BEGIN OF t_vbap OCCURS 0,
vbeln LIKE vbap-vbeln,
posnr LIKE vbap-posnr,
kwmeng LIKE vbap-kwmeng,
matnr LIKE vbap-matnr,
werks LIKE vbap-werks,
END OF t_vbap.
DATA: t_request TYPE STANDARD TABLE OF bapideliciousrequest
WITH HEADER LINE.
DATA: t_created TYPE STANDARD TABLE OF bapideliciouscreateditems
WITH HEADER LINE.
DATA: t_return TYPE STANDARD TABLE OF bapiret2 WITH HEADER LINE.
SELECT vbeln posnr kwmeng matnr werks
INTO TABLE t_vbap
FROM vbap
WHERE vbeln = p_vbeln.
LOOP AT t_vbap.
t_request-document_numb = t_vbap-vbeln.
t_request-document_item = t_vbap-posnr.
t_request-quantity_sales_uom = t_vbap-kwmeng.
t_request-id = 1.
t_request-document_type = 'A'.
t_request-delivery_date = sy-datum.
t_request-material = t_vbap-matnr.
t_request-plant = t_vbap-werks.
t_request-date = sy-datum.
t_request-goods_issue_date = sy-datum.
t_request-goods_issue_time = sy-uzeit.
APPEND t_request.
ENDLOOP.
CALL FUNCTION 'BAPI_DELIVERYPROCESSING_EXEC'
TABLES
request = t_request
createditems = t_created
return = t_return
READ TABLE t_return WITH KEY type = 'E'.
IF sy-subrc = 0.
MESSAGE e208(00) WITH 'Delivery creation error'.
ENDIF.
COMMIT WORK.
READ TABLE t_created INDEX 1.
Write: / t_created-document_numb.
Thanks
Naren -
IDocs for Invioce and Delivery
Hi all,
I have to send the customer the Invoice and Delivery confirmation for that order placed by him through an IDoc in background job.
We are going for a standard IDoc for invoice and Delivery also but how to fill the data into that standard IDoc.
1.Do we have standard report like (BD12, BD14, BD10 etc.)
2.Should we develop a report to fill the data into that Idoc.
Please help me to find standard report or please help me to write code for that standard IDoc.
Thank you all in advance,
Regards,
Shalem.Hi Shalem,
You need to do the following activities.
- Setup condition record (t/code <b>NACE</b>) for shipping (V2) and billing (V3).
- Setup output type (t/code <b>NACT</b>) for shipping (V2) and billing (V3) with transmission medium <b>A</b> (ALE).
- Setup procedures (t/code <b>NACZ</b>) for shipping (V2) and billing (V3) if required.
- Once the above setup are done, for any creation of billing and shipping will create entries into table <b>NAST</b> (Message Status).
- Then you can create IDoc using this standard program <b>RSNAST00</b>. Please ensure your ALE and IDoc configuration have been done such as BD64, WE20, WE21 and etc.
Hope this will help.
Regards,
Ferry Lianto
Please reward points if helpful. -
Creation of sub item with serial numbers in outbound delivery
Hi All,
We need to create a sub item for an Outbound Delivery main item in change mode with serial numbers for sub item.
Process flow:
1. Sales order item created with main item
2. Outbound Delivery created with main item
3. Outbound Delivery interfaced to external logistics sytem
4. External logistics system pick the main item and a sub item (packaging) from warehosue and ship to customer
5. External logistics sytems send delivery pick confirmation interface with main item details and serial numbers for sub item
Now we have to create a sub item with serial numbers in the delivery referencing the same main item.
NB: Delivey can have multiple similar main items but there is only material number in SAP for sub item. Hence the requirement to identify relevant sub item serial numbers to each delivery main item.
Can you kindly tell me in what possible ways we can create sub item with serial numbers for a deliveyr main item in change mode.
Thanks in advance
Best Regards
VeerHi,
Does anybody have an answer?
Thanks in advance. -
Problem with IDoc scenario - IDocs do not aarive to XI
Hi guys!
I have a problem with IDoc->XI->File scenario. Colleagues send IDocs from R/3 and they are not in the XI. In R/3 they look like if they were correctly sent, however, I can not see them in sxmb monitor. BUT, when they send them again explicitly from R/3 (t-code WE19), they arrive...
REALLY strange...
Any suggestions?
IDX2 metadata loaded.. I think, all needed settings are done.
Question - do I need to set up LS in XI ABAP part?
Thanx, Olian!
P.Hi Olian ,
just check if u have followed all the following steps
SAP XI
1) RFC Destination (SM59)
a) Choose create.
b) Specify the name of the RFC destination
c) Select connection type as 3 and save
d) In the technical settings tab enter the details SAP SID/URL and system number#.
e) Enter the Gateway host as same details above SID/URL.
f) Gateway service is 3300+system number#.
g) In the Logon /Security tab, enter the client user & Password details of Destination system.
h) Test the connection and remote logon.
2) Create Port (IDX1)
a) Select create new button
b) Enter the port name as SAP+SID (The starting char should be SAP)
c) Enter the destination client.
d) Enter the RFC Destination created in SAP R/3 towards other system.
e) Save
3) Load Meta Data for IDOC (IDX2) a) Create new
b) IDOC Message Type
c) Enter port created in IDX1.
SAP R/3
1) RFC Destination (SM59)
a) Choose create.
b) Specify the name of the RFC destination
c) Select connection type as 3 and save
d) In the technical settings tab enter the details SAP SID/URL and system number#.
e) Enter the Gateway host as same details above SID/URL.
f) Gateway service is 3300+system number#.
g) In the Logon /Security tab, enter the client user & Password details of Destination system.
h) Test the connection and remote logon.
2) Create Port (We21)
a) First Select Transactional RFC and then click create button
b) Enter the destination port name as SAP+SID (The starting char should be SAP)
c) Enter the destination client.
d) Enter the RFC Destination created in SAP R/3 towards other system.
e) Save
3) Create Partner Profile (WE20)
a) Create New
b) Create the Partner no. name as same the logical system name of the destination system.
c) Select Partner type LS
d) Enter details for Type: US/USER, Agent, and Lang.
e) Click on the + button to select the message type.
f) Select Partner no. and LS which ever create above.
g) Select Message type
h) Select Process code related to the Message type.
I) save.
In SLD System Landscape Directory
TS for R/3 (Logical system):-Assign the client name created in R/3 as Logical system Name.
Ts for Third Party (Logical system):-
BS for SAP R/3 (Logical system):- Assign the client name created in R/3 as Logical system Name.
BS for Third Party (Logical system):-Enter the XI logical system name.
In Transaction SALE
Define and Assign the logical system name
Regards,
AshwinM -
How to set a Default variant for VL06O (Outbound Delivery Monitor)?
Hi All,
I want to set a DEFAULT VARIANT for VL06O (Outbound Delivery Monitor) selection screen with "For Picking", "For Confirmation", "For Goods Issue" and "List of Outbound Deliveries" button option.
I have already created a variant with those 4 buttons. But I cant find a way to set it as DEFAULT.
Appreciate your help on this.
Please note I'm using SAP ERP 6.0 Ehp 4.
Thanks & best regards,
AnupaHi Indranil,
Superb !
This is what I was searching for.
That works really fine. Thanks a lot!
Best regards,
Anupa -
BAPI or FM for VL10F (outbound delivery)
Hai All,
Can Anyone say how to create outbound delivery (VL10F) By Using FM or BAPI.
Explain With Example.
Pls Most Urgent.
Regards,
Ekadevi.SHi,
These are the existing BAPI's for Outbound Deliveries.
BAPI_OUTB_DELIVERY_CHANGE
BAPI_OUTB_DELIVERY_CONFIRM_DEC BAPI for Outbound Delivery Confirmation from a Decentralized System
BAPI_OUTB_DELIVERY_CREATENOREF Generates Delivery Without Reference
BAPI_OUTB_DELIVERY_CREATE_SLS Generates Delivery for Customer Order
BAPI_OUTB_DELIVERY_CREATE_STO Generates Delivery for Stock Transport Order
BAPI_OUTB_DELIVERY_SAVEREPLICA BAPI Function Module for Replication of Outbound Deliveries
BAPI_OUTB_DELIVERY_SPLIT_DEC BAPI for Subsequent Outbound-Delivery Split from a Decentralized Syste
Regards,
Sandeep -
BAPI for posting outbound delivery (VL01n)
Hi,
I need some help in finding correct function module or BAPI for posting outbound delivery (VL01n), the requirement is I need delivery created with reference to sales order and must take following input.
1. Shipping Point
2. Sales Order
3. Selection Date
4. Delivery type
I tried some existing ones and some do not have delivery type input and some without Shipping Point input.
Please let me know.
Regards
Ram.Hi
Please avoid the duplicate post .It is not as per the Forum rules.
You have posted the same question with this title in ABAP General Forum:
Outbound Delivery BAPI/Function module
Neha -
Function module for create outbound delivery
Hi,
Can any one pls tell me the BAPI function module name for create outbound delivery with order reference.
Regards,
MahiHi
This is the BAPI for creating Delivery with Sales Order Reference.
You can use the BAPI <b>BAPI_DELIVERYPROCESSING_EXEC</b>
Check this sample code..
PARAMETERS: p_vbeln LIKE vbak-vbeln.
DATA: BEGIN OF t_vbap OCCURS 0,
vbeln LIKE vbap-vbeln,
posnr LIKE vbap-posnr,
kwmeng LIKE vbap-kwmeng,
matnr LIKE vbap-matnr,
werks LIKE vbap-werks,
END OF t_vbap.
DATA: t_request TYPE STANDARD TABLE OF bapideliciousrequest
WITH HEADER LINE.
DATA: t_created TYPE STANDARD TABLE OF bapideliciouscreateditems
WITH HEADER LINE.
DATA: t_return TYPE STANDARD TABLE OF bapiret2 WITH HEADER LINE.
SELECT vbeln posnr kwmeng matnr werks
INTO TABLE t_vbap
FROM vbap
WHERE vbeln = p_vbeln.
LOOP AT t_vbap.
t_request-document_numb = t_vbap-vbeln.
t_request-document_item = t_vbap-posnr.
t_request-quantity_sales_uom = t_vbap-kwmeng.
t_request-id = 1.
t_request-document_type = 'A'.
t_request-delivery_date = sy-datum.
t_request-material = t_vbap-matnr.
t_request-plant = t_vbap-werks.
t_request-date = sy-datum.
t_request-goods_issue_date = sy-datum.
t_request-goods_issue_time = sy-uzeit.
APPEND t_request.
ENDLOOP.
CALL FUNCTION 'BAPI_DELIVERYPROCESSING_EXEC'
TABLES
request = t_request
createditems = t_created
return = t_return
READ TABLE t_return WITH KEY type = 'E'.
IF sy-subrc = 0.
MESSAGE e208(00) WITH 'Delivery creation error'.
ENDIF.
COMMIT WORK.
READ TABLE t_created INDEX 1.
Write: / t_created-document_numb.
REWARD IF HELPFUL. -
Problem with mail for exchange after update on E72...
Hi everyone,
I updated Nokia E-mail to ver 3.9 on E72. Now I am facing a problem with mail for exchange. I have configured gmail on mail for exchange. I recieve a warning that "unable to sync contact administrator if problem persist". It started to pop up just after the update was over and is very frustrating. Even previously i used to recieve mails instantly but now it generally takes half an hour for me to recieve them. I deleted and created mail for exchange several times but to no avail.
Also i am not able to automatically recieve mails other emails which i have configured. every time I have to manually download them everytime.
Can anybody suggest a way out.
Thanks
AnilIt could be a problem if you're using your network's connections...
I was on a Pay & Go tariff with o2 some time ago, and needed secure connections for various things, o2 told me they didn't provide secure connections on Pay & Go tariffs...
Could be worth checking with them to make sure it's supported.
Nokia History: 3110, 5110, 7110, 7110, 3510i, 6210, 6310i, 5210, 6100, 6610, 7250, 7250i, 6650, 6230, 6230i, 6260, N70, N70, 5300, N95, N95, E71, E72
Android History: HTC Desire, SE Xperia Arc, HTC Sensation, Sensation XE, One X+, Google Nexus 5 -
hello guy! I've got a problem with facetime for mac.My sister has a I-pod touch fourth generation with factime but i cna't phone her a message come on my mac.It say "xxx can't receive facetime's calls"!Can you help me??
Thanks, Dah•veed.
I did see mention of using Google Public DNS while I was searching the forums prior to posting, but to be honest didn't think it was a DNS-related problem.
However, to rule it out I've set the prefered DNS servers on my router to Google's, but FaceTime still disconnects after 4-5 seconds when calling between me and my brother-in-law. It doesn't matter who initiates the call.
As a test, before I made the changes to my router, I logged into FaceTime as him on my MBP and tried calling myself on my iMac, and that was successful.
The same test between the two iMacs when they were here was unsuccessful, so now I'm definitely thinking it's something on the '08 iMac.
Now I just need to figure out what... -
Problem with Twitter for Mac notifications
Hello,
I have a strange problem with Twitter for Mac. On both my home and office Macs. New posts appear in app window but there aren't any notifications even though notifications are set in preferences to show in both dock and menubar. Perhaps anyone noticed similar strange behaviour? I didn't find anything similar on Twitter forums.
Thanks in advance.Solved by
Dr.AvituvOct 20, 2014 11:09 PM
go to Terminal and post this:
/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchSe rvices.framework/support/lsregister -kill -seed
if it doesn't have that specific directory try this:
/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchSe rvices.framework/Versions/A/Support/lsregister -kill -seed
once the scanning is done (can be short or long, depends on how heavy your system is) RESTART the computer.
when you're back, go to Apple>system preferences>extensions.... guess who's there.
I hope it helped.
The Doctor.
iMac, OS X Yosemite (10.10)
To restore Actions extensions for good and other stuff
THANKS! -
Problem with GarageBand for iOS 6/7 Iphone 3gs / 4
Problem with GarageBand for iOS 6/7 Iphone 3gs / 4
Hello,
On February 16, bought the GarageBand for iOS which was free and so I find and install it on my 3GS .
Take the demo: Curtain Call Demo
and within the instruments :
audio Recorder
Sampler
Smart Drums
Smart Strings
Smart Bass
Smart Keyboard
Smart Guitar
Keyboard
Drums
Guitar Amp
1.4.1 is the latest version for ios 6.
Configure my AppleID on a Iphone 4 and install the program , the version I have the Iphone 4 is the orange ( different from 3gs ) icon and put it on the AppStore : ios 2.0.1 for ios7.
With these instruments :
audio Recorder
Sampler ( to download the instrument )
Smart Drums ( to download the instrument )
Smart Strings (Download the instrument )
Smart Bass ( to download the instrument )
Smart Keyboard ( to download the instrument )
Smart Guitar
Keyboard
Drums
Guitar Amp ( to download the instrument )
and if I give what I need to restore tells me if I bought it I did not restore anything and tells me to buy :
Complete collection of GarageBand instruments and sound at a price of : € 4.49
As they are 2 different versions ? More than anything I say because I have to pay for the instruments in the 2.0.1 version of the Iphone 4 ... ?
And besides not wearing demo Demo Curtain Call : (
GarageBand 1.x If you are upgrading it using iTunes on a Mac or PC, you can restore the original collection of instruments and sounds. There is no need to buy this collection. Press "You've already purchased?" When displayed on iPhone, iPad or iPod touch.
this puts on the AppStore but I have tried to restore as I wrote above, and does not work. There is nothing to restore.
regardsI've been having the same problem. However, I believe my problem is due to the 3G issues I've been having. I don't have internet access even when the 3G symbol appears, so probably my iphone keeps trying to connect to the network and has its battery drained! Have you been having the same issue?
-
i have problem with fonts for my site, i have used "Lucida sans unicode " family for certain texts. it shows perfect in mozilla 3.5 and mozilla 4. But the font not supporting in mozilla 5.0? please help me
i have problem with fonts for my site, i have used "Lucida sans unicode " family for certain texts. it shows perfect in mozilla 3.5 and mozilla 4. But the font not supporting in mozilla 5.0? please help me
Maybe you are looking for
-
I created a banner for my groups web site with some simple text effects. It came out fine but I was assigned other work and was not able to finish the site for almost a yr. When I got back to it and tried to change a few words of the text it wouldn't
-
Receiver file adapter NFS - Access directory of other server
HI, I need access from an file adapter type NFS to a shared folder on the SAP ECC server. This is possible?. Users who are connecting to assign permissions on the folder. The 2 servers are on the network and the server is not enabled SAP ECC FTP. All
-
Rental movie downloaded but credit card didn't get through??
I tried to rent a movie today but after the download it didn't playback properly so I thought the copy was bad and have to download again. I delete the movie and report a problem on iTunes but then I now realized that was because my credit card was i
-
Upgrading from creative suite premium 2 to creative suite 5.5 standard
Is this possible? Trying to do this but I cannot select the creative suite premium 2 from the drop down menu of the CS 5.5.
-
HT1338 CD is stuck in my mac- doesn't eject
Hi a photo cd is stuck in my mac - can't get it to eject. tried everything, with Itunes -command eject etc... nothing works HELP