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
mojib
HI,
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
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 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 -
Need Profit centre field as mandatory field in the sales order
Dear All,
Normally Profit center data maintained in the material master, same data will get coipied to the sales order while creating sales order in VA01 transaction.
My requirement is if profit center data is not maintained/available in the sales order system should give the error message
For this I need Profit center field as mandatory field in the sales order(VA01).
Can you please give possibilities ASAP.
Give the SHD0 maintenance step by step.
Regards,
Murali.Hi Murali
I beleive that you are talking about the Profit centre field not maintined in sales order hence not picked in delivery and billing and there is an FI posting error (GL account error) because of that
Profit centre is maintained in MMR and the same flows thro the sales cycle and i am quite sure if maintained in MMR it will be picked automatically and no need to make it mandatory in sales order( as the purpose is already solved)
But there is no standard option in SAP like (even if Account assignment category of the material is not maintained in MMR it can be given in VF02 and the document can be released for accounting) to give the Profit centre in the billing and release the same
Profit centre field field is picked from masters and flows in the entire flow and that field is greyed out (like no option of inserting it inbetween)
As told by others incompletion log in sales doc type will take care for future orders and for the already created orders the standard option is cancel billing, reverse delivery and open the sales order and give Profit centre field and process it (if only a few orders are there)
But if the already created orders are many then from the FI Area you need to go for development ( we also faced this issue as profit center not maintained in MMRs and hence accounting got hit and there were tons of billing docs and our FI consultant made some development to open it and solve it) FI consultant should be able to do this for already created orders
Instead of making Profit centre field as mandatory field in the sales order better make it a mandatory entry in MMR
Regards
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. -
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 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 -
Minimum mandatry fields for Creating Sales Order
Hi All,
I am going to create sales order using <b>BAPI_SALESORDER_CREATEFROMDAT2</b> in the web dynpro for java,
I want to use minimum fields, so, what are the <b>minimum</b> fields for creating sales order ?.
if u have any documents or links realted to this please send me.
please help me out.
Thanks & regards,
Iqbal Ahmadchk it
EXPORTING
SALESDOCUMENTIN =
ORDER_HEADER_IN = l_order_header
ORDER_HEADER_INX =
SENDER =
BINARY_RELATIONSHIPTYPE =
INT_NUMBER_ASSIGNMENT =
BEHAVE_WHEN_ERROR =
LOGIC_SWITCH =
TESTRUN =
CONVERT = ' '
IMPORTING
SALESDOCUMENT = l_salesdocument
TABLES
RETURN = it_return
ORDER_ITEMS_IN = it_order_items
ORDER_ITEMS_INX =
ORDER_PARTNERS = it_order_partners
ORDER_SCHEDULES_IN = it_order_schdl
ORDER_SCHEDULES_INX =
ORDER_CONDITIONS_IN = it_order_conditions
ORDER_CONDITIONS_INX =
ORDER_CFGS_REF =
ORDER_CFGS_INST =
ORDER_CFGS_PART_OF =
ORDER_CFGS_VALUE =
ORDER_CFGS_BLOB =
ORDER_CFGS_VK =
ORDER_CFGS_REFINST =
ORDER_CCARD =
ORDER_TEXT =
ORDER_KEYS =
EXTENSIONIN =
PARTNERADDRESSES
How to create sales order using bapi( test purpose)
Create Sales Order using BAPI
creating sales order using bapi -
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 -
Do we need to specify the mandatory fields in IDOC as 1:Unbound? if its not then how does IDOC differentiate from Mandatory filed to non mandatory field if there has to occur a mapping error incase some mandatory field is missing.
Hi,
There is no need to modify the structure of an IDOC since it is already a standard. The mandatory fields are the fields that are needed (minimum) to be mapped so that the IDOC would post successfully But as for business requirements, you have to consult that with vendors.
Hope this helps, -
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.
Maybe you are looking for
-
EVT_, SM and SMP_ tables in a user schema
I found some tables and indexes in a user schema that this user hasn't created. 15 tables have a prefix EVT_, about 35 start with SM and about 30 have the prefix SMP_ . It seems they are some type of tables created by Oracle. What are they for and ca
-
[Solved]"No Text!" in konqueror menu
Yesterday when I opened up konqueror, I couldn't help but notice all the buttons, the location bar, and some of the menu drop-downs were missing. But in fairness, it gave me a new one that's empty and just says No Text! It's normal in fresh accounts
-
I have looked at everything but I keep seeing an event from early October as the first event in my day view and not my current days event. Any ideas on how I can change this so that it only looks from today forward and not backwards
-
Can u go opteron dual core (165) with a msi diamond mobo for desktop use
is it worth it, ive researched it has more cache than x2 3800+ the opteron 165, whats better for overall performance, gaming, running windows etc..? thanks and i have a neo4 platnium should i upgrade to the diamond sli mobo?
-
JTextField restrict number of characters
Hello, Can anyone tell me how to restrict the number of characters that a JTextField can have? In my username field I want the user to be able to only insert 10 characters, not more. In my password field I want the user to be able to only insert 8 ch