Automatic GR while PGI
Hi All,
I am trying to Post GR at PGI.
I am using Badi DELIVERY_PUBLISH~PUBLISH_AFTER_SAVE for writin gthe code.
There i am calling BAPI - BAPI_GOODSMVT_CREATE for movement type 101.
But i am getting a dump for as Delivery does not exist.
System is successfully create the std Mat.doc for PGI but while creating Mat.doc. from my code it is throwing a dump.
PLease suggest.
Thnx
RK
It is not working......
System is giving dump....as
Short text
The current application triggered a termination with a short dump.
Short text of error message:
Delivery does not exist
Long text of error message:
Diagnosis
The delivery you specified does not exist.
This document may have been archived.
Procedure
Check the delivery number you entered.
If the delivery has only just been added, it is possible that it
has not yet been posted. If this is the case, repeat the
transaction again later. If the error message still appears, inform
your programming team or system administrator.
I tried with Background..but code didnt work...couldnt debug as background process...
Please suggest .....
Similar Messages
-
Hi
I am getting an error while PGI
"Account 400000 requires an assignment to a CO object"
How to solve this ?Hi
This means in your material master or article master Profit center entry is missing which is actually made mandatory from FI side
Maintain profit center in your material master or article master and try to do one full cycle and you will not get this error
If this is an real time issue the already created billing needs to be cancelled in VF11 and reverse delivery and close the sales order by assigning reason of rejection
Because if you assign Profit center now in your material master you cannot update the already created billing document
If account assignment cat is missing in material masters it can be given in VF02 at the time of billing but not profit center
Non maintanence of profit center is the one and only cause of your error
You are having error at the time of PGI for this also the above mentioned entry is the cause
Regards
Raja -
Automatic Invoice and PGI after salesorder(userexit_document_save)
Hi All,
Here my requirement....
I need to do automatic Invoice and PGI for cash sales in Sales order.
For this, I coded inside the userexit_save_document, in this userexit i'm getting the sales order number to create Invoice and delivery number to create PGI but the issue before this userexit the sales order and delivery are created but not yet committed. So, when I am trying to create pgi and invoice in this exit.... it says the document doesn't exit.
Could anyone suggest me an methos to do that.
fyi: in my current approach for PGI im executing the standard report 'WS_MONITOR_OUTB_DEL_GDSI' using submit by passing the delivery number .............output says 'document don't exist'
for Invoice : I recorded the transaction 'VF01' and updating using bdc in funtion module, this function module is called from userexit_document_save using 'call function zffucn IN UPDATE TASK'..........this creates runtime error and shortdumb. when I looked in sm13 error says '00 671: ABAP/4 processor: POSTING_ILLEGAL_STATEMENT' , short text says 'Statement "CALL TRANSACTION" is not allowed in this form.'.
is there any better way to do this???
any suggestion will be appreciated
Regards.Hi,
I tried using perform ...ON COMMIT....
Now i can clearly see that the sales order and delivery is created (message is displayed in the status bar)..
when i debug the code.....this is executed at last i.e but still it shows that 'Document xxx does not exist'. SO, I believe it is not yet committed to database.
If I exit from that screen and enter into vf01 or standard report then it works...so its getting committed only getting out of that transaction ....i think there is some small change is missing...could anyone give suggestion.
regards.
Edited by: Shankar Raju Devadoss on Mar 17, 2011 11:07 PM -
Dear Friends,
I want the billing to be generated automatically after clicking PGI (not after saving the delivery).
How can this be achieved?
Thanks & Regards
Ratna KumarHi,
You can use the BAPI for the same to create the invoice after PGI. I think you can use BAPI_BILLINGDOC_CREATEMULTIPLE. You need to take help of the ABAPer who will be able to pass on the right parameteres into this BAPI so that the invoices get created when PGI is done.
Also, you can try with BAPI: BAPI_INCOMINGINVOICE_CREATE
I have attached a couple of links which may help you and your technical person to resolve this issue.
Call BAPI to Create Invoice During PGI(VL01N) via BADI
BAPI to Create a invoice after PGI
Hope this helps.
Thanks
Mukund S -
How to set up in SAP to have automatic billing after PGI
Hi Gurus,
In our business, majority of sales transactions need to do billing Immediately after PGI. I would like to know how to Configur in SAP to
have automatic billing after PGI.
I would like to know if such change can be made per Plant, or per Material
Group.
Sunny.
Edited by: sunezersd on Sep 1, 2008 9:55 AMHi,
As far as I know, you may need to schedule the VF04 billing due list to run in the background at regular interval like for example every 30minutes.
Someone proposed other one. See the link for details [Automatic Billing after PGI|http://sap.ittoolbox.com/groups/technical-functional/sap-log-sd/automatic-billing-after-pgi-1088056#]
Regards, -
Disable "Allow automatic sync while roaming " in iOS5?
Hi! I would like to know in detail what happens if i disable "Allow automatic sync while roaming " in iOS5?
According to what I can find, it prevents activesync from automatically synchronizing mail, calendars and contacts when the phone roams onto a different carrier network. It can still be synced, but it must be done manually by the user. The intent is to help control data roaming charges.
-
Error while PGI... Special stock 2010 Q for this mat. does not exist
Hi friends,
While PGI system is showing error that particular material, and wbs element special stock Q in sloc 2010 stock does not exist.....
But stock is present.....
I hve checked all relevant things reg..... stock and reservation...
We are facing this issue for PGI for free of charge.........
Plz. help......
Thanks
NavinHi,
Please check in MB52 whether the stock of your material belongs to special stock 'Q' + relevant WBS_ID. If your stock level is high enough but the goods are not under the WBS' special stock you cannot post goods isue I guess...
Csaba
Edited by: Csaba Szommer on Jun 9, 2008 5:13 PM -
Hi Guys,
The material have been extended to both the receiving and supplying company code(Plant).
Supplying company is created as vendor in receiving company(Plant).
Receiving company is created as customer in receiving company(Plant).
All inter company STO settings have been made.
Our requirement is we need to do auto delivery and PGI ,as we will get material delivered and qty from third party software at weigh bridge.
We need to avoid using VL10D and VL02N. This should happen automatically.
We have initially tried working out this doing some more configurations.
# SPRO > Purchasing > Purchase Order > Set up Stock Transport Order > Activate Automatic Delivery Creation and CRM Billing
# Activate Automatic Delivery Creation for PO Type and Shipping Point
We need to know what is the steps to do automatic delivery & PGI. I don't have idea on what the steps involved in this process.
1069448 - Outbound delivery not created automatically in ME21n for STO
986195 - No scheduling in automatically created replenishment deliv.
Have read these two notes,but could not able to get clear idea on it.
Is it possible in standard or any ABAP development is needed. Kindly advise.
Thanks,
SubbuHi,
Please set the configurations in the path, for your shipping point, PO doc type and plant:
1. OLME - Purchase Order - Set up Stock Transport Order - Activate Automatic Delivery Creation and CRM Billing
2. OLME - Purchase Order - Set up Stock Transport Order - Activate Automatic Delivery Creation for PO Type and Shipping Point
Now maintain the settings in VL10CUC transaction as below:
Now, create the PO with correct document type and check the shipping tab for the shipping details. You may also check the ATP by selecting the item and click and the ATP button in ME21N. Also check whether any warning message is issued in PO.
If you save the PO, the delivery will be created automatically while you save the PO. No need to schedule any background job. Please note that the system wont do PGI automatically, as of my knowledge.
If its not created, check whether you are able to create delivery in VL10B and revert back with your SAP release details.
Regards,
AKPT -
What is USER_EXIT for VL02N while PGI
Hi,
While doing PGI System should calculate pallet no. For i wrote code in this FORM USEREXIT_SAVE_DOCUMENT use exit in INCLUDE MV50AFZ1 .
While I am assign pallet no in likp its not updating LIKP transparent table.
case sy-ucomm.
when 'WABU_T' OR 'WABU'.
IF lv_lfimg IS NOT INITIAL.
xlik = xlikp.
xlikp-anzpk = lv_lfimg. "lv_lfimg.|
xlik-anzpk = lv_lfimg.
xlik-updkz = 'U'.
LOOP AT xlikp.
MODIFY xlikp FROM xlik.
ENDLOOP.
ENDIF.
First Guru finally its not updating LIKP table. Please any one can tell me.
Very urgent please help points will rewarded .
Thanks
RamakrishnaHi,
For updating any field in LIKP use FORM USEREXIT_MOVE_FIELD_TO_LIKP.
of MV50AFZ1.
I hope this helps,
Regards
Raju Chitale -
Dear Experts
In one of the business scenario, one consignment, which was exported earlier is rejected by customer.
This goods were sent back by overseas customer against Bill of entry.
At customs we have paid CVD and ADC. As per the goverments notification we can take credit of this duty.
Now we have released the duty payment through FI JV
Material can be taken in stock by PGR against return order.
How to take credit of the duty paid??
One way we can take it through J1IH against w/o PO option.
But my question is,
SAP allow to create automatic PO in the background while PGR?? so that duty components will flow from sale order to Purchase order and we can take credit against the PO
Please suggest
Regards
KailashHi
Material ledger functionality activated for your plant (Valuation area).If you are not using material ledger, then de activate this for your plant in Tcode: OMX1 and try do the GR.
Regards
Ramakrishna -
When I send attachments - for example graphic file (.mi extension from CoCreate's Designer drafting program) Thunderbird "opens" it (while sending it) as it is text file and thus makes teh message long (thousands of rows). I'm now solving this so that I make zip file. Also, there is no problems with Word's, Excel's, Adobe's files which are recognized automatically by Thunderbird.
In old versions of Thunderbird I've just defined the type of each file extension (which was not recognized automatically by Thunderbird) and Thunderbird didn't open an attachment while sending the mail. In last version there is no such possibility and this is a step back.
I'm sending you an example...
Thank you for your answer,
Dušan Lanišek
TITAN d.d.
SloveniaI can understand that its a bit iritating, but I dont think your email is larger than if it wasnt showing. look at "show code" and compare. Your .mi-file has to be sent within the email, either in plain view or hidden.
-
Sales order with MRP run but no need of sales order stock while PGI
Dear Gurus,
We have scenario in company that we want to run MRP for sales order & generate requirements. But while doing post goods issue for same sales order, sales order stock need not be present.
Please tell which planning strategy, strategy group or else should be used here.
Thanks in Advance !!
Thanks,
VishwasHi,
Please configure in the following manner..
create a strategy group say Z9..in this maintain main strategy as 20 and alternate strategy as 10... Now assign this strategy group to material in material master in MRP3 View..
Now create sales order say A and run MRP with MD50..after completion of production you will get Sales order stock.. now convert this sales order stock unrestricted use stock..
Now before you are doing PGI for sales order A... go to sales order change VA02 and change the requirement type to KSL from KE and then system will all you to do PGI with unrestricted use stock...
Thanks
Kumar -
Why does my iPad 2 keep on automatically locking while using anything ?
While I'm using my iPad, it automatically locks for some reason. Even when I'm just playing apps or swiping the screen , I need help to fix it ?
1. Close all inactive apps in the Task Bar. Double-click the Home button and hold apps down for a second or two. Tap the minus sign to close app.
2. Hold the Sleep and Home button down for about 10 seconds until you see the Apple Logo. -
PR00 should automatically display while creating sales order
Hi,
PR00 should automatically display in sales order and i have to enter price only without maintain condition record.
i dont want to enter PR00 and price.
PR00....................................1000
Defaultly that pr00 should be display in the sales condition and price filed should be blank.
so that i can enter price for that condition type PR00.
my client dont want to enter condition type every time.
Thanks in advance
by
babsHi,
Thanks for ur reply.
But my requirement is not that.
I am creating sales order and entered customer number, material and qty.
now system throw an error PR00 Mandatory pricing missing
In Item overview select condition tab
There u have to enter PR00 ............1000
Instead of this, PR00 should be there and price field should be blank.
now i can enter only price for PR00 condition type.
I dont want to select condition type(PR00) each and every time while entering price.
I hope now you understand my requirement.
Thx in advance
babs -
HI experts,
im facing issue that
invoice happening automatically for gift vocher ( service item having delivery) immidiatly after delivery before PGI.
we r fallowing auto delivery,
we are in is-retailing
plz give me solution to the same,
advance thanks
reddyhi,
chek in the item category definition if its with reference to the sales order. as for automatic generation of invoices chek if there are ne background jobs taht are running. but in case of sales of services u do not need to have the delivery creation, u can do w/o it.
saurabh
Maybe you are looking for
-
Hi, I have designed a Custom screen for one of my requirements. However when the screen is displayed, I am facing an error message from SAP Front End Server that says " Erroneous data received from server. Application may not work correctly". What c
-
Goods receipt message empty - MIGO with purchase order
Hi, In MIGO, I do a goods receipt with reference to purchase order. On the purchase ordre the flag "Goods Receipt Message" is flagged. In my business workspace I receive the email, the message title is ok but message is empty, the text is not display
-
Cmd-esc undesirabley launches Front Row?
Hi I have LiteSwitch installed (www.proteron.com/liteswitchx). According to its documentation, hitting esc while toggling through the apps (with CMD-TAB) would exit it without switching to the selected app. However, on my machine, hitting esc (while
-
PC and iphone where do pictures get saved to?
I synced my Iphone 4 without a hitch, but now I can't figure out where it saved my pictures and videos? I'd like to pull them off the phone to clear up some space on my 16 g, but until I see them on the PC I'm reluctant to do that. Maybe this is a s
-
Help with layering...I think (!)
Hello! I am very very new to Adobe Illustrator CS2 so please bear with me I have been pushed in at the deep end at work with a whole rebranding project being thrust upon me as we have no internal design department to speak of. I started off using pub