Payment card mandatory in sales order
Hi friends,
I want to make payment card filed mandatory when we enter some group of customers in sales order. We normally use the same sales order type for all the customers & when some particular set of customers entered in sales order we need to make the payment card field as mandatory to fill out.
Can we relate payment terms for making payment card mandatory in sales order or any userexit around.
Thanks,
Sree.Manam
Hi manam narayana
Either you need to have a separate sales document type , but with the same sales document type OR ,it is not possible.So if you want to make it mandatory payment card field mandatory then first of all copy document type OR to ZOR . Now use transaction variants using t.code SHD0 and there give document type ZOR and business object as BUS2032.and make the feild payment cards as required .
Now create the sales order using document type ZOR for the customers for whom payment cards should be mandatory.
But with the same document type i think it is not possible.Because if you make this field mandatory it will affect to all customers
Regards
Srinath
Similar Messages
-
Entering payment cards information in sales order
Hi Folks,
I am uploading the payment cards information in sales order using transaction VA02. I need to check if there is an already existing payment card in order to know the line number to enter the new card information. I know that FPLTC table has the information about the payment cards. How can I read the already existing lines and pass the new card information in the new line?
Thanks,
RAJTables: VBAK, FPLTC, FPLA.
Hi,
I am attaching my code. It would be really helpful for me if someone can tell me what should be the exact key to read the data. Somehow only one condition is true in this case.
Data : Begin of itab occurs 0,
VBELN(10) type C, "Sales order Number
AUTWR(15) type C, "Maximum amount
end of itab.
DATA : Begin of itab1 occurs 0,
FPLNR LIKE FPLTC-FPLNR,
FPLTR LIKE FPLTC-FPLTR,
ccnum like FPLTC-CCNUM,
CCINS LIKE FPLTC-CCINS,
END OF ITAB1.
DATA : ITABH LIKE ITAB OCCURS 0 WITH HEADER LINE,
ITABI LIKE ITAB OCCURS 0 WITH HEADER LINE.
include bdcrecx1.
Parameter : PATH(128) OBLIGATORY.
start-of-selection.
CALL FUNCTION 'WS_UPLOAD'
EXPORTING
FILENAME = PATH
FILETYPE = 'DAT'
TABLES
DATA_TAB = itab.
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
SORT ITAB1.
Select FPLTCFPLNR FPLTCFPLTR FPLTCCCNUM FPLTCCCINS into
corresponding fields of itab1 from FPLTC INNER JOIN vbak on fpltc~Fplnr
eq vbak~Rplnr.
ENDSELECT.
ITABH[] = ITAB[].
ITABI[] = ITAB[].
SORT ITABH.
DELETE ADJACENT DUPLICATES FROM ITABH COMPARING vbeln.
perform open_group.
Loop at itabh.
perform bdc_dynpro using 'SAPMV45A' '0102'.
perform bdc_field using 'BDC_CURSOR'
'VBAK-VBELN'.
perform bdc_field using 'BDC_OKCODE'
'/00'.
perform bdc_field using 'VBAK-VBELN'
ITABh-VBELN.
perform bdc_dynpro using 'SAPMV45A' '4001'.
perform bdc_field using 'BDC_OKCODE'
'=KRPL'.
Read table itab1 with key FPLNR = VBAK-RPLNR.
perform bdc_dynpro using 'SAPLV60F' '4001'.
perform bdc_field using 'BDC_OKCODE'
'/00'.
perform bdc_field using 'BDC_CURSOR'
'RV60F-CCBEG(03)'.
perform bdc_field using 'FPLTC-CCINS(03)'
'CHCK'.
perform bdc_field using 'FPLTC-CCNUM(03)'
'0000000000000001'.
perform bdc_field using 'CCDATE-EXDATBI(03)'
'12/2009'.
perform bdc_field using 'RV60F-CCBEG(03)'
'X'.
if sy-subrc <> 0.
perform bdc_dynpro using 'SAPLV60F' '4001'.
perform bdc_field using 'BDC_OKCODE'
'/00'.
perform bdc_field using 'BDC_CURSOR'
'RV60F-FAKWR(02)'.
perform bdc_field using 'RV60F-FAKWR(02)'
ITABh-AUTWR.
perform bdc_dynpro using 'SAPLV60F' '4001'.
perform bdc_field using 'BDC_OKCODE'
'=CCMA'.
perform bdc_field using 'BDC_CURSOR'
'FPLTC-CCINS(02)'.
perform bdc_field using 'FPLTD-SELKZ(02)'
'X'.
else.
perform bdc_dynpro using 'SAPLV60F' '4001'.
perform bdc_field using 'BDC_OKCODE'
'/00'.
perform bdc_field using 'BDC_CURSOR'
'RV60F-FAKWR(01)'.
perform bdc_field using 'RV60F-FAKWR(01)'
ITABh-AUTWR.
perform bdc_dynpro using 'SAPLV60F' '4001'.
perform bdc_field using 'BDC_OKCODE'
'=CCMA'.
perform bdc_field using 'BDC_CURSOR'
'FPLTC-CCINS(01)'.
perform bdc_field using 'FPLTD-SELKZ(01)'
'X'.
endif.
perform bdc_dynpro using 'SAPLV60F' '0200'.
perform bdc_field using 'BDC_CURSOR'
'FPLTC-AUTWR'.
perform bdc_field using 'BDC_OKCODE'
'/00'.
perform bdc_field using 'FPLTC-AUNUM'
'111'.
perform bdc_field using 'FPLTC-AUTWR'
ITABh-AUTWR.
perform bdc_dynpro using 'SAPLV60F' '0200'.
perform bdc_field using 'BDC_CURSOR'
'FPLTC-AUNUM'.
perform bdc_field using 'BDC_OKCODE'
'=BACK'.
perform bdc_dynpro using 'SAPLV60F' '4001'.
perform bdc_field using 'BDC_OKCODE'
'=S\BACK'.
perform bdc_field using 'BDC_CURSOR'
'FPLTC-CCINS(05)'.
perform bdc_dynpro using 'SAPMV45A' '4001'.
perform bdc_field using 'BDC_OKCODE'
'=SICH'.
perform BDC_TRANSACTION using 'VA02'.
ENDLOOP.
perform close_group. -
SD Payment card deletion in Sales order (Standard fucntion?)
Hi all,
I have this below scenario regarding updating of Payment Card in a sales document (Header level)
Requirement is to need to be able to add/delete a payment card when an cusotmer does it online.
An customized RFC(Z_RFC_1)is called form the outer application RFC is called which internally calls
Z_RFC_1 internally calls SD_SALES_HEADER_MAINTAIN.
Here in SD_SALES_HEADER_MAINTAIN is a structure FXZAKAKOM. Here I am passing
I have the following information to pass.
TYPZM Means of payment for classifying payment card plan lines
CCINS Payment cards: Card type
CCNUM Payment cards: Card number
FKSAF Billing status for the billing plan/invoice plan date
UPDKZ Update indicator
When I send UPDKZ = u2018Iu2019 a payment card is created for that sales order.
Tables: FPLA, FPLT, FPLTC. (Tables for payment card).
Linked to VBAL-RPLNR
But when I wan to delete a card and I send u2018Du2019 in field FXZAKAKOM-UPDKZ (SD_SALES_HEADER_MAINTAIN). It does not work.
After debugging I found that I can delete the payment cards by using function BILLING_SCHEDULE_SAVE. But here the problem is the link in VBAK-RPLNR does not get updated. Hence I have to clear VBAK-RPLNR using a UPDATE statement. (Which is not advised).
Irrespective of the above scenario can any one let me know how a payment card can be deleted from a sales order using a standard function module.
Note: Currently I am using SD_SALES_HEADER_MAINTAIN.
Thanks in advance.
KiranHi manam narayana
Either you need to have a separate sales document type , but with the same sales document type OR ,it is not possible.So if you want to make it mandatory payment card field mandatory then first of all copy document type OR to ZOR . Now use transaction variants using t.code SHD0 and there give document type ZOR and business object as BUS2032.and make the feild payment cards as required .
Now create the sales order using document type ZOR for the customers for whom payment cards should be mandatory.
But with the same document type i think it is not possible.Because if you make this field mandatory it will affect to all customers
Regards
Srinath -
Payment term Mandatory in Sales Order
Dear All
I want to make Payment Term as a mandatory field in the Purchase order & Sales Order. Where can I set that as "required" in Logistic module ?Hi Nikkitha,
Please do the following settings and try to save the sales order system won't allow to save the sales order
1. go toT-Code VOV8 and tick the field "In completion message" under "Transaction flow" Tab
2. go to T-Code VUA2 and Tick the" IC- Dialog" for corresponding Sales document type and assign the procedure
Otherwise you can do one more thinking
Maintain the payment term is mandatory in customer master based on account group so at the time creating the customer master by using T-Code XD01, under sales View, Billing Tab is there in that you can find out the "Terms of payment " it will show the mandatory field
if you maintained the in the customer master system automatically picks at the sale order no need to enter
Regards,
Prasanna -
Custom screen for Payment card information in Sales Order
Hi All,
I want to know if its possible to develop a custom screen to accept multiple payment card information in Additional data tab and save it in normal payment card information at the time of saving sales order. This sounds little
NileshHi Nilesh,
Please, see SAP Note 914603 - FAQ/Collective note for payment cards (Consulting/modif). Here you have the relevant notes related with this topic, so, in point 4, the note says:
4. Payment cards in the order (with billing plan)
- 914811 FAQ: Authorisation Problems - Why?
- 915193 No authorization in the order
- 313416 Installment plan payment with payment cards
- 361790 No Authorization or only pre-authorization executed
- 701569 Incorrect value to be authorized in the order
I hope this helps you
Regards
Eduardo -
Payment Card Info for sale order with BAPI_BUSPROCESSND_CREATEMULTI
hi all
i am trying to create a sales order using BAPI_BUSPROCESSND_CREATEMULTI
and i am able to create an order successfully without any problem.
the order is being generated. I am trying to input
the payment card details to the BAPI_BUSPROCESSND_CREATEMULTI in
PAYPLAN & PAYPLAN_DATE tables of the BAPI.
I also used CRM_ORDER_READ report to see how these tables are being filled
and based on that i had filled the payment card details in BAPI_BUSPROCESSND_CREATEMULTI
but still ..i see the order being generated but dont see any payment card information
being poulated in it.
If you have any idea how i should fill the PAYPLAN, PAYPLAN_DATE
tables and their respective input fields..please kindly help
i tried all possible ways and could not get a solution
Regards,
Jessica SamHi Richard,
So does this mean that i'd be able to capture all the data that is being determined after i make the call to this BAPI whithout saving it. Well.. I just want to simulate as it is happening in SAP.. i.e we enter the sold to party and hit 'enter' and all the data should be determined..and at this point i should read this data.
Could you let me know if this could be done.
Thanks,
Sahil -
Payment card details to Sales Order
Hi,
I have created the customer master and entered the payment card details. Could you please let me know how to get it copied to the sales order?
Thanks & Regards,
KeshiniHi
See Note 914603 - FAQ/Collective note for payment cards (Consulting/modif). Be careful with legal requirements related with encryption of this data in sales documents and master data. (see 836079 FAQ: Credit card encryption and master data)
Regards
Eduardo
Edited by: E_Hinojosa on Feb 15, 2011 10:10 AM -
Update payment card details for sales order
Hi all,
Is there any function module or bapi which can be
used to update the payment card details for a sales order
The bapi_salesorder_creatfromdat2 is having the structure
CCARD which takes in this details , but what I really want is to change the already created sales order. The bapi for sales order change is not having any structure which allows passing this details.
Please can anybody give some inputs on it.
Regards,
Shibu Mathew.Hi Anurag,
Thank you very much for the answer..
I too found it as i was digging through the
BAPI_SALESORDER_CHANGE.
One's again thanks for the solution.
Regards,
Shibu Mathew. -
Sales Area mandatory in sales order
Dear Sir,
I want to make Sales area as mandatory in sales order and Inquiry .
When we enter T. code VA01, in initial screen of sales order, without entering sales order document type in sales order VA01, system does not allow to process further.
In the same way I want to make sales area should be mandatory, system should not allow to enter in 2nd screen without entering sales area.
Waiting for your reply.
With Regards
MamtaDear Mamatha,
Even if you don't enter the sales area data in the initial screen of VA01 transaction system will ask you to enter sales area data in the second screen of the VA01 transaction,here sales area data is mandatory only, you can't go further with out entering the sales area data.
But I don't know why you want that in the first screen itself.
I hope it will help you,
Regards,
Murali.
Edited by: Murali Mohan.Tallapaneni on Jul 10, 2008 10:00 AM -
How to make all fields mandatory in sales order T- code VA01 initial screen
Dear all,
how to make all fields mandatory in sales order T- code VA01 initial screen itself
The fields are
Sales Organization
Distribution Channel
Division
Sales Office
Sales Group
Regards,
Amar ReddyHi,
You can use Transaction Variant to achieve this functionality.Please go through the following link which helps you in creating the same.
[Link|http://wiki.sdn.sap.com/wiki/display/Snippets/TransactionVariant-AStepbyStepGuidefor+Creation]
Regards,
Phani Prasad -
How to make field mandatory in Sales Order Item level?
Hi SDN's,
I need to make Shipping type field(Item level) mandatory in Sales order.
Can any one tell me what is the user-exit to achieve this?
Thanks in advance..
Regards,
RahulRahul,
U can check the BADI 'BADI_SD_SALES_ITEM'
othewise u can check
Exit Program MV45AFZZ.
Check the program SAPMV45A
V45W0001
V46H0001 -
Price mandatory in sales order
Hi SAP Experts,
I want to make price ( PR00) mandatory in sales order . The sales order should not be allowed to save with out the price. How do I achieve this? I have made the following setting.
1. Made PR00 mandatory in pricing procedure.
2. Assigned an incompletion log at the item level with screen PKON and status 06
but I still can save my sales order.
Kindly help
BeenaHi Beena,
You have done it right by making the Condition Type PR00 as Mandatory in the Pricing Procedure and also using the Item Condition PKON in the Incompletion log.
All you need to do is in the same Incompletion log mark the field as WARNING.
Hope this works for you.
REWARD if it helps you!!
Regards,
Ajinkya -
How to make a field profit center mandatory in sales order?
Dear GURUS,
Please help in getting answer for following question.
How to make a field profit center mandatory in sales order?
With Regards
Sandeep D.Hi,
There are 2 ways to make profit center mandatory
1.Transaction Variant
2.Incompletion procedure
1.Transaction Variant
Step 1:Goto Tcode shd0 and input transaction as va01 and give name of transaction variant as ( example. zva01 ) and click on create or F5
Step 2.Then it takes you to sales order screen.Just click on enter untill you see profit center field.
Step 3.check the box required against profit center.
Step 4.click on save ( under a package name or as local object ) and exit
Step 5.Assign transaction variant to your sales order type through tcode v0v8.
2.Incompletion Procedure
You can add the field table-vbap,field- prctr,status-04,check-warning to your existing incompletion procedure Tcode- ova2 assigned to your order type in tcode vov8 and check the box - incomplete messeges for your order type through tcode vov8.
If incompletion procedure is not assigned to your order type than you have to create a new incompletion procedure and assign it to order type. -
How to make tax classification field mandatory in sales order ?
Hi,
while creating sales order, " how to make tax classification field mandatory ".
Please tell me the procedure.
In tcode OVA2. what are the entries for fields,table.
Regards,
sapsduserDear ,
Could you please share why you want to make tax Classification field mandatory in sales order.
Maintain Tax classification field for customer in Customer Master Data = (Sales Area Data - Billing document Tab page)
Tax Classification field for Material in Material Master Data = Sales Org. 1 View.
While creating sales order and enter customer and material system automatically fetch the tax classification related data into sales order.
Tax is calculated based on the ship to party.
Hope this will help you.....
Regards,
Manoranjan. -
Unwanted printing of advanced payment when printing a sales order or pick
It will be great to have an option of disabling the automatic printing of the advanced payment incoming payment when printing a sales order or invoice.
The option is currently not available on the document printing options.No print sequence for sales order is setup.
But even before on 2007 version, it was SAP default to print always the incoming payment of an advanced payment on every sales order or invoice.
Maybe you are looking for
-
Hi, I've read that the Mini-DVI to Video Adapter is "not compatible with the 2.0GHz Intel Core 2 Duo white MacBook introduced in January 2009". I purchased my white shell Macbook less than half a year ago. Does it fall into this category? I suspect i
-
solved pls help needed in creating template
hi frs i have created a template need some modification to be done my xml output looks like below off hours q1 q2 q3 avg aaa 10 1 2 3 2 bb
-
Best practice for # of drives for Oracle on a Windows 2003 server
I need to know what the best practice is concerning the # of drives that should be built on a Windows 2003 server to ensure best performance and most effective back up and recovery, for both the application itself and the data base. I'm not certain,
-
I get error 1450 when downloading from iTunes.. I have no idea even where to begin.. anyone ever run into this before? I'm running iTunes/10.5 on Windows; Microsoft Windows XP Home Edition Service Pack 3 (Build 2600)
-
MobileMe Gallery + Smart Folder; why doesn't it automatically update?
I used to use Photocasting on iPhoto 6. This worked great in that I published a photocast of a smart folder and any new items that matched the smart folder were automatically published. I upgraded to iPhoto '08 specifically so that people could subsc