BAPI to create Returns Lot (FP09)
Hi to all,
We want to create a Z program and use a BAPI to create return lots, is this possible? Have anyone done this?
The problem is that the bank is reporting us two cases for lot payment orders
1. success payment of order
2. unsuccessfully payments on orders
Both cases are mix in one big file.
We are planning clear the ones successful ones with the bapi BAPI_CTRACPAYMINC_CREATE... and all the ones required to create and post lots. (similar to fp45)
But we want to do something similar to FP09 for the unsuccessful ones with the Z program
By doing this all can be done with one step.
We can not find any BAPIs of FM which can be used to do this.
Thanks
Sergio
FKK_LOT_KEY_CREATE
FKK_PAYMENTLOT_KEY_CREATE
FKK_PAYMENT_BATCH_ADD_CLARIF
FKK_PAYMENT_BATCH_ANALYZE_ITEM
FKK_PAYMENT_BATCH_ARCH_IND_CRE
FKK_PAYMENT_BATCH_CLARIFY_ITEM
FKK_PAYMENT_BATCH_CLOSE
FKK_PAYMENT_BATCH_FIND_ARCH_PM
FKK_PAYMENT_BATCH_FIND_PAYMENT
FKK_PAYMENT_BATCH_GET_STATUS
FKK_PAYMENT_BATCH_LOCK_ITEM
FKK_PAYMENT_BATCH_NEW_FIKEY
FKK_PAYMENT_BATCH_POST
FKK_PAYMENT_BATCH_RELEASE
FKK_PAYMENT_BATCH_REVERSE_PYMT
FKK_PAYMENT_BATCH_SHOW_DETAIL
FKK_PAYMENT_BATCH_STATUS
FKK_PAYMENT_BATCH_STATUS_ADJST
FKK_PAYMENT_BATCH_UNLOCK_ITEM
FKK_SEARCH_PAYMENTS_IN_LOTS
These are few FMs ...
FKK_PAYMENT_BATCH_STATUS can be used to get the status of the LOT
Hope some of these will be helpful
Similar Messages
-
BAPI for creating Return delivery to vendor using transaction MIGO
Hi All,
My requirement is to create Return delivery to vendor using transaction MIGO.
In MIGO transaction to create return delivery, the following steps needs to be followed.
i) Select the option A02 Return delivery, R02 Material document,
Enter Material document xxxxxxxx.
Reson for movement:xxxx
By selecting the option item ok and via delivery check box, then save.
After saving return delivery needs to be created.
Is there any BAPI/FM exist for this requirement?
I made lot of search in sdn, but i could not find any thing helpful.
Appreciate quick help.
regards
suryaHi
In VL02n->Extras->Delivery Output->Header
Check if you see any message type (LD00 ?).
If you do not see any, insert a message type LD00.
If you want to check the IMG settings, see Txns : V/71 (for delivery types RL/RLL) and V/73 (for Item category RLLN)
Best regards
Ramki -
Hi,
Someone know if exists an standar BAPI or function to create an inspection lot?
Many thanks!!Hi,
try these....
Function group Function group short text
Function Module Name Short text for function module
COQM Create inspection lot from order
CO_QM_INSPECTION_LOT_CREATE Create inspection lot from order
CPCC_BUS1191 BAPIs for Inspection Plan
ALE_INSPECTIONPLAN_CREATE
BAPI_INSPECTIONPLAN_CREATE Create Inspection Plan
CPDMDATACOLLECTOR2
C_PDM_INSPECTIONPLAN_CREATE
QMHU
QMHU_INSPECTION_LOT_CREATE
QPL1
QPL1_INSPECTION_LOT_CREATE
QPLEXT
QPLEXT_INSPECTION_LOT_CREATE
Arunima -
Problem when using BAPI to create return order
Hi All,
I need urgent Information.
I am using BAPI_CUSTOMERRETURN_CREATE and BAPI_CUSTOMERRETURN_CHANGE to create and change quantity of return order. In both cases I am getting the result that quantity value is not getting updated.
are these BAPIs are correct to fulfil my requirement, if yes could you please clarify?
other wise, can I use BAPI_SALESORDER_CREATEFROMDAT2 and BAPI_SALESORDER_CHANGE?
and could you please some details about quantity change in Outbound delivery?
I am using BAPI_OUTB_DELIVERY_CHANGE for thisHi
<u>You need to do exeute a BAPI_TRANSACTION_COMMIT after the succesful execution of both the function modules BAPI_CUSTOMERRETURN_CREATE and BAPI_CUSTOMERRETURN_CHANGE.</u>
<b>I mean, please insert CALL FUNCTION 'BAPI_TRANSACTION_COMMIT' function module in the program, after each function module call</b>.
Hope this will help.
Please reward suitable points.
Regards
- Atul -
Hi, I met some issue needs your help!
I use BAPI to create return sales order, Return an error message "Unpermitted combination of
business object bus2032 and sales doc.category H".
Can anyone suggest me any solution for this problem?
Thanks is advance,
RoryHi Rory
Try this link:
BAPI can't to create SO,But used bapi data with manual can?
Regards
Neha -
Create inspection lot in sales return
Hi Experts,
When doing sales return (VA01) and return delivery order (VL01N), if I need to create inspection lot for QA guys, what is required to set?
I have tried using SAP standard inspection type 06 or 10, no inspection lot is created.
Please help!
Regards,
DanielHi
Sales return inspection mainly deals with two scenarios: stock relevant and non stock relevant. 06 inspection origin/type is for non-stock relevant and the preferred one.
The basic setting is already explained in previous post. Now few things to done are:
1. Activate inspection type 06 for the materials
2. Make sure tick box is not checked for movement type 651 in QCC0Q-inspection-Insp lot creation-insp for good movement--deactivate quality
3. in Tcode VOV6, select schedule line category DN and check that movement type maintained in 651
4. Check your inspection plan usage is correct as per your inspection type setup.
Now your settings are completed for customer return inspection with 06 origin. Once any return delivery is done, a non-stock relevant lot will be created in SAP. -
Function module to Create payment lot name
Hi ,
I have to create a new payment lot from a Z program
(program will run in a batch mode) and this payment lot will be passed to standard bapi : BAPI_CTRACPAYMINC_APPEND to upload the data in payment lot. For creation of payment lot I am using Function modules as FKK_CREATE_NAME_OF_PAYMENT_LOT
or
FKK_PAYMENTLOT_KEY_CREATE
( either of 1 )...but the function modules return me the name of payment lot..but when i cross check it in FP05 it says "lot not yet created" . Please let me know what could be the reason that payment that lot is not getting created. Is there any other FM which we can use. PLease let me know .
Thanks
SandeepHi Sandeep,
We cannot create the Payment lot using FM's FKK_CREATE_NAME_OF_PAYMENT_LOT or
FKK_PAYMENTLOT_KEY_CREATE .These FM's will create only the Payment lot name which can be used to create Payment lot.
IF we want to create Payment lot through Z program we have to create a file and pass data to file with structures
BFKKZGR00(File Header)
BFKKZK(header data)
BFKKZP(Line items).
We have to pass this File and Identification to Report Program--RFKKZE00(Transaction-FPB3).
Submit this report program ---RFKKZE00 in background.
hope this is helpful.
Regards,
Sravanthi. -
Hi,
Upon completion of the return lot:
SAP Easy Accessu2192 Utility Industryu2192 Contract Accounts Receivable and Payable u2192 Payments u2192 Returns u2192Returns Lot (Transaction FP09)
The system generates a letter to the customer.
I need that this letter will be forward to SP01 transaction as a RDI format.
Can you please tell me in which SAPScript Form in need to add this support ?
Thanks
OfirHi,
To display the two clarification cases, you have two options:
Transaction FP09, you have to fill the return lot ID, and press "postprocess" icon. In this moment, you have to see both clarification cases created by the system. Usually you have the error message why the return document was not created. This should help you to identify the reason.
Transaction FPCRL, to display all the clarification cases which required postprocessing., execute the "administrator mode" option (Ctrl+F1).
Hope this help. -
Installment source item is changed while doing the Return lot Posting
Hi Experts ,
We have a requirement to Change the Payment method for the Line item while doing any Return lot Posting(FP09) .So that we have enhanced the FQEVENT 292 to change the payment method in the line item and also configured the Lock(Payment/Dunning) for some of the Return Reason code . It is working perfectly for any item except installment line item.While doing the Return posting for any Installment line item(say 1st installment out of 4 installment) ,Lock is applied and payment method has been changed for that line item which is correct but it is also changed the Source line item of that Installment Plan which is not supposed to do this .not sure why SAP is taking the Source line item ? Could you please advice me what need to do for this ?
Thanks ,
PankajHi Pankaj,
You can use BAPI ' BAPI_INSTMNTPLN_CHANGE ' to change the Installment Plan item.
Thanks,
Pratima. -
when creating a return lot manually, we can "assign" number of return items and total amount. e.g 3 lines (items). but...
once i finished "feeding" the first line and hitting "enter" - all the rest of lines is "closed", although i intended to write 3 items. can the original number of items remain "open" to fill them with data?
remark: if i go once again to "New Items",
the 3 additional lines open.I'm on release 472, the problem you described is not happening in our system.
Adriano.
Edited by: Adriano Silva on Sep 16, 2008 10:53 AM -
Need a Bapi to Create a purchase order
Hi experts,
Is there a Bapi, to create a 'Purchase Order' from an existing Purchasing document no. marked for deletion.
Thanks in advance ,
Hrashit RungtaHi Experts,
I have used BAPI_PO_CREATE1 to create a purchase order .
I have successfully created a purchase order when i use this BAPI directly through SE37 ,
supplying the required inputs.
But now i am calling this BAPI inside a program,
Supplying the same inputs as earlier.
Buit i am not able to generate a PO.
I am getting the messages in the Return Table as :|Please enter items first
No instance of object type PurchaseOrder has been created. External referen
Document contains no items
Can someone suggest What input am i missing ?
Thanks in advance,
Harshit Rungta -
Problem to creating Inspection Lot
Hi,
I am creating inspection lot using fm as mention below, with inspection type '89'.
call function 'QPL1_INSPECTION_LOT_CREATE'
exporting
qals_imp = l_qals
rmqed_imp = l_rmqed
importing
e_prueflos = l_prueflos
e_qals = l_qals
subrc = l_subrc.
if sy-subrc = 0.
Update memory stack for actual posting...
call function 'QPL1_UPDATE_MEMORY'
exporting
i_qals = l_qals
i_updkz = 'I'.
Post lot to DataBase...
call function 'QPL1_INSPECTION_LOTS_POSTING'.
call function 'BAPI_TRANSACTION_COMMIT'
exporting
wait = 'X'
IMPORTING
RETURN =
I am getting message, Inspection lot created successfully. But unable to view the Inspectionlot in QALS table. or Is there is any other process to create Inspection lot.
Will you help to solve this problem.
Thanks & Regards,
SriniHi,
Check this .
wa_rmqed-dbs_flag = 'X'.
wa_rmqed-dbs_edunk = 'X'.
wa_rmqed-dbs_fdunk = 'X'.
wa_rmqed-dbs_noerr = 'X'.
wa_rmqed-dbs_nowrn = 'X'.
wa_rmqed-dbs_nochg = 'X'.
wa_rmqed-dbs_steuer = '01'.
WA_QALS-MANDANT = SY-MANDT.
wa_qals-WERK = 'XXXX'.
WA_QALS-HERKUNFT = '89'.
WA_QALS-MATNR = '000000000000111111'.
WA_QALS-LOSMENGE = '1'.
WA_QALS-PASTRTERM = SY-DATUM.
WA_QALS-CHARG = 'Test123456'.
WA_QALS-PLNNR = 'FORMULA1'.
WA_QALS-PLNAL = '1'.
WA_QALS-PPLVERW = '3'.
WA_QALS-STAT01 = 'X'.
WA_QALS-STAT20 = 'X'.
WA_QALS-PLNTY = 'Q'.
WA_QALS-PLNNR = 'FORMULA1'.
WA_QALS-PLNAL = '1'.
WA_QALS-CHARG = 'AB78654'.
CALL FUNCTION 'QPL1_INSPECTION_LOT_CREATE'
EXPORTING
qals_imp = wa_qals
rmqed_imp = wa_rmqed
IMPORTING
E_KZSKIPLOT =
e_prueflos = gv_prueflos
E_QALS =
subrc = gv_subrc.
E_SKIP_TO_STOCK =
IF gv_subrc = 0.
COMMIT WORK.
ENDIF.
WRITE 'ABCD'.
Ashutosh -
When I create Return Sales Order through BDC sales order doesnu2019t create.
Deal Guru,
When I create Return Sales Order through BDC sales order doesnu2019t create.
It shows created sales document number but when I display this document I am getting message Document is not in database.
After executing my BDC, message received in SAP in box : SAPSQL_ARRAY_INSERT_DUPREC
I am receiving following message in SAP inbox for following issue.
But when I create Return Sales Order through VA01, it is working. Please give me some idea.
Detail Message
Update was terminated
System ID.... PRO
Client....... 900
User..... DEVELOPER2
Transaction.. VA01
Update key... 4961DBF46A6B09D2E10080020A02281C
Generated.... 05.01.2009, 16:03:40
Completed.... 05.01.2009, 16:03:40
Error Info... 00 671: ABAP/4 processor: SAPSQL_ARRAY_INSERT_DUPREC
Regards
MakarandHi Rory
Try this link:
BAPI can't to create SO,But used bapi data with manual can?
Regards
Neha -
A proxy and in that proxy we will call the BAPI for creating Purchase Requi
HI all,
I am explaining a situation please resolve if possible.
I got source data to create purchase requisition . the source data was not cleaned and requires lot of validations and crossmapping with actual sap tables . I did it for testing and used bapi ( bapi_requsition_create) and was able to test the data to create a pr in sap. but now as per the instructions from my onsite co-ordinator , they told thy will use a proxy( in place of idoc) and in that we will call bapi to create purchase requisition in sap. please explain about what kind of proxy it may be and how we call bapi in it . thanx in adv..HI all,
I am explaining a situation please resolve if possible.
I got source data to create purchase requisition . the source data was not cleaned and requires lot of validations and crossmapping with actual sap tables . I did it for testing and used bapi ( bapi_requsition_create) and was able to test the data to create a pr in sap. but now as per the instructions from my onsite co-ordinator , they told thy will use a proxy( in place of idoc) and in that we will call bapi to create purchase requisition in sap. please explain about what kind of proxy it may be and how we call bapi in it . thanx in adv.. -
Viewobject rows don't exist when creating a lot of rows at once
Hello,
I'm creating a lot of rows at once in a viewobject. Let's say between 100 and 700 rows. After that, I commit the transaction. After the creation of every row I do a postchanges().
When this is all done, a xml file is sent to another server and returns the same file with a bit more information. That file is parsed and every row will be searched in the Viewobject but then they don't exist!
When I try this with a couple of rows, 10 or something, everything goes well. Is this a known problem or am I doing something wrong? I don't want a commit after the creation of every row because sending must succeed before saving them.No off course.
I hoped that more people have problems with inserting a lot of rows at once. The code is quite simple, it looks a bit like this:
for ( about 500 elements )
Row row = voIterator.createRow();
row.setAttribute("...", "....");
voIterator.insertRow(row);
getDBTransaction().postChanges();
getDBTransaction().commit();
Maybe you are looking for
-
What are the possible reasons for a procedure to go into uncompiled state?
hi, we are working on a warehousing project where in we have a set of procedures that run every day to fetch the data from the source and populate it into the target. For the past few days some of these procedures are going into un-compiled state eve
-
AS2 Question/Problem..
I have a swf where I'm calling two external swf files. These external swf files also load data from an xml file. The problem is that the first external swf file that I load is the only one that loads. Well.. the other swf does load, but it loads t
-
Odd (semi-transparent or so) screen problem
Hi, I have an odd problem with my T61 (model: 7664, type: 19G, OS: Windows XP SP2). Every now and then after booting up my PC I get an really odd looking screen: it is as if transparent (double view would be more correct because the layer I'm seeing
-
Have downloaded video but can't get closed captions?
Have downloaded video from Apple TV, and while it shows it should contain Closed caption, I can't find a way of getting them up on screen when replaying. Any thoughts?
-
Quicktime Pro - export as mpeg-4 works in iPod Touch but not iPhone 3G
If I use Movie to iPhone / iPhone (cellular) the quality is pretty dismal considering I use the component cable to pipe it out to HDTV. So, I tried using movie to mpeg-4 as that allows options. However, the resulting video can be transferred over to