External Delivery Number in VL31N
Hi,
When creating inbound deliveries against a Purchase Order in VL31N, is there a user exit that will let me put in an external delivery number instead of an internally generated one.
Deliveries in our system are created in a third party LE system and then sent back to SAP. We need to create deliveries in SAP using that external number.
Your help is greatly appreciated.
Thanks,
Jay Viswanathan.
Hi,
These are the user exits present for the VL31N transaction,
V02V0001 Sales area determination for stock transport order
V02V0002 User exit for storage location determination
V02V0003 User exit for gate + matl staging area determination (headr)
V02V0004 User Exit for Staging Area Determination (Item)
V50PSTAT Delivery: Item Status Calculation
V50Q0001 Delivery Monitor: User Exits for Filling Display Fields
V50R0001 Collective processing for delivery creation
V50R0002 Collective processing for delivery creation
V50R0004 Calculation of Stock for POs for Shipping Due Date List
V50S0001 User Exits for Delivery Processing
V53C0001 Rough workload calculation in time per item
V53C0002 W&S: RWE enhancement - shipping material type/time slot
V53W0001 User exits for creating picking waves
VMDE0001 Shipping Interface: Error Handling - Inbound IDoc
VMDE0002 Shipping Interface: Message PICKSD (Picking, Outbound)
VMDE0003 Shipping Interface: Message SDPICK (Picking, Inbound)
VMDE0004 Shipping Interface: Message SDPACK (Packing, Inbound)
Regards,
Azaz Ali.
Similar Messages
-
Assign external delivery number using BAPI_DELIVERYPROCESSING_EXEC
Hi Experts,
How to assign the external delivery number using "BAPI_DELIVERYPROCESSING_EXEC?
For internal no, the BAPI works and I try to pass the parameters "tbl_request-EXTDELV_NO = XXX" to the BAPI , it prompt an error "Unexpected issue of error message (output NR 751)"
ThanksHi,
Please check the external number which you are giving is within the number Range defined in Configuration .
regards
Deepak. -
Catch the inbound delivery number when VL31n is saved.
Hello Friends,
In order to get inbound delivery when VL31N is saved, i am using the BADI :
DELIVERY_PUBLISH ...this is having 2 methods.
1.PUBLISH_BEFORE_COMMIT ( having import parameter it_changed_data...this structure is having inbound delivery number)
2.PUBLISH_AFTER_SAVE (no parameters)
when i am saving ....i am able to get into <b>publish_after_save</b> ...how to get
that number into PUBLISH_AFTER_SAVE ?
With Ever Smile & Regards,
Madhu!!I dont know about said BADI but i think you can use LE_SHP_DELIVERY_PROC which has documentation in EN also and there are several methods which can be used for delivery process.
-
External delivery number from VL3xN as reference in the material document
All,
I have the following situation. I need the external reference ID delivered by the supplier sent in an advanced shipping notification (ASN) to be copied over as the reference in the material document.
If you post the delivery with MIGO, the external reference is copied, if you use VL3xN or BORGR, it is not.
Can anybody help me here?
Thx & regards,
BobbyPadmasri,
the x in VL3xN stands for 1 or 2, i.e. either create or change.
BORGR is the transaction code for goods receipt in the automotive business.
B. -
BADI for VL31N which has the Inbound Delivery Number as a parameter.
Hi,
I have a requirement that after creation of a new inbound delivery through VL31N the control should go to a custom screen. The new inbound delivery no. generated thru VL31N should be seen in this custom screen.
I am searching for a user exit or BADI for VL31N. This exit should have the Inbound delivery Number created through VL31N.
I tried many exits and BADIs. However, none of them have the Inbound Delivery No.
Please help.
Regards,
JayaThe issue was resolved by the use of the BADI 'DELIVERY_PUBLISH'. Its method PUBLISH_AFTER_SAVE was used.
IF sy-tcode = 'VL31N' OR sy-tcode = 'VL32N'.
DATA : v_tcode TYPE sy-tcode .
FIELD-SYMBOLS: <i_del> TYPE likp.
DATA: wa_likp TYPE likp,
t_likp TYPE STANDARD TABLE OF likp.
ASSIGN ('(SAPMV50A)LIKP') TO <i_del>.
wa_likp = <i_del> .
SET PARAMETER ID 'VL' FIELD wa_likp-vbeln .
ENDIF. -
Delivery number for a material document posted
Hi experts,
I need to delivery number for the material document number posted,
I tried to use the field XBLNR from the table MKPF
but i see that the feild is empty in the case of inbound delivery
why is it so.
How ever i can get the data from VBFA ,but can any one tell me the reason why XBLNR is empty in case of inbound delivery.
Thanks a lot in Advance.Hi,
If you do GR w.r.t. Inbound Delivery No in MIGO then it will not update "Reference" field i.e. XBLNR.
To update same with Inbound Delivery No, you have to do "Post Goods Receipt" from Inbound Delivery Document itself in VL31N or VL32N. -
User exit/ enhancement for billdoc creation using external billdoc number
good day experts,
my requirement is to allow assignment of external billing document. we have no problem with sales document and outbound delivery number. but for billing document, it seems no possible without user exit. I want to know the user exit for this and if I need to request for devkey upon modifying this user exit? or just create an enhancement point?
thank you in advance!Refer to the reply from Brad.
SAP IMG documentation reads,
Number assignment
Specify a number range for number assignment. For billing documents numbers can
only be assigned internally by the SAP System. To define a common number
assignment for different billing types, you have to specify the same number range
in each case. -
SD (External document number of vendor confirmation)
Hi Friends,
Below are my report output fields.
Orer entry date Sales Order Sales Org Shipping quantity External
(VBAP-ERDAT) (VBAP-VBELN) (VBAK- VKORG) (LIPS-LFIMG) doc no
(EKES-XBLNR)
Could any of you please give me the details abt
"How to fetch XBLNR from EKES based on sales doc no .
Regards.
JeyaseelanThanks Karan.
Its an existing report.
Its (Proactive Late Report)
in the current code they are fetching all the data from the tables VBAP VABK VBUP VBEP VBPA.
now i need to add 3 more fields.
delivery date.
shipping quantity (lips-lfimg)
External document number (ekes-xblnr)
Jeyaseelan -
How to Copy Inbound delivery number in MIGO Delivery Note (GOHEAD-LFSNR) ?
Hi all,
I'm Creating the GRN based on Inbound Delivery and i'm looking for the option by which i'll be able to copy Inbound Delivery number in Delivery note Field (GOHEAD-LFSNR).
Is it Possible.....How....
Regards
S AnandHello,
Delivery note filed in MIGO is for Number of External Delivery Note. If you enter External ID in Inbound delivery then it will copy the same in MIGO.
Regards,
Shailesh -
How to look for sales order number if I know outbound delivery number?
How to look for sales order number if I know outbound delivery number?
Hi ,
If you want to see the Sales order Number from Outbound delivery or invoice,go to their respective T-codes,say for example,
for delivery,Goto Tcode: VL02N / VL03N.There you will find Document Flow Icon,click on that,or press F7.
You will get a window,there you can see the Sales order Number before your outbound delivery Number
With Thanks and Regards,
Priya -
How to get the last 3 digits of a Delivery Number
Hi All,
On the Transfer Order Collective form, the Delivery Number is printed. But I need to capture the last 3 digits of that delivery number and make the 3 digits to be printed on the same form with bigger font size. I would like to know how to capture the last 3 digits.If so, your form(subroutine) can look like this.
form get_last_3_digits tables co_sym_using structure itcsy
co_set_symbols structure itcsy.
data: xvbeln type likp-vbeln.
* Get the USING Values
read table co_sym_using with key name = 'LIKP-VBELN'.
check sy-subrc eq 0.
shift co_sym_using-value left deleting leading space.
xvbeln = co_sym_using-value.
* make sure it is internal format
call function 'CONVERSION_EXIT_ALPHA_INPUT'
exporting
input = xvbeln
importing
output = xvbeln.
* Update the value
read table co_set_symbols index 1.
co_set_symbols-value = xvbeln+7(3).
modify co_set_symbols index 1.
endform.
Regards,
Rich Heilman -
How to create invoice using bapi base on delivery number with example
hi,
Pl give me one example to create invoice using bapi base on delivery number (PGI).Use this code
* Pass the delivery no to the FM to create the invoice
wa_vbsk-smart = u2018Fu2019.
wa_komfk-vbeln = nast-objky. u201CuF0DF-----delivery number
APPEND wa_komfk TO it_komfk.
CLEAR wa_komfk.
* To fill the message structure
* l_wa_error-vbeln_vl = nast-objky. " Delivery No.
* l_wa_error-fkart = wa_ztab-bil_doc_type." Billing Doc type
CALL FUNCTION 'RV_INVOICE_CREATE'
EXPORTING
* delivery_date = 0
invoice_date = v_date u201C<- date
* invoice_type = ' '
* pricing_date = 0
vbsk_i = wa_vbsk
with_posting = u2018Du2019
* select_date = 0
i_no_vblog = ' '
i_analyze_mode = ' '
id_utasy = ' '
id_utswl = ' '
id_utsnl = ' '
id_no_enqueue = ' '
id_new_cancellation = ' '
** IMPORTING
* VBSK_E =
* OD_BAD_DATA =
* DET_REBATE =
TABLES
xkomfk = it_komfk
xkomv = it_komv
xthead = it_thead
xvbfs = it_vbfs
xvbpa = it_vbpa
xvbrk = it_xvbrk
xvbrp = it_vbrp
xvbss = it_vbss
* XKOMFKGN =
* XKOMFKKO = -
In order confirmation i need invoice number and delivery number.
Dear Experts,
I need invoice number and delivery number in order confirmation.
how can i get the delivery number an invoice number.
Program name: RVADOR01
Regards
AhmedHi
In the Order confirmation Only sales order details will be there
You better write a PERFORM statement in Script and in the subroutine fetch the Delivery number and Invoice number with the following links and display them in script
LIPS-VGBEL = VBAK-VBELN
LIPS-VGPOS = VBAP-POSNR
VBRP-AUBEL = VBAK-VBELN
VBRP-AUPOS = VBAP-POSNR
You can also can use the VBFA table
using Prev doc type = C (order) and Subsequent doc type = J to get the Delivery
and Sunsequent type = M for getting the Invoice Number
see the sample code for subroutine
REPORT ZMPO1 .
form get_freight tables in_par structure itcsy out_par structure itcsy.
tables: ekko,konv,t685t.
data: begin of itab occurs 0,
ebeln like ekko-ebeln,
knumv like ekko-knumv,
end of itab.
data: begin of itab1 occurs 0,
knumv like konv-knumv,
kposn like konv-kposn,
kschl like konv-kschl,
kbetr like konv-kbetr,
waers like konv-waers,
kwert like konv-kwert,
end of itab1.
data: begin of iout occurs 0,
kschl like konv-kschl,
vtext like t685t-vtext,
kbetr like konv-kbetr,
kwert like konv-kwert,
end of iout.
data v_po like ekko-ebeln.
read table in_par with key 'EKKO-EBELN'.
if sy-subrc = 0.
v_po = in_par-value.
select
ebeln
knumv
from ekko
into table itab
where ebeln = v_po.
if sy-subrc = 0.
loop at itab.
select
knumv
kposn
kschl
kbetr
waers
kwert
into table itab1
from konv
where knumv = itab-knumv and
kappl = 'M'.
endloop.
loop at itab1.
if itab1-kposn <> 0.
select single * from t685t
where kschl = itab1-kschl
and kappl = 'M'
and spras = 'EN'.
iout-vtext = t685t-vtext.
iout-kschl = itab1-kschl.
iout-kbetr = itab1-kbetr.
iout-kwert = itab1-kwert.
append iout.
clear iout.
endif.
endloop.
sort itab1 by kposn.
loop at iout.
sort iout by kschl.
if ( iout-kschl eq 'GSDC' OR
iout-kschl eq 'GSFR' OR
iout-kschl eq 'GSIR' ).
at end of kschl.
read table iout index sy-tabix.
sum.
write:/ iout-kschl,iout-vtext,iout-kwert.
out_par-name = 'A1'.
out_par-value = iout-vtext.
append out_par.
out_par-name = 'A2'.
out_par-value = iout-kwert.
append out_par.
endat.
endif.
endloop.
endif.
endif.
endform.
IN THE FORM I AM WRITING THIS CODE.
/:DEFINE &A1& = ' '
/:DEFINE &A2& = ' '
/:PERFORM GET_FREIGHT IN PROGRAM ZMFORM_PO1
/:USING &EKKO-EBELN&
/:CHANGING &A1&
/:CHANGING &A2&
/:ENDPERFORM
&A1&
&A2&
This Code is to be written in the PO form under ADDRESS window.
/:DEFINE &A1& = ' '
/:DEFINE &A2& = ' '
/:DEFINE &A3& = ' '
/:DEFINE &A4& = ' '
/:DEFINE &A5& = ' '
/:DEFINE &A6& = ' '
/:PERFORM GET_VENDOR IN PROGRAM ZMFORM_PO
/:USING &EKKO-EBELN&
/:CHANGING &A1&
/:CHANGING &A2&
/:CHANGING &A3&
/:CHANGING &A4&
/:CHANGING &A5&
/:CHANGING &A6&
/:ENDPERFORM
&A1&
&A2&
&A3&
&A4&
&A5&
&A6&
Regards
Anji -
Report ( invoice number and delivery number)
Hi
Is there any report in SAP, which can show invoice number and delivery document number, I know the SAP table, but is SAP standard report available?
Example:PO: 5500075241, plant abraod delivery number 3510000174 and plant abroad Invoice number 3550000019, we need report which gives Delivery and Invoice no.
thanksNo standard reports shows both delivery and billing references in a single report. You can develop a query in SQVI by table joining VBFA, LIKP and VBRK.
thanks
G. Lakshmipathi -
PO Creation with external PO number
Hi All,
We have SRM and some other legacy system. We will receive the PO information from the legacy system with the Legacy PO number. Now we have to create a PO with external number only.
So for PO creation we are using the BAPI BAPI_POEC_CREATE. this is working fine if you dont pass any external PO number.
But If you pass external PO number I am facing some problem. BAPI_POEC_CREATE is giving the informaiton that PO with XXXXXXX number is created, but when we call BAPI_TRANSACTION_COMMIT it is throing some error like.
Buffer table not up to date
Message no. BBP_PD001
Diagnosis
In LOOP OBJ_RELATIONS_UPDATE (function group SAPLBBP_PDH_OR) an inconsistent status was discovered.
Procedure
Start the transaction again. If the error occurs again, create an OSS message.
To analyze the error, you can set a breakpoint in the function module 'BBP_PD_ABORT' and look at the call-up hierarchy in debugging mode.
Is this the number range problem? please tell me what is missing.
Thanks & Regards,
RaghuRaghavender,
I think that maybe the external number is not the problem.
Sometimes the explicit <b>COMMIT</b> causes this error cuz some processes or BADI's are accessing the table at memory level, so if you use this explicit bapi_transaction_commit maybe it will raise that error...
Have your tried to remove that function call?
Please acknowledge if it worked...
Regards,
Gerardo.
Maybe you are looking for
-
Can I get a boot disk that will boot windows vista without loosing what I have on my hard drive? L305-S5921.
-
White backgrounds need to be white!
Hi I'm new here, excuse the basic query. I have a background to an image which is off-white. I need it white. I have tried using the Image>Adjustments>Replace Colour tool but the white remains off-white. What am I doing wrong? Jason
-
How many people here have had incidents where the Apple Bumper has scratched their phone? I'm asking this because I'm eventually going to order one but I need to know if this scratching problem is only in a small % of defective bumpers. Thanks.
-
Small Cracks Around Screw on Bottom ibook
Four small hairline cracks around the screw that's on the bottom center of my ibook. The cracks vary from 1/4" to 1/2". Is this anything to worry about? Does yours have cracks? BTW my 12" g4 ibook is a year old this month. 12" g4 ibook Mac OS X (10
-
Hi, I have created a table in Oracle 8i, which has one BFILE field. I have inserted 2-3 records in this table, where BFile field contains word document. Now I want to view this document using a Form in Developer6. How do i do it? I tried using by cre