Creating future incoming deliveries
Hi,
I am into the process of testing creation of Stock Transport Orders under the different Availability Check Rules which can be set in SPRO at the following path - SPRO > IMG > Materials Management > Purchasing > Purchase Order > Set up Stock Transport Order > Assign Delivery Type and Checking Rule > Column Av. Ch. Rule.
For this, I need to create some incoming deliveries which would be coming into the supplying plant not on the present date but on a date in the near future. I need this to test how does the system propose the Delivery Schedule when partial quantity is available on a particular date and the remaining on a future date.
Example: -
Suppose in the STO, I request for quantity 10 to be transported from the supplying plant to the receiving plant. But, only quantity 6 are available in the supplying plant on the present date and quantity 4 would be coming after two days. Thus, the system after running the availability check should give a delivery proposal confirming quantity 6 on the present date and the remaining 4 on the date after two days.
Hi Sunny,
Can you elaborate on that. I did not understand what you meant exactly.
Thank you.
Similar Messages
-
Creating of incoming invoice automatically when documen info record created
Hi all,
I apologize because I am asking many questions on this forum during the last few weeks, but I have some problems which I can't solve by myself in one project.
So, this time the question is about incoming invoices.
Here is the situation:
When our customer receives incoming invoice (in paper form) we scan it and send it to one Document management system. In that system we verify the invoice and approve it. After that step the document is released to SAP (only the document info record is created and that info record points to the original document (pdf file) in that DMS).
Now the question is:
Is it possible to automatically create incoming invoice (parked) when the document is released to SAP (it+s document info record created) and to create link between these two SAP objects? Basically it means that at the moment when doc. info record is created, the incoming invoice is created (only with mandatory data) and saved (parked).
We need this functionality because our client wants to have the access to original document (pdf file) when he is about to finish the incoming invoice.
So, is it possible to set up some parameters so that incoming invoice is created automatically after the document info record is created, and linked to that document info record?I was not aware that u have already done coding to create DIR in SAP. In that case u don't need to rely on status triggering, u may create the invoice prior to DIR creation and then link it to the DIR.It can be done in the way u have mentioned. I.e. linking at the time of DIR with BAPI_DOCUMENT_CREATE.
I doubt we have any direct link to Incoming Invoice from DIR. One of the options i can think of is linking DIR to EKPO(Purchase Order Item) which is mentioned in Invoice.
Else u may need to add another object with object table "RBKP"
Following link will help u in creating new Object for development of new screens [http://help.sap.com/saphelp_erp60_sp/helpdata/en/c1/1c31a243c711d1893e0000e8323c4f/frameset.htm]
BAPI_DOCUMENT_CREATE2 is the latest BAPI instead of BAPI_DOCUMENT_CREATE.
Points Appreciated. -
Create draft incoming payments
Hi all,
i am having great difficulty in creating draft incoming payments through the DI, whatever I seem to do I cannot see the sort of properties that the help files say are there e.g. .cashsum .transferaccount etc. The only propoerties that are shown are the ones for marketing documents. I have tried all combinations of the two sets of code below but nothing seems to work,
Dim DraftPay As SAPbobsCOM.Documents = GetDIConnection.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oIncomingPayments)
DraftPay.DocObjectCode = SAPbobsCOM.BoObjectTypes.oIncomingPayments
Dim DraftPay As SAPbobsCOM.Documents = GetDIConnection.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oPaymentsDrafts)
DraftPay.DocObjectCode = SAPbobsCOM.BoObjectTypes.oPaymentsDrafts
In trying to fix this issue i have given up on the idea of creating a draft and tried to create a simple incoming payment but i hit the same issue. Whatever I seem to do I only get the option to use marketing document properties.
Am I missing something obvious or has someone else hit this issue (I am using V2007 by the way)
Any help would be appreciated as we begin training on this system in two weeks!
GordonHi,
you create payments like
vb6 samples:
Dim oPay As SAPbobsCOM.Payments
Set oPay = vCompany.GetBusinessObject(oIncomingPayments)
Set oPay = vCompany.GetBusinessObject(oVendorPayments)
Set oPay = vCompany.GetBusinessObject(oPaymentsDrafts)
for drafts you also have to set:
oPay.DocObjectCode = bopot_IncomingPayments
or
oPay.DocObjectCode = bopot_OutgoingPayments
i hope it helps
lg David -
Get message "Error creating account: Incoming server already exists."
trying to set up new IMAP account and get message "Error creating account: Incoming server already exists." Changed settings manually, but same error message.
''ScottNH [[#question-1040338|said]]''
<blockquote>
trying to set up new IMAP account and get message "Error creating account: Incoming server already exists." Changed settings manually, but same error message.
</blockquote>
I have been getting this too (for the last two days - on at least a dozen tries).
I am Running Win7 and already have three POP accounts.
All definitely have the incoming server pop.googlemail.com
I wanted to add a new IMAP account, so in T'Bird
Tools.... Account Settings
Account Actions ..... Add Mail Account
Filled in
my name,
the email address ([email protected] - and in gmail this mail account
was created as IMAP),
password (with a tick to remember this)
... continue
and it then detected the mail setup as IMAP,
Incoming : IMAP, imap.googlemail.com , SSL
Outgoing : SMTP, smtp.googlemail.com , SSL
Username: [email protected]
but when I then clicked on Done
it said Error Creating Account - Incoming server already exists.
And if I then clicked on OK followed by Manual Config, it then showed
in the Mail Account Setup
Incoming: IMAP imap.googlemail.com 993 SSL/TLS Normal Password
and again if I then clicked Done it gave the same error message as before.
(and I have screenshots to support all of this).
But I do not know if someone has been working on a fix to T'Bird or googlemail, because just now when I did it yet again in order to make a final check that what I have been writing here is correct , this time I did NOT get the error message and the new account has been setup!!!!!
So do others find this has now been cleared too? -
Logic for creating no. of deliveries from ME2ON
Hi All,
Our requirement is that,
We created subcontracting PO with 18 line items
We have set the delivery date of all item as same
We have ensured, Planned Delivery Time (PDT) of all items is same
All items are with different Material no.
Our requirement is that we need only one "Delivery No." for same PO as we will be sending Material together, however system has created 5 deliveries from ME2ON (Not even 18 nos).
So please let me know what is the logic built behind ME2ON for creating "No. of Deliveries"?
Regards
NileshYou may can get some information from this KBA document 2141767 - Multiple deliveries created for a purchase order
-
Change Person template applied to new customers created via incoming email
Hi,
Has anyone ever tried to change what Person template is used when a Customer is created via incoming email?
Up to now we’ve just had one “Customer” Person template and this is applied to new customers created via incoming email and via AD synchronisation.
What I want to happen is for Customers created via AD sync to continue picking up the existing Person template, but I want Customers created via incoming email to pick up a different Person template. This template has various fields set to different defaults (e.g. it’s Organisation set to “External”, Customer Profile set as “External”).
If anyone can point me in the right direction it would be appreciated.
Thanks,
IanThanks both for the advice. I decided to go for the "easier" option of using INBOUNDMAILIA2 (as it's something I have used and modified a lot in the past).
In case anyone is interested, this is the main bit of the code I came up with. Although not perfect - as it doesn't actually apply a different Person template - it does update the keys fields that allows us do what we want.
! /* If Call Template is 'Valuation' and the Customer is external (user has no Domain set) then set various Person attributes:
! /* Set custom 'Don't Email' flag to TRUE; 'Customer Profile' (Department) to 'External'; 'Organisation' to 'External' (if currently Unspecified)
SELECT @VALUATION_T_PLATE_NAME = CUSTOM_VALUE FROM CUSTOM_SYS_OPTIONS WHERE CUSTOM_ATTRIBUTE = 'VALUATION_T_PLATE_NAME' AND STATUS = 'A'
SELECT @TEMPLATE_REF_TO_MATCH = CALL_NUMBER FROM CL_CALL_LOGGING WHERE TEMPLATE_IND = 1 AND T_PLATE_NAME = @VALUATION_T_PLATE_NAME
SELECT @TEMPLATE_REF = TEMPLATE_REF FROM CL_CALL_LOGGING WHERE CALL_NUMBER = @ITEM_NO
IF (@TEMPLATE_REF = @TEMPLATE_REF_TO_MATCH)
BEGIN
SELECT @CUSTOMER_REF = USER_REF FROM CL_CALL_LOGGING WHERE CALL_NUMBER = @ITEM_NO
SELECT @USER_DOMAIN = USER_DC FROM AR_PERSON WHERE REF = @CUSTOMER_REF
IF (@USER_DOMAIN IS NULL)
BEGIN
UPDATE AR_PERSON SET CUSTOM_CHECKBOX_1 = 1 WHERE REF = @CUSTOMER_REF
UPDATE AR_PERSON SET DEPARTMENT_REF = 1 WHERE REF = @CUSTOMER_REF
SELECT @ORG_REF = ORGANIZATION_REF FROM AR_PERSON WHERE REF = @CUSTOMER_REF
IF (@ORG_REF = 0)
BEGIN
SELECT @ORG_REF = CLIENT_CO_REF FROM AR_CLIENT_COMPANY WHERE CLIENT_CO_NAME = 'External'
IF (@ORG_REF IS NOT NULL)
BEGIN
UPDATE AR_PERSON SET ORGANIZATION_REF = @ORG_REF WHERE REF = @CUSTOMER_REF
UPDATE CL_CALL_LOGGING SET CLIENT_COMPANY_REF = @ORG_REF WHERE CALL_NUMBER = @ITEM_NO
END
END
END
END -
BAPI to create an incoming Payment
Hi,
I have to create an incoming payment (FB01). The posting keys will be 40 and 15.
Wich BAPI could do this ?
(We don't have BAPI_ACC_DOCUMENT_POST).
Thanks.
SandrineWhich version do you have ?
Look for FM/BAPI begining with BAPI_ACC (OSS [Note 306504 - Collective note: BAPIs for the AC interface|https://service.sap.com/sap/support/notes/306504]), or look for oldest function module like POSTING_INTERFACE_START, [POSTING_INTERFACE_DOCUMENT|https://www.sdn.sap.com/irj/sdn/advancedsearch?query=posting_interface_document&cat=sdn_all] and POSTING_INTERFACE_END.
Regards -
Include the Journal entry created in Incoming Payments PLD
Hello Experts!!!
Is there a way to include the journal entry created in the Incoming Payments PLD?hi jennifer,
You can create query print layout designer report using query.
SELECT
T0.TransId, T0.BaseRef, T0.RefDate,
T1.Account, T1.ShortName, T2.AcctName,
T1.Debit, T1.Credit
FROM OJDT T0 INNER JOIN JDT1 T1 ON T0.TransId = T1.TransId and
T1.TransType = 24 INNER JOIN OACT T2 ON T1.Account = T2.AcctCode
WHERE
T0.BaseRef = '[%0]' or T0.RefDate = '[%1]'
Jeyakanthan -
How to create orders and deliveries on Non-working day.
Greeting all,
We set up all our national holidays and Sundays as non-working day in our working calendar for Japan(OY05) .
But I have a request from Sales Dept that only one customer wants us to deliver products on the holidays.
We don't want to affect other customers delivery date so we are thinking we have to change the holiday to working day on the day before the holiday for the customer.
But we need a complicated procedure to change the calendar in our company IT rule so I am wondering if there is any other good solution that we don't have to change the calendar so often.
Does anybody have the same situation like this?
I will appreciate any kind of suggestion.
Thank you very much for your help in advance.
Best regards,
MikiGeorge,
I understand that is simple and correct procedure but I wanted to consider other possibilities to ship on non-working day because it is NOT working day here.
Finally, our management have decided we don't change the calendar and ship with date the system proposes. They explained the customer and our distributor center that shipping date is one day ahead because of the calendar.
To all,
Thank you very much all of your advice.
Best regards,
Miki -
[SOLVED] fbsplash working but have a created future problems?
I'm new to arch but have managed to successfully install fbcondecor and fbsplash and manipulate them to at least a reasonable degree to get the desired effect. However my tech-speak is poor so please bear with me.
The problem is that my splash screen seems to look fine, initially. Then, however, when Vesa hands off to inteldrm the graphics get distorted. I believe it is whenever the screen resolution change occurs during the boot (which is why i believe it occurs during the handoff). I have listed my grub configuration files as well as my daemons and Hooks below in hopes one of you guys may recognize an error. I have read and attempted to resolve the issue but it is clear I cannot solve it without some assistance from someone with a deeper knowledge.
This is what my screen looks like https://bbs.archlinux.org/viewtopic.php?id=136819 so I'm guessing it relates to the KMS but I configured the file in accordance with the wiki so...
Edit: Another possibly pertinent note is that the splash works perfectly on shutdown.
/etc/default/grub
GRUB_GFXPAYLOAD_LINUX=keep
GRUB_DISABLE_RECOVERY=true
GRUB_TIMEOUT=5
GRUB_DISTRIBUTOR="Arch Linux"
GRUB_DEFAULT=saved
GRUB_GFXMODE=1024x768x32
GRUB_CMDLINE_LINUX_DEFAULT='quiet loglevel=3 logo.nologo console=tty1 splash=silent,fadein,fadeout,theme:arch-elegant'
GRUB_PRELOAD_MODULES="part_gpt part_msdos"
GRUB_TERMINAL_INPUT=console
GRUB_THEME=/boot/grub/themes/starfield/theme.txt
GRUB_CMDLINE_LINUX=splash
GRUB_HIDDEN_TIMEOUT=3
Hooks
HOOKS="base udev uswsusp fbsplash autodetect pata scsi sata filesystems usbinput uresume fsck"
Daemons
DAEMONS=(hwclock dbus !network fbcondecor sshd @netfs @crond acpid @networkmanager laptop-mode !net-profiles syslog-ng !net-auto-wireless @cupsd)
What should I be looking for to solve this problem? What occurs that changes the screen from the basic resolution it starts with to the enhanced resolution in the next portion of boot? Should I post dmesg output?
Last edited by jallenusn (2012-06-19 20:41:53)The question here is, why does it get loaded in the first place, usually it's loaded by the vga= statement. I'm guessing the monstrosity that is grub2 has something to do with it, remove all the GFX stuff from it's config.
Thanks for your input. You are correct in your assumption about my screen resolution being 1366x768. I am having trouble understanding what you mean by "remove all the GFX stuff". Do you mean for me to change my /etc/default/grub file and leave blank all of the categories that include "GFX" and then mkconfig? Or are you proposing that I manually modify something in the grub.cfg to disable the graphics mode in grub2?
One other quick note. It seems that before Vesa hands off to inteldrm the splash looks as intended. It is after this hand off takes place that the splash becomes distorted (4 different occurences of the splash across the screen, all of them appearing shredded and smeared across the screen).
Edit: Another possibly pertinent note is that the splash works perfectly on shutdown.
Also, for further reference I have posted both my /etc/default/grub & /boot/grub/grub.cfg below.
GRUB_GFXPAYLOAD_LINUX=keep
GRUB_DISABLE_RECOVERY=true
GRUB_TIMEOUT=5
GRUB_DISTRIBUTOR="Arch Linux"
GRUB_DEFAULT=saved
GRUB_GFXMODE=1366x768x32
GRUB_CMDLINE_LINUX_DEFAULT='quiet loglevel=3 logo.nologo console=tty1 splash=silent,fadein,fadeout,theme:arch-elegant'
GRUB_PRELOAD_MODULES="part_gpt part_msdos"
GRUB_TERMINAL_INPUT=console
GRUB_THEME=/boot/grub/themes/starfield/theme.txt
GRUB_CMDLINE_LINUX=splash
GRUB_HIDDEN_TIMEOUT=3
# DO NOT EDIT THIS FILE
# It is automatically generated by grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
### BEGIN /etc/grub.d/00_header ###
insmod part_gpt
insmod part_msdos
if [ -s $prefix/grubenv ]; then
load_env
fi
set default="${saved_entry}"
if [ x"${feature_menuentry_id}" = xy ]; then
menuentry_id_option="--id"
else
menuentry_id_option=""
fi
export menuentry_id_option
if [ "${prev_saved_entry}" ]; then
set saved_entry="${prev_saved_entry}"
save_env saved_entry
set prev_saved_entry=
save_env prev_saved_entry
set boot_once=true
fi
function savedefault {
if [ -z "${boot_once}" ]; then
saved_entry="${chosen}"
save_env saved_entry
fi
function load_video {
if [ x$feature_all_video_module = xy ]; then
insmod all_video
else
insmod efi_gop
insmod efi_uga
insmod ieee1275_fb
insmod vbe
insmod vga
insmod video_bochs
insmod video_cirrus
fi
if [ x$feature_default_font_path = xy ] ; then
font=unicode
else
insmod part_msdos
insmod btrfs
set root='hd0,msdos3'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos3 --hint-efi=hd0,msdos3 --hint-baremetal=ahci0,msdos3 719a75c8-81fa-4f8d-b06a-b2ab3ba18770
else
search --no-floppy --fs-uuid --set=root 719a75c8-81fa-4f8d-b06a-b2ab3ba18770
fi
font="/usr/share/grub/unicode.pf2"
fi
if loadfont $font ; then
set gfxmode=1366x768x32
load_video
insmod gfxterm
set locale_dir=$prefix/locale
set lang=en_US
insmod gettext
fi
terminal_input console
terminal_output gfxterm
insmod part_msdos
insmod ext2
set root='hd0,msdos1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 54d38b5e-db10-4162-bfcd-1226ada0d561
else
search --no-floppy --fs-uuid --set=root 54d38b5e-db10-4162-bfcd-1226ada0d561
fi
insmod gfxmenu
loadfont ($root)/grub/themes/starfield/dejavu.pf2
insmod png
set theme=($root)/grub/themes/starfield/theme.txt
export theme
if sleep --verbose --interruptible 3 ; then
set timeout=5
fi
### END /etc/grub.d/00_header ###
### BEGIN /etc/grub.d/10_linux ###
menuentry 'Arch Linux GNU/Linux, with Linux fbcondecor kernel' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-fbcondecor kernel-true-719a75c8-81fa-4f8d-b06a-b2ab3ba18770' {
load_video
set gfxpayload=keep
insmod gzio
insmod part_msdos
insmod ext2
set root='hd0,msdos1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 54d38b5e-db10-4162-bfcd-1226ada0d561
else
search --no-floppy --fs-uuid --set=root 54d38b5e-db10-4162-bfcd-1226ada0d561
fi
echo 'Loading Linux fbcondecor kernel ...'
linux /vmlinuz-linux-fbcondecor root=UUID=719a75c8-81fa-4f8d-b06a-b2ab3ba18770 ro splash quiet loglevel=3 logo.nologo console=tty1 splash=silent,fadein,fadeout,theme:arch-elegant
echo 'Loading initial ramdisk ...'
initrd /initramfs-linux-fbcondecor.img
menuentry 'Arch Linux GNU/Linux, with Linux fbcondecor kernel (Fallback initramfs)' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-fbcondecor kernel-fallback-719a75c8-81fa-4f8d-b06a-b2ab3ba18770' {
load_video
set gfxpayload=keep
insmod gzio
insmod part_msdos
insmod ext2
set root='hd0,msdos1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 54d38b5e-db10-4162-bfcd-1226ada0d561
else
search --no-floppy --fs-uuid --set=root 54d38b5e-db10-4162-bfcd-1226ada0d561
fi
echo 'Loading Linux fbcondecor kernel ...'
linux /vmlinuz-linux-fbcondecor root=UUID=719a75c8-81fa-4f8d-b06a-b2ab3ba18770 ro splash quiet loglevel=3 logo.nologo console=tty1 splash=silent,fadein,fadeout,theme:arch-elegant
echo 'Loading initial ramdisk ...'
initrd /initramfs-linux-fbcondecor-fallback.img
menuentry 'Arch Linux GNU/Linux, with Linux core repo kernel' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-core repo kernel-true-719a75c8-81fa-4f8d-b06a-b2ab3ba18770' {
load_video
set gfxpayload=keep
insmod gzio
insmod part_msdos
insmod ext2
set root='hd0,msdos1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 54d38b5e-db10-4162-bfcd-1226ada0d561
else
search --no-floppy --fs-uuid --set=root 54d38b5e-db10-4162-bfcd-1226ada0d561
fi
echo 'Loading Linux core repo kernel ...'
linux /vmlinuz-linux root=UUID=719a75c8-81fa-4f8d-b06a-b2ab3ba18770 ro splash quiet loglevel=3 logo.nologo console=tty1 splash=silent,fadein,fadeout,theme:arch-elegant
echo 'Loading initial ramdisk ...'
initrd /initramfs-linux.img
menuentry 'Arch Linux GNU/Linux, with Linux core repo kernel (Fallback initramfs)' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-core repo kernel-fallback-719a75c8-81fa-4f8d-b06a-b2ab3ba18770' {
load_video
set gfxpayload=keep
insmod gzio
insmod part_msdos
insmod ext2
set root='hd0,msdos1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 54d38b5e-db10-4162-bfcd-1226ada0d561
else
search --no-floppy --fs-uuid --set=root 54d38b5e-db10-4162-bfcd-1226ada0d561
fi
echo 'Loading Linux core repo kernel ...'
linux /vmlinuz-linux root=UUID=719a75c8-81fa-4f8d-b06a-b2ab3ba18770 ro splash quiet loglevel=3 logo.nologo console=tty1 splash=silent,fadein,fadeout,theme:arch-elegant
echo 'Loading initial ramdisk ...'
initrd /initramfs-linux-fallback.img
if [ "x$default" = 'Arch Linux GNU/Linux, with Linux core repo kernel' ]; then default='Advanced options for Arch Linux GNU/Linux>Arch Linux GNU/Linux, with Linux core repo kernel'; fi;
### END /etc/grub.d/10_linux ###
### BEGIN /etc/grub.d/20_linux_xen ###
### END /etc/grub.d/20_linux_xen ###
### BEGIN /etc/grub.d/20_memtest86+ ###
### END /etc/grub.d/20_memtest86+ ###
### BEGIN /etc/grub.d/30_os-prober ###
### END /etc/grub.d/30_os-prober ###
### BEGIN /etc/grub.d/40_custom ###
# This file provides an easy way to add custom menu entries. Simply type the
# menu entries you want to add after this comment. Be careful not to change
# the 'exec tail' line above.
### END /etc/grub.d/40_custom ###
### BEGIN /etc/grub.d/41_custom ###
if [ -f $prefix/custom.cfg ]; then
source $prefix/custom.cfg;
fi
### END /etc/grub.d/41_custom ###
Last edited by jallenusn (2012-06-17 17:57:32) -
Creating a a deliverable Windows JClient Application
I'm interested in the "best practice" for packaging and delivering a JClient application as a product for a user who currently has no Java applications loaded. I understand that it can be deployed as an executable JAR file. However, what else is necessary? For instance, I assume I need to include the latest SDK and make sure my install program installs it too. Anything else?
Thanks!
Bob RusselBob,
Besides JRE, you would require the JDBC libraries and the BC4J runtime libraries for your
specific deployment configuration. The easiest way to find the dependent jar list is to
look at libraries used in your JClient project (Project settings dialog).
You may also want to consider using Java Web Start. JClient WebStart wizard can help you
get started. The advantage will be that your app can be made available on a web server
and your customer can download. Java WebStart 1.2 supports 'One Click' installation.
http://java.sun.com/products/javawebstart/1.2/docs/relnotes.html#autoinstall
However note that the app will run in Security sandbox like applets.
HTH,
Sathish. -
Create A/R Invoice and Its Incoming Payment using DI Server
Hi Everyone,
I need to create an A/R Invoice and its payment in a sigle transaction using DI Server. The problem is that I don't know the DocEntry that will be assigned to the invoice in order to set it in the SOP message for creating the incoming payment.
I guess the SOAP message should look like:
<?xml version="1.0" encoding="UTF-16"?>
<env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/">
<env:Header>
<SessionID>F46EDCE6-3F79-1F9F-1D1E-DC6226D04FA7</SessionID>
</env:Header>
<env:Body>
<dis:AddObject xmlns:dis="http://www.sap.com/SBO/DIS" CommandID="Add invoice">
<BOM>
<BO>
<AdmInfo>
<Object>oInvoices</Object>
</AdmInfo>
<Documents>
<row>
<DocDate>20040707</DocDate>
<DocDueDate>20040707</DocDueDate>
<CardCode>BP</CardCode>
</row>
</Documents>
<Document_Lines>
<row>
<ItemCode>Item1</ItemCode>
<Quantity>3</Quantity>
<TaxCode>My Tax</TaxCode>
</row>
</Document_Lines>
</BO>
</BOM>
</dis:AddObject>
<dis:AddObject xmlns:dis="http://www.sap.com/SBO/DIS" CommandID="Add Incoming Payment">
<BOM>
<BO>
<AdmInfo>
<Object>oIncomingPayments</Object>
</AdmInfo>
<Payments>
<row>
<CardCode>BP</CardCode>
<DocTypte>rCustomer</DocTypte>
</row>
<Payments>
<Payments_Invoices>
<row>
<DocEntry>???</DocEntry> <---- ???
<InvoiceType>it_Invoice</InvoiceType>
<SumApplied>100</SumApplied>
</row>
</Payments_Invoices>
</BO>
</BOM>
</dis:AddObject>
</env:Body>
</env:Envelope>
Any help?Dear Hugo Moreno,
You could use the GetNewObjectCode Method of the Company Object to retrieves the key of the last added record.
Please refer to SDK DI API help for this method.
Best Regards
Jane Jing
SAP Business One Forums team -
How to create diferents deliveries for each schedule line
Dear gurus,
I have sales orders with many schedule lines in order to deliver in diferents dates. We need to create all the deliveries together but each schedule line needs to be in a diferent delivery with the corresponding delivery date.
I analiced the customizing about pool for delivery creation (VL10) but all I can change is for display and can not change the way the delivery is created. If we select two schedule line with diferent dates, the proccess create only one delivery with the total quantity and the first date of delivery.
Anybody knows some way to make the proccess create individual deliveries from diferents schedule lines?
Tanks in advance!
Marina.Hello Marina
I hope you are using VL10E. Did you try working with Delivery creation date (range) and Delivery Date calculation rule? For example if you go for a value of 2 for the CalcRuleDefltDlvCrDt ('Rule for determining default value for deliv. creation date), then system will consider only those sched lines which are to be delivered today and tomorrow.
You also have the possibility of setting up your own routine for CalcRuleDefltDlvCrDt.
Thirdly SAP has suggested a solution for Scheduling agreements ( valid for releases upto 4.7). In this SAP has suggested solution 4 for ensuring all schedule lines are not delivered together. You can customize the code to include Sales orders ( in stead of Sched Agreements) in your case. Though it is for release 4.7, I think you can use the smae concept in ECC also.
137937 - SD scheduling agreement: Delivery split for each schedule li
Check it out and let me know how it goes. Good luck. -
2 deliveries created for the same sales order
2 Return Del docs & 2 credit notes were created for one return order no.
Posted: Apr 17, 2008 5:33 PM E-mail this message Reply
Dear SAP Support,
I would like to know why does the system created 2 return deliveries with the same qty for a single return order document no.? One return delivery doc.no. was created 2 mins earlier than the 2nd return delivery document no. on the same day. After these 2 return deliveries were created, a credit note was also created for each return delivery doc. number. Here is the document flow:
On Jan. 10, 2008, the Return Order was created
The Delivery block field is set to 90- (Return block)
The Billing block field is blank
On Jan. 14, 2008 @ 12:08:44, the 1st return delivery doc. no. was created. And on the same day also @ 12:10:44, the 2nd delivery doc. was again created. These 2 deliveries were created by 2 users. 1st delivery is by manual job, the 2nd is by background job processing. there was a 2 mins. interval for these 2 deliveries.
On Jan. 21, 2008 @ 9:47:33, the 1st Credit Return Note was created. And on the same day also @ 9:48:00, the 2nd Credit Return Note was again created.
In my initial investigation, I found out that there were changes made on the return order document before the 2 return delivery documents were created. Below are the changes that happened:
On Jan. 14, 2008, @ 9:25:22 hour, the following changes occurred:
a) Delivery block was changed from 90 - (Return block) to blank
b) Billing block was changed from blank to 08 - (check credit memo)
On Jan. 14, 2008, @ 12:08:44, T-Inv Comb field was changed from DC to C
On Jan. 21, 2008, @ 9:47:20, the Billing Block was changed again from 08 - (check credit memo) to blank
Will the above changes, contribute to this issue?
I am also suspecting that the timing on the creation of deliveries via manual job and scheduled background job processig could be the root cause because of the slim time frame between the two job?
I hope you can help me get an explanation to this and how this can be avoided.
Thank you very much in advanced for your help on this matter.
Hoping to hear from you soon.
Kind regards,
Cynthia M. Ondillo
SAP SD Functional SupportHello Jonathan,
Yes, the 'update document flow' box is ticked and the entry in the 'Pos./negative quantity' field is '+'
Target delivery type is LR - Returns Delivery Source sls doc. type is ZRE - Coats Returns Order
Item category is ZREN - Coats Returns Item
Since we do not see anything missing in the above setting, can we say that it is a system bug when running manual delivery job close to the time for running the scheduled background job?
If it is a system bug, how can this be corrected?
Regards,
Cynthia -
How to create Incoming Email Activity using BAPI or Function module
To create an Incoming Email Activity using BAPI 'BAPI_ACTIVITYCRM_CREATEMULTI' or using 'CRM_ORDER_MAINTAIN' . what parameters i need to pass to a bapi.
Suggest me with a solution.
Regards,
SanjaniFor activity you must fill the following structures of 'CRM_ORDER_MAINTAIN'...
CALL FUNCTION 'CRM_ORDER_MAINTAIN'
EXPORTING
it_activity_h = t_activity_h
iv_collect_exceptions = ''
CHANGING
ct_orderadm_h = t_orderadm_h
ct_input_fields = t_input_fields
EXCEPTIONS
error_occurred = 1
document_locked = 2
no_change_allowed = 3
no_authority = 4
OTHERS = 5.
And at the end you must use also 'CRM_ORDER_SAVE' to performe the save.
Regards.
Maybe you are looking for
-
Hello experts, i want to mix the data of the two transactions CjI3 CjI5 into one table. Both Transactions or programs use LDB psj. So i want to use one perform for each LDB call. I want to call the LDB with the FM LDB_PROCESS. I want to get the data
-
Hello, We have a report which should be shown in Italy language.How can we achieve this in BW? As far as I know, In order to support multiple languages, the following is must: 1> The language specific descriptions must be maintained in
-
Quicktime playback not in browswer window.
Help. When I click a link on a site that points to an .mov the file is played back inside the safari window. Is it possible to have safari launch the file in quicktime player instead of playing inside a window? I find this annoyning because I want to
-
Hi Experts, After Loging as Loyalty Professional Business Role, When I'm trying to search Membershi[p Activites I'm getting the below exception "Diagnosis An exception occurred during request processing. This was handled centrally. It changed the pro
-
VPN Password Required for Each Connection
Prior to installing 10.5.6, when I accessed my VPN the password was automatically sent. Now I am required to type it in for each connection, although my setup remains the same as it was. Can someone tell me how to do this automatically?? Thanks