Search found 259 matches

by stjacqd
Fri Jun 21, 2019 11:26 am
Forum: Logistics MM
Topic: How to restrict Slow Moving Stock Report (MC46) by MRP Area?
Replies: 2
Views: 759

Re: How to restrict Slow Moving Stock Report (MC46) by MRP Area?

Even if this post is several years old, the problem still remain. The selection screen of tcode MC46 doesn't take into account the MRP area. By debugging the code the function VERBRAUCH_BCO is called with the parameter TABLES berid_rang = berid_range. Where the berid_range is always empty. The selec...
by stjacqd
Tue May 01, 2018 4:17 pm
Forum: Logistics MM
Topic: MM17 - numeric ZFIELD initialization
Replies: 0
Views: 1168

MM17 - numeric ZFIELD initialization

Hello Gurus I am facing a strange issue with tcode MM17. (MASS CHANGE) A numeric ZFIELD has been added to the MARA table structure. From MM17, (Fields section) we can select the Zfield and perform a mass change on it as far as we are not trying to put 0 as value. If we are adding any value else than...
by stjacqd
Mon Nov 13, 2017 5:22 pm
Forum: ABAP
Topic: FM CO_SD_SETTLEMENT_RULES_UPDATE
Replies: 2
Views: 893

Re: FM CO_SD_SETTLEMENT_RULES_UPDATE

Regardless of the function that doesnèt respond to my need,

Is anyone know how to update Production Order settlement

I need to update the quantity through a customized program.

Regards
stjacqd
by stjacqd
Wed Nov 01, 2017 2:17 pm
Forum: ABAP
Topic: FM CO_SD_SETTLEMENT_RULES_UPDATE
Replies: 2
Views: 893

Re: FM CO_SD_SETTLEMENT_RULES_UPDATE

I have just noticed the function CO_SD_SETTLEMENT_RULES_UPDATE doesn't contain any parameter to pass the table "RESB" where this one contains the components. The function cannot be used to update settlement rules. Or, other functions have to be ran before it. If anyone has an idea on how we can upda...
by stjacqd
Wed Nov 01, 2017 2:03 pm
Forum: ABAP
Topic: FM CO_SD_SETTLEMENT_RULES_UPDATE
Replies: 2
Views: 893

FM CO_SD_SETTLEMENT_RULES_UPDATE

Hello everyone I am trying to update the Production Order settlement values. I found the following function CO_SD_SETTLEMENT_RULES_UPDATE but have no clue how to fill the parameters. Is anyone already used that function? Can we change the settlement quantity with it? If not, which function/BAPI we s...
by stjacqd
Thu Oct 26, 2017 4:43 pm
Forum: ABAP
Topic: IBAPI_ALM_ORDERSRULE_CHANGE update production order settleme
Replies: 0
Views: 1259

IBAPI_ALM_ORDERSRULE_CHANGE update production order settleme

Hello guys I need to update the quantity of the settlement in the production order. Tcode CO02 - Header - Settlement rule I neeed to update the quantity of the items. The IBAPI_ALM_ORDERSRULE_CHANGE should do it but I continuously failing to use it. DATA: ls_COBL TYPE BAPI_ALM_ORDER_COBL, ls_COBL_UP...
by stjacqd
Fri Oct 20, 2017 3:15 pm
Forum: ABAP
Topic: BAPI / FM to update Production order batch field
Replies: 0
Views: 1349

BAPI / FM to update Production order batch field

Hello everyone Some FM are available to update batch in the component level of a production order. CO_XT_COMPONENT_CHANGE CO_XT_ORDER_PREPARE_COMMIT But none of the BAPI and FM seems to have the field "AFPO-CHARG" available to update at the item level. CO_BI_AFPO_UPD doesn't work. It always returnin...
by stjacqd
Wed Oct 11, 2017 10:00 am
Forum: Logistics SD
Topic: Sales Order item Detail Characteristics - UserExit
Replies: 3
Views: 2778

Re: Sales Order item Detail Characteristics - UserExit

Hello Sharpshooter

Than you for your reply.

Can you please develop your suggestion?

I don't understand your approach.

What do you mean by "create reference characteristics pointing to the vbap fields"?

Regards
by stjacqd
Wed Oct 11, 2017 9:55 am
Forum: ABAP
Topic: WORKORDER_UPDATE AT_RELEASE
Replies: 0
Views: 1187

WORKORDER_UPDATE AT_RELEASE

Hello everyone I am looking to implement the BADI WORKORDER_UPDATE method AT_RELEASE. From the method "AT_RELEASE", I need to update some fields of the Production order header and component. The BADI doesn't contain any information related to the component of the production order. How can I change t...
by stjacqd
Wed Sep 13, 2017 7:52 am
Forum: Logistics SD
Topic: Sales Order item Detail Characteristics - UserExit
Replies: 3
Views: 2778

Sales Order item Detail Characteristics - UserExit

Hello everyone I would like to know which, in VA01/VA02, user-exit and internal tables can be used to change the item detail characteristics values before save. I try to find an internal table containing the characteristics values in the MV45AZZ form userexit_save_document_prepare without success. T...
by stjacqd
Tue Aug 29, 2017 8:04 am
Forum: ABAP
Topic: BAPI_SALESORDER_GETDETAILBOS - ordercfgscurefs table
Replies: 0
Views: 1250

BAPI_SALESORDER_GETDETAILBOS - ordercfgscurefs table

Hello everyone When running the FM BAPI_SALESORDER_GETDETAILBOS, the table ordercfgscurefs field CONFIG_ID doesn't start by 000001. When I am running the function and passing the SO number (vbak-vbeln), the itab, field config_id begin with 000003 or any other number. What happen with the 1 and 2? Wh...
by stjacqd
Tue Aug 29, 2017 7:56 am
Forum: ABAP
Topic: BAPI_SALESORDER_CHANGE : Characteristics
Replies: 3
Views: 2382

Re: BAPI_SALESORDER_CHANGE : Characteristics

Again for the benefits of all The problem was related to 2 facts. BAPI_SALESORDER_CHANGE: 1. The field config_id in Itab order_cfgs_ref, order_cfgs_inst and order_cfgs_value most be unique for the posnr. So, be sure to not assign the same config_id to 2 different posnr. 2. The field po_itm_no of ita...
by stjacqd
Thu Aug 24, 2017 10:50 am
Forum: SAPscript/Smartforms
Topic: AdobeForm Print several records on 1 row
Replies: 1
Views: 2482

Re: AdobeForm Print several records on 1 row

For benefits of all

The serial number should be in a flowed western form left to right.
by stjacqd
Thu Aug 24, 2017 10:47 am
Forum: SAPscript/Smartforms
Topic: Adobe dynamic paper size and margin
Replies: 1
Views: 4425

Re: Adobe dynamic paper size and margin

For the benefits of all. To be able to have several paper size and margin in Adobe, you need to create several master pages. One master page per paper size. When calling the adobe form, you just need to add a parameter to idendify which paper size you want to use. From there a little piece of formca...
by stjacqd
Thu Aug 24, 2017 10:44 am
Forum: ABAP
Topic: BAPI_SALESORDER_CHANGE : Characteristics
Replies: 3
Views: 2382

Re: BAPI_SALESORDER_CHANGE : Characteristics

Now another problem occured. When we are creating a new item, the configuration is not copied. I then try to create a new configuration using FM CUXI_SET_SINGLE_CONFIGURATION and CUKO_CONFIGURATION_TO_DB where that has generated the Ibase number to assign to VBAP-CUOBJ. But the FM BAPI_SALESORDER_CH...