Mandatory field for condition
hi all,
i have create a z condition to calculate local tax on gross price. this condition is on material base as tax % varies as per material.
i maintain in MEK1 material and %. but i want restrict Purchase order saving if user linking material which does not have value maintain in MEK1,
is it possible to do such restriction ?
thanks in advance.
thanks all,
i got the solution.
thanks any way
Similar Messages
-
Mandatory Fields for IDOC ORDERS01 for Pricing Condition EDI1 to trigger
Hi ,
I'm Testing an Inbound ORDRSP using we 19 for Pricing Conditions EDI1. What are the Mandatory Fields for IDOC ORDERS01
Thankshello,
I think it's better to execute VA01 to create a sales order; in that way you should have an idea of mandatory fields.
Thanks. -
Mandatory fields for BAPI_ACC_DOCUMENT_POST
Hi
I am getting the follwing data from the file (Which is coming from oracle) invoice number and the amount,
from that i have to use Fb70 tcode for posting ,Please help me what are the mandatory fields for FB70,
how will get those fields from SAP. How to use the BAPI ?
Regards
Pabshi
check out this thread
Re: BAPI_ACC_DOCUMENT_POST
hope this helps
regards
Aakash Banga -
hai,
what are the mandatory fields to create the datas for xd01.(customer master data).
regards
surenderHI
MANDATORY FIELDS FOR CREATING CUSTOMER DATA ARE:
Account Group---ktokd(field name)
Name---Name1
Search term----sortl
postal code----pstlz
country-----land1.
Regards,
vineela -
Can any one pls tell me the mandatory fields for BAPI_ACC_DOCUMENT_POST
hi all ,
Can any one pls tell me the mandatory fields for BAPI_ACC_DOCUMENT_POST
what all data i need to give to post a document.
Thanks and Regards
JKHi...
part of my source code:
** Header Data " Sending comp code
wa_documentheader-comp_code = 'XXXXX'.
wa_documentheader-doc_date = '20060620'.
wa_documentheader-pstng_date = '20060620'.
wa_documentheader-doc_type = 'XX'.
wa_documentheader-username = sy-uname.
wa_documentheader-ref_doc_no = 'XXxxxxxx'.
wa_documentheader-header_txt = 'Text Header.
wa_documentheader-bus_act = 'XXXX'.
*it_currencyamount
wa_currencyamount-itemno_acc = '1'.
wa_currencyamount-currency = 'COP'.
wa_currencyamount-amt_doccur = 1943.
APPEND wa_currencyamount TO it_currencyamount.
*it_accountpayable
wa_accountpayable-itemno_acc = '1'.
wa_accountpayable-gl_account = '1234567890'.
wa_accountpayable-bus_area = 'DIV'.
wa_accountpayable-item_text = 'Text 1 XXxxxxx '.
wa_accountpayable-pmnt_block = ''.
APPEND wa_accountpayable TO it_accountpayable.
*it_accountgl
wa_accountgl-itemno_acc = '2'.
wa_accountgl-gl_account = '1234567890'.
wa_accountgl-item_text = 'Text 2 XXxxxxx'.
wa_accountgl-bus_area = 'DIV'.
APPEND wa_accountgl TO it_accountgl.
wa_currencyamount-itemno_acc = '2'.
wa_currencyamount-currency = 'COP'.
wa_currencyamount-amt_doccur = ( 1943 ) * -1.
APPEND wa_currencyamount TO it_currencyamount.
CALL FUNCTION 'BAPI_ACC_DOCUMENT_CHECK'
EXPORTING
documentheader = wa_documentheader
TABLES
accountgl = it_accountgl
accountpayable = it_accountpayable
currencyamount = it_currencyamount
return = it_return.
clear it_return.
CALL FUNCTION 'BAPI_ACC_DOCUMENT_POST'
EXPORTING
documentheader = wa_documentheader
TABLES
return = it_return
currencyamount = it_currencyamount "currencyamount
accountpayable = it_accountpayable "accountpayable
accountgl = it_accountgl "accountgl
EXCEPTIONS
OTHERS = 01.
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'. -
Mandatory fields for mapping in ORDERS idoc.
Hi
I m working on File to idoc scenario for creation of sales order in ECC 6.0 , now I want to know what are the mandatory fields in ORDERS idoc which needs to be populated or else disbaled so that the sales order gets created properly in the ECC 6.0..
Pl let me know the method of finding mandatory field for mapping for any idoc and which fileds of idoc are to be disabled.
Pl help ..
ans will be rewarded .
thanks & rgds
mojibHI,
U can disable the control record segment and in the IDOC adapter use the option apply control record from payload.
If you have set the Apply Control Record Values from Payload indicator in the receiver IDoc adapter, the following fields are filled from the IDoc-XML payload:
· MESCOD
· MESCFT
· TEST
· EXPRSS
· STD
· STDVRS
· STDMES
· SNDSAD
· SNDLAD
· RCVSAD
· RCVLAD
· REFINT
· REFGRP
· REFMES
· STATUS
· DIRECT
· OUTMOD
· CREDAT
· CRETIM
read the information in below link:
http://help.sap.com/saphelp_nw70/helpdata/EN/ab/bdb13b00ae793be10000000a11402f/frameset.htm
thnx,
chirag -
Mandatory fields for vendor master load
Hi Experts,
what are the mandatory fields for the vendor master upload? how can I find that?
Thanks for the help.In addition, you can also refer the links:
http://www.auditnet.org/docs/SAPR3AccountsPayable.txt
http://users.ev1.net/~gmorris/securitydocs/SAPR3AccountsPayableMatrix.doc
Hope thisll give you idea!!
<b>P.S award the points.!!! !!!</b>
Good luck
Thanks
Saquib Khan
"Some are wise and some are otherwise" -
PS: Setting Project Profile as a mandatory field for Project Definition
Hi,
I would like to know how to set Project Profile as a mandatory field for Project Definition (CJ20N or CJ01). I tried to look for controls at OPUK config but the Project Profile is not available for definition - either mandatory, optional, suppressed, etc. Would appreciate if you can share your expertise on this.
Thanks!
Regards,
VivianHi,
I would like to know how to include some additonal fields in OPUK/OPUJ. We have defined some .INCLUDE component / fields to SAP standard table PRPS/PROJ. We want those fields to also appear in OPUK/OPUJ so that we could also defined their characteristics - whether input, mandatory, suppressed, etc.
Thanks!
Regards,
Vivian -
Mandatory Field for Entering Delayed Reason for project during scheduling .
Hi Friends
Here I have a question on "Scheduling"?
My Client want an mandatory field for entering the delay reason if any phase or tasks or project definition get delayed.
Your input would be highly appreciated
Regards,
YAGHAGHi Abhijit,
Thanks for your prompt reply.
I am implementing cprojects 4.5 in PLM 7.0 and not in PPM 5.0.
Regards -
Mandatory field for TIN No, or Contact Person
HI Expert,
Can anyone please tell me code for Mandatory field for TIN number or Contact person at the time of adding Purchase Order.its possible by SP i tried for it but its variable so pls anyone have any idea.
SudhirHi Sudhir,
Try This.
FOR Contact Person-----
IF EXISTS (SELECT DocEntry FROM [dbo].[OPOR]
WHERE
((CntctCode IS NULL OR CntctCode = '')
AND DocEntry = @list_of_cols_val_tab_del))
BEGIN
SELECT @error =1, @error_message = 'Your Error Msg1'
END
END
For TIN No.-------
IF (@object_type = '22' AND @transaction_type= 'A')
BEGIN
IF EXISTS (SELECT DocEntry FROM [dbo].[POR12]
WHERE
((TaxID11 IS NULL OR TaxID11 = '')
AND DocEntry = @list_of_cols_val_tab_del))
BEGIN
SELECT @error =1, @error_message = 'Your Error Msg 2'
END
END
Regards
Ashutosh T -
Hi Gurus
Plz read the Question Properly
I know that for adding a new field as key field for condition record , one needs to append the structure( main ) KOMPAZ so that the field appears in KOMP structure .
Say want Shiiping Point as one of fields in Condition Records. ....VSTEL field
Now when the field appears in KOMP , then we can CREATE CONDITION RECORD FOR THE SAME
FOR EG: *SALES ORG - DISTRIBUTION CHANNEL-CUSTOMER-SHIPPING POINT-MATERIAL..... BASED MATERIAL PRICING
WHAT I FAIL TO UNDERSTAND
1.WHY WE PASS SHIPPING POINT ( VSTEL) FIELD FROM LIKP -VSTEL TABLE TO NEW FIELD DEFINED.
2.LIKE SALES ORG/ DISTRIBUTION CHANNEL ALSO ARE DEFINED IN ENTERPRISE STRUCTURE AND VALUE IN CONDITION RECORD IS PICKED FROM THERE ONLY, WHY NOT SHIPPING POINT.
WHY THIS ??????....
Supply the new field you defined by including the following source code line in
USEREXIT_PRICING_PREPARE_TKOMP:
MOVE xxxx-VSTEL TO TKOMP-ZZVSTEL.
In order processing you find the user exit in Include MV45AFZZ, and in billing document processing you find it in Include RV60AFZZ.
Regards
Rohit> Plz read the Question Properly
I read the question properly ;-).
> WHAT I FAIL TO UNDERSTAND
>
> 1.WHY WE PASS SHIPPING POINT ( VSTEL) FIELD FROM LIKP -VSTEL TABLE TO NEW FIELD DEFINED.
The first thing you need to understand is that the condition records value is not based upon the the enterprise structure which you have defined. Rather it will pick value from the sales documents which we have created. The reason behind including this LIKP-VSTEL is that only, Just imagine, where you are using condition records??? in Sales order, in delivery, in billing..... and based on the data passed in these documents your condition records will be populated.
Again for example : you have maintained record for Sales org 1000, DC 10, division 00 shipping point 1000 then the record will come into the document provided the document should fulfill these all.
I hope this will make you understand this.
> 2.LIKE SALES ORG/ DISTRIBUTION CHANNEL ALSO ARE DEFINED IN ENTERPRISE STRUCTURE AND VALUE IN CONDITION RECORD IS PICKED FROM THERE ONLY, WHY NOT SHIPPING POINT.
No the records are only coming from the Sales documents. only.
Thanks,
Raja -
Mandatory fields for VF01, ME51, XD01, Co40
can anyone tell me the mandatory fields for the tcodes to do BDC:
VF01
ME1
XD01
CO40Hi,
ME51,VF01 -- No mandatory fields for these transactions.
XD01-- account group and customer number are mandatory.
CO40- Planned order mandatory.
Regards,
Jagadish. -
Make material as a mandatory field for a particular document type in PR
Hi,
Currently we are in SAP 4.6c version. There is a business requirement for making material as a mandatory field for a particular document type of purchase requisition as they don't want the user to raise non material purchase requisition using that document type. The field for material is currently not available in the configuration for Define Screen Layout at Document Level for purchase requisition.
So could you kindly let me know the possible options to prevent user from raising a non material purchase requisition using that document type. If not could you kindly suggest me the user exits available at the time of saving purchase requisition which i could use so that we can write a code to check if the material number is entered or not. If not entered prevent the user from saving the purchase requisitions.
Also it would be helpful if you could let me know how the fields for enjoy transaction (like material,document type) can be made available for selection in the configuration for Defile Screen Layout at Document Level for purchase requisition.
All you help in the solving the above problem is highly appreciated.
Thanks & Regards
RamHi,
Check below method works out for you, if you do not want to proceed with any ABAP development.
Have a custom field selection key with Material Description field as "Mandatory" and "Display" in Basic Data, Item selection group.
Assign this to your PR document type which need material as mandatory. With this you are making user to enter material indirectly as mandatory & user will not have an option of entering text which avoids indirect / service procurement.
"Material Group" option won't help as User can have default settings with some value and it updates even in display mode of field.
Regards,
Ram
Edited by: Ramprashanna S on Jan 11, 2012 11:51 PM -
Mandatory fields for delivery, GI BAPIs
Hi Folks,
scenario, i have an STO number for which i have to create an outbound delivery(like its done in VL10B). now that i have a delivery number, next i have to change the quantity of this delivery and post goods issue. after GI i need to post a GR. data is comming in from a non sap system.
bapis are -
BAPI_DELIVERYPROCESSING_EXEC
to create an outbound delivery
BAPI_OUTB_DELIVERY_CHANGE
to change the outbound delivery and then post GI
BAPI_GOODSMVT_CREATE
to creat GR
can anyone who has worked with the following bapis tell me what the mandatory fields are in each bapi. i am unable to post them. i would appreciate your help and thanks in advance.Sample Code for BAPI_GOODSMVT_CREATE
Populate header data
Posting date
x_goodsmvt_hdr-pstng_date = <deldate>.
Document date
x_goodsmvt_hdr-doc_date = <doc_date>.
User Name
x_goodsmvt_hdr-pr_uname = <ernam>.
User Name
x_goodsmvt_hdr-ref_doc_no = <PO/Delivery No).
Bill of lading
x_goodsmvt_hdr-bill_of_lading =<BOL>.
Populate item data
Purchase order number
i_goodsmvt_item-po_number = ebeln.
Line item number
i_goodsmvt_item-po_item = ebelp.
Plant
i_goodsmvt_item-plant = werks.
Movement type
i_goodsmvt_item-move_type =movtype.
Movement indicator
i_goodsmvt_item-mvt_ind = mvt_ind.
GR quantity
if p_movtype = c_101.
i_goodsmvt_item-entry_qnt = menge.
else.
i_goodsmvt_item-entry_qnt = menge * -1.
endif.
GR UOM
i_goodsmvt_item-entry_uom = meins.
Storage location
i_goodsmvt_item-stge_loc = lgort.
Production date
i_goodsmvt_item-prod_date = doc_date.
Delivery completion indicator
i_goodsmvt_item-no_more_gr = c_x.
Movement Reason
if p_movtype = c_122.
i_goodsmvt_item-move_reas = c_12.
endif.
endloop.
For each PO create a GR document
if not i_goodsmvt_item[] is initial.
call function 'TRANSACTION_BEGIN'
importing
transaction_id = l_trans_id.
call function 'BAPI_GOODSMVT_CREATE'
exporting
goodsmvt_header = x_goodsmvt_hdr
goodsmvt_code = x_mvt_code
importing
materialdocument = l_mat_doc
matdocumentyear = l_mat_doc_year
tables
goodsmvt_item = i_goodsmvt_item
return = i_bapireturn.
endif. -
Hi all,
can u plz send me the mandatory fields(along with discription) for creation of FB60(vendor invoice),and FK01(cost center).
thank u,
Srinivas Reddy.The FK01 is the transaction used to create a Vendor.
The mandatory fields are:
a. NAME1: For Name
b. SORT1: For CUIT number.
c. SORT2: For alternative CUIT number.
d. CITY1: For city.
e. STCD1: Tax Number.
f. Others depending the case.
For FB60 (Vendor invoice) the mandatory fields are:
a. ACCNT: Number of Vendor Account.
b. BLDAT: Date.
c. XBLNR: Reference Number.
d. WRBTR: Invoice Amount.
e. HKONT: G/L Account Number.
f. WRBTR: Invoice Amount. The same as d but in the item.
g.MWSKZ: Tax Type. Depending the case.
h. KOSTL: Cost Center. Depending the case but is highly probable that the field were mandatory.
i. Others. Depending the case.
I have given to you the most probably fields that are mandatory for those transactions.
Your Sincerely
Leonardo Lopez
FI Consultant
Maybe you are looking for
-
Want to Buy Mac Mini.... HELP!
I want to buy a mac mini, but my fear is that it says it comes with Tiger as the OS. Anyone with experience? If this is the case... I will be very unhappy.
-
Adding the collapse/expand function to a subgroup
Good morning, I'm quickly getting a handle on building some very nice reports with SSRS. When I do the first grouping of data, the expand/collapse function is added to the top level. Works great. When I add a subgroup, the expand/collapse (+) functio
-
Doubt regarding Adobe forms used for PCR
Hey all, I have a doubt regarding Adobe forms used for PCR.If i goto tc <b>SFP->form name (ISR_FORM_SPPM)->Layout->XML SOURCE--> <base><server name><port>/sap/bc/fp/form/layout/</base></b> But in tc SICF,i do not have anything beyond FP.It goes like
-
I did the update when the new update for my Iphone to 7.0.2 came out, so I runed my MacBook Pro software update and updated it, since that day my back ups started in another folder, the space on my time capsule is still taken but I can't acces the ol
-
Query using BETWEEN/AND operators
Im trying to query in forms using BETWEEN/AND operators. The field is for dates (YYYY) is stored in the DB as varchar (4). My code compiles but returns nothing...Any ideas of whats wrong... PROCEDURE YR_RANGE_SEARCH IS BEGIN IF :SEARCH.NRA_START IS N